How to determine which dex compiler (dx/d8) version+flags were used in creating my apk?
$ wget https://github.com/federicoiosue/Omni-Notes/releases/download/6.0.5/6.0.5.apk
$ cat extract_dex_compiler.py
from androguard.misc import AnalyzeAPK
a,d,dx=AnalyzeAPK("6.0.5.apk")
print(a.get_androidversion_code())
$ python3.7 extract_dex_compiler.py > android.xml && sed "s/\\\\n/\n/g" android.xml | grep "version"
Then I get the following details:
b'<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="280" android:versionName="6.0.5" package="it.feio.android.omninotes">
<meta-data android:name="com.google.android.gms.version" android:value="@7F0A000B"/>
So this means that cmdline-tools/build-tools/28.0.0/dx
was used???