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
65
votes
16 answers

Java applet manifest - Allow all Caller-Allowable-Codebase

As of Java 7u45 an applet will display a warning message (even if signed with a trusted cert) if a webpage tries to interact with it via javascript and that page isn't listed in the manifest's Caller-Allowable-Codebase attribute. Release notes about…
William W
  • 1,776
  • 6
  • 21
  • 40
63
votes
4 answers

uses-permission vs permission for android permissions in the manifest.xml file

I noticed that there are two types of permissions in the manifest file, "permission" and "uses-permission" like the two shown below;
Kevik
  • 9,181
  • 19
  • 92
  • 148
60
votes
7 answers

Reference jars inside a jar

I have a jar whose content looks as shown below, Below is my manifest file Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.3 Created-By: 1.7.0_06-b24 (Oracle Corporation) Main-Class: org.sai.com.DerbyDemo Class-Path: derby.jar derbyclient.jar…
srk
  • 4,857
  • 12
  • 65
  • 109
57
votes
6 answers

Not targeting the latest versions of Android

I have a warning when trying to test theme on latest Android SDK Package 4.2. Here is my manifest file:
Edy Developer
  • 585
  • 1
  • 5
  • 5
55
votes
3 answers

manifest.json vs manifest.webmanifest

I'm developing an application using mongodb, Node.JS and PWA. In the first step of developing I don't know what is the difference between manifest.json and manifest.webmanifest.
Mostafa Ghadimi
  • 5,883
  • 8
  • 64
  • 102
52
votes
16 answers

Maven Error: Could not find or load main class

I'm using a Java Maven program and I don't know what to enter as the . I've tried all kinds of things based off of numerous stackoverflow questions, but they are not solving the error. Each time it says: Maven Error: Could not find or…
MLMLTL
  • 1,519
  • 5
  • 21
  • 35
52
votes
4 answers

Can I clear a webapp in Chrome?

I've written a webapp that has a manifest that includes all the javascript and images that it requires. Unfortunately, even when I change the manifest file, it doesn't seem to reload the javascript. Is there a way to delete the webapp completely…
acuth
  • 663
  • 1
  • 6
  • 7
52
votes
9 answers

Executable war file that starts jetty without maven

I'm trying to make an "executable" war file (java -jar myWarFile.war) that will start up a Jetty webserver that hosts the webapp contained in the WAR file I executed. I found a page that described how to make what I'm looking for: However, following…
twilbrand
  • 1,330
  • 5
  • 19
  • 27
52
votes
3 answers

Android / iOS - Custom URI / Protocol Handling

Is there a way to define some kind of handling mechanism in Android and iOS that would allow me to do intercept either of the following: myapp:///events/3/ - or - http://myapp.com/events/3/ I'd like to 'listen' for either the protocol or the host,…
Josh
  • 12,448
  • 10
  • 74
  • 118
51
votes
15 answers

"Manifest: Line: 1, column: 1, Syntax error"

I'm using Vue.js to create a Progressive Web Application (PWA) as a school project. Whenever I host the website with Azure I get "Manifest: Line: 1, column: 1, Syntax error". I don't have this problem on localhost … Chrome DevTools responds with…
Glaxer
  • 633
  • 1
  • 5
  • 8
50
votes
31 answers

No application found for TargetPlatform.android_x86

This's my first flutter App and for some reason the Android launcher icon stopped showing so I was trying to fix that, I did a bunch of things and ended up with this error. flutter doctor shows everything is fine. ios version builds just fine. p.s…
Milad Alakaire
  • 619
  • 1
  • 5
  • 6
48
votes
7 answers

How do I read the manifest file for a webapp running in apache tomcat?

I have a webapp which contains a manifest file, in which I write the current version of my application during an ant build task. The manifest file is created correctly, but when I try to read it in during runtime, I get some strange side-effects. …
Nik Reiman
  • 39,067
  • 29
  • 104
  • 160
46
votes
3 answers

Maven: Packaging dependencies alongside project JAR?

I'd like Maven to package a project alongside its run-time dependencies. I expect it to create a JAR file with the following manifest: ..... Main-Class : com.acme.MainClass Class-Path : lib/dependency1.jar lib/dependency2.jar ..... and create the…
Gili
  • 86,244
  • 97
  • 390
  • 689
46
votes
3 answers

Using attributes from API level beyond minSdkVersion

I am new to Android development and am wondering what happens if you use attributes on XML tags from an API level greater than your minSdkVersion. For example having: And…
Michael Garner
  • 1,042
  • 1
  • 10
  • 19
45
votes
23 answers

android:exported added but still getting error Apps targeting Android 12 and higher are required to specify an explicit value for android:exported

I have added android:exported="true" to my only activity in manifest but still getting below error after updating compile sdk and target sdk version to 31.I also tried rebuilding the project , invalidating cache and restart but that didn't…