1

I am working on a Java SE applicaiton that analyzes android applications.

Is there any schema/DTD that can be used to verify an AndroidManifest.xml? If found namespace definitions like:

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

But schemas.android.com does not resolve to an acutal host so no schema file there :-(

Note: I do not want to do the validation on Android as a platform.

er4z0r
  • 4,711
  • 8
  • 42
  • 62
  • possible duplicate of [Where are the schemas for XML files on an Android project?](http://stackoverflow.com/questions/605325/where-are-the-schemas-for-xml-files-on-an-android-project) – theomega Apr 20 '12 at 09:14

2 Answers2

2

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

aapt badge command to figure out details of android manifest xml from Android apk file

Naresh
  • 1,336
  • 9
  • 14
1

There are no DTD/schemas for Android XML, you have to relly on other tools which can do the validation, for example like Naresh explains.

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

Community
  • 1
  • 1
theomega
  • 31,591
  • 21
  • 89
  • 127