--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