Checking the AndroidManifest.xml File

I am working on a Java SE applicaiton that parses Android applications.

Is there any schema / DTD that can be used to validate AndroidManifest.xml? If namespace definitions are found, for example:

xmlns:android="http://schemas.android.com/apk/res/android" 

But schemas.android.com does not allow the acutal host, so there is no schema file: - (

Note. I do not check on Android as a platform.

+1
java android xml validation
source share
2 answers

There are no DTD / schemas for Android XML . You must rely on other tools that can perform validation, for example, as Naresh explains.

Also see "Where are the schemas for XML files in an Android project?"

+1
source share

try the aapt tool that comes with android-sdk. you can execute

icon capture command to find out android manifest xml details from android apk file

+2
source share

All Articles