This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
Weird output for platformBuildVersionCode
and platformBuildVersionName
#72
Open
Description
I get the following from get_attributes
of the root element of an AndroidManifest.xml
parsed with this library:
{platformBuildVersionCode: @flags:28, android:versionCode: 10042, android:versionName: 9.17.3.1, android:compileSdkVersion: 28, platformBuildVersionName: @flags:9, android:compileSdkVersionCodename: 9, package: cm.aptoide.pt}
The platformBuildVersionCode: @flags:28
and platformBuildVersionName: @flags:9
appears to be a slight mis-parse? For comparison, here is the output of the same APK file from apktool
(and is matched by JADX):
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:compileSdkVersion="28" android:compileSdkVersionCodename="9" package="cm.aptoide.pt" platformBuildVersionCode="28" platformBuildVersionName="9">
...snip...
Let me know if providing the affected APK helps. FWIW, this isn't an isolated thing and I get the same result from a bunch of APKs downloaded from apkpure.com.
Metadata
Metadata
Assignees
Labels
No labels