Closed ghost closed 2 years ago
I think jadx-gui
does some normalisation on the attribute names because the attribute is actually encoded as name
instead of android-name
in the binary XML. You can use the axmldecoder-printer
binary to confirm this.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="3110600" versionName="3.11.6" package="com.actionlauncher.playstore" platformBuildVersionCode="25" platformBuildVersionName="7.1.1">
<uses-sdk minSdkVersion="16" targetSdkVersion="25"/>
<uses-feature name="android.hardware.telephony" required="false"/>
<uses-feature name="android.hardware.wifi" required="false"/>
<uses-permission name="android.permission.INTERNET"/>
<uses-permission name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission name="android.permission.CALL_PHONE"/>
<uses-permission name="android.permission.SET_WALLPAPER"/>
Other parses like https://github.com/ytsutano/axmldec also confirm the same thing.
I'm gonna close this as a "won't fix" because I think I'd want an accurate representation of the binary format instead of adding in normalisation rules. Let me know if you disagree!
Why the android:name works for other samples?
Other samples had the ns
field of the element set to android
.
It says that parsed
uses-permission
tag have noandroid:name
attribute but I tested the sample with jadx-gui and there all have the attribute.sample: app.zip