shogo82148 / androidbinary

Android binary file parser written in golang
MIT License
240 stars 79 forks source link

Remove the 'android' namespace from attributes in AndroidManifest.xml #83

Closed redoc23 closed 8 months ago

redoc23 commented 8 months ago

Some apk files contain AndroidManifest.xml, in which the namespace with value http://schemas.android.com/apk/res/android undefined, despite the fact that Android Studio does not allow you to do this. Then the manifest is incorrectly parsed. Therefore, the namespace requirement has been removed.

redoc23 commented 8 months ago

In general, the android Studio documentation does not say that it is forbidden to create xml files without a namespace: https://developer.android.com/guide/topics/manifest/manifest-intro

However, it is recommended to add a namespace to the attributes of xml tags https://developer.android.com/guide/topics/manifest/manifest-intro#filec