iBotPeaches on master
build: cancel duplicate workflo… (compare)
iBotPeaches on concurrency
iBotPeaches on master
Tests / Style for #2815 (#2817)… (compare)
iBotPeaches on 2815-tests
iBotPeaches on concurrency
build: cancel duplicate workflo… (compare)
iBotPeaches on 2815-tests
style: reorg getAttributes (Sty… test: assertion for aapt2 strin… (compare)
iBotPeaches on gh-pages
docs: update changelog for #2815 (compare)
iBotPeaches on master
fix: redesign StyledString deco… (compare)
--no-res
r/
directory from the apk manually and put it into unknown/
inside the decompiled projectunknownFiles
in apktool.ymlres/
Hey there - I'm a software engineer but an an android noob. I have errors with apktool and looking for some help.
After building an APK with apktool I get this error on installation: [INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2]
The steps to reproduce are here: https://stackoverflow.com/questions/69840918/how-to-pull-decompress-sign-build-and-install-apk-file-with-native-libraries
apktool d -r <your apk>
and see if that recompiles and installs successfully?
My friend made an app. I was able to decompile it and when recompiling back to apk, it always shows this weird "resource not found error" https://bpa.st/TYPQ
Same problem, when decompiling a big file, I notice the lib/arch/libres.so (or at least in the apk file I needed to decompile) responsible for the big size. It seems to be a replacement for obb file if I understand it correctly. Exagear (not paid, though no longer avail for purchase and is being worked on and released freely by many developers, not sure about the legality) will complain that it cant find the data needed for which previously needed to download separately as obb. I'll try to backup the data using swift backup and restore it to see if it still complains
2022-05-18 12:51:34,473: recompileApk
2022-05-18 12:51:34,474: recompileApk "java" -jar -Xms1024m -Xmx1024m "/data1/app/onlysdk-pro/only-script/tool/linux/apktool_2.6.1.jar" -v b --use-aapt2 -f "/data1/app/onlysdk-pro/only-script/workspace/game_id-14/14002_2963/decompile" -o "/data1/app/onlysdk-pro/only-script/workspace/game_id-14/14002_2963/output.apk"
2022-05-18 12:51:35,627: *ERROR*
2022-05-18 12:51:35,627: May 18, 2022 12:51:34 PM brut.androlib.Androlib build
INFO: Using Apktool 2.6.1
May 18, 2022 12:51:34 PM brut.androlib.Androlib buildSourcesSmali
INFO: Smaling smali folder into classes.dex...
2022-05-18 12:51:35,627: workspace/game_id-14/14002_2963/decompile/smali/com/nearme/game/sdk/childrenmonitor/DataAcquisitionTool$3.smali[205,4] null
Could not smali file: com/nearme/game/sdk/childrenmonitor/DataAcquisitionTool$3.smali
2022-05-18 12:51:35,627: *
2022-05-18 12:51:35,627: error::"java" -jar -Xms1024m -Xmx1024m "/data1/app/onlysdk-pro/only-script/tool/linux/apktool_2.6.1.jar" -v b --use-aapt2 -f "/data1/app/onlysdk-pro/only-script/workspace/game_id-14/14002_2963/decompile" -o "/data1/app/onlysdk-pro/only-script/workspace/game_id-14/14002_2963/output.apk" !!!exec Fail!!!
2022-05-18 12:51:35,627: recompileApk return