Questions tagged [manifest]

A manifest is a file containing metadata about an application, data file or assembly. Generally an ambiguous tag, try and use a more specific one.

On the Java platform, a Manifest file is a specific file contained within a JAR archive. It is used to define extension and package related data. It is a metadata file that contains name-value pairs organized in different sections.

On the Microsoft .NET platform, manifests are XML files that accompany and describe side-by-side assemblies or isolated applications. Manifests uniquely identify the assembly through the assembly's assemblyIdentity element. They contain information used for binding and activation, such as COM classes, interfaces, and type libraries, that has traditionally been stored in the registry. Manifests also specify the files that make up the assembly.

Use to tag questions about the AndroidManifest.xml file which is used to describe the contents of Android apps.

3843 questions
37
votes
27 answers

Didn't find class on path: DexPathList?

My app is working fine when I test in real device using USB in android studio.But When I send the apk to another device and install there,it is not working.App get crashed.I did not find any right way to solve the problem.Errors are given…
Avijit
  • 687
  • 2
  • 8
  • 18
37
votes
1 answer

What is the graft command in Python's MANIFEST.in file?

I found a Python project with a MANIFEST.in file. I can guess at the meaning of much of it, but I am unclear on the meaning of the line: graft tools
Michael Felt
  • 484
  • 1
  • 4
  • 9
37
votes
6 answers

How to force my C# Winforms program run as administrator on any computer?

How to force my C# Winforms program run as administrator on any computer ? and any kind of OS ? I need code solution (any sample code will be excellent) Thanks in advance
Gold
  • 60,526
  • 100
  • 215
  • 315
36
votes
4 answers

Android BroadcastReceiver, auto run service after reboot of device

Hello i am writing an application, which is when the phone reboot, the service will auto start instead of click on the application. Here is my code for BootCompleteReceiver.java package com.example.newbootservice; import…
BangBoat
  • 425
  • 2
  • 5
  • 11
33
votes
3 answers

How to add an assembly manifest to a .NET executable?

How can i add an assembly manifest to my .NET executable? An assembly manifest is is an XML file that is added to a .NET portable executable (PE) with resource type RT_MANIFEST (24). Assembly manifests are used to declare a number of things about…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
33
votes
5 answers

Android: Including multiple Java Packages to Manifest

The app I am developing has many activities organized into seven java packages. Originally I wrote all the coding and stuff for each group of activities in a java package as different projects. Now I'm at the point where I want to put all the…
HappyGeisha
  • 565
  • 1
  • 5
  • 11
32
votes
4 answers

Working with Visual Studios C++ manifest files

I have written some code that makes use of an open source library to do some of the heavy lifting. This work was done in linux, with unit tests and cmake to help with porting it to windows. There is a requirement to have it run on both platforms. I…
Voltaire
  • 1,375
  • 4
  • 17
  • 22
32
votes
7 answers

How to register application class in manifest file?

How to register my application class in my android manifest? I have looked at many tutorials online and still can not get it right. My application class is called Monitor.java. How do I register it in the Manifest file code below?
Kevik
  • 9,181
  • 19
  • 92
  • 148
31
votes
3 answers

Android Manifest's android:exported="false" prevents app from running on device

Good day, In my simple Andorid app which is really just a webview app, I added android:exported="false" in Android Manifest to avoid the Exported service without permissions warning / vulnerability. However when I run it on my device it would give…
Hofuzz
  • 439
  • 1
  • 6
  • 14
31
votes
2 answers

how to handle multiple application classes in android

I am developing a native android application, in which I am trying to use 2 open-source libraries. Problem is both the libraries are using Application Class in their respective libraries. They are registering these classes in their respective source…
user2072344
  • 465
  • 1
  • 5
  • 8
30
votes
8 answers

Manifest Merger fails for appComponentFactory

Using Google's so called Material Design 2.0 requires you to add implementation 'com.google.android.material:material:1.0.0-rc01' in the app Gradle which also includes implementation 'com.android.support:appcompat-v7:28.0.0-rc02' which…
d02d33pak
  • 673
  • 3
  • 8
  • 22
29
votes
9 answers

Android : Change App Label programmatically

How can I change application label to change app name shown from java code in android? I'm refering to: in the Android Manifest Is there any way to update values in…
Soul
  • 590
  • 1
  • 7
  • 17
29
votes
2 answers

What's the usage of tools:targetApi="m"?

I have an app uses clearText between Android-client and server using Retrofit, and in Android 9+ it's not allowed to use clearText. To ignore that I added android:usesCleartextTraffic="true" in Manifest but it warns: …
Mahdi Moqadasi
  • 2,029
  • 4
  • 26
  • 52
29
votes
12 answers

Android manifest attribute not allowed here

I have several manifest errors regarding some attributes . I have not made any changes to the manifest the application generated automatically yet i get several errors. *( I'm using Android Studio 1.2.2)
Iustinian Olaru
  • 1,231
  • 1
  • 13
  • 33
28
votes
9 answers

App manifest references the image which does not have a candidate in the main package error in windows phone 8.1

I am just creating app package and got the following error Need help how to resolve this.
Ghazanfar Khan
  • 3,648
  • 8
  • 44
  • 89