Closed timscriptov closed 1 year ago
New version Aide used libaapt.so and libaidl.so
Hi @TimScriptov , yes I can build these into shared libraries for you. Is this for Android 9 or Android 11?
@JonForShort please wait, I try libaapt.so v9
Error: aapt: aapt exited with code 132
Can you share the error that you got? Is exit code 132
that came from aapt or was this something else?
@JonForShort Error in aapt. For normal operation of libaapt.so on an android device, you need to comment out the code in the ≈ Main.cpp and others, all calls are Sustem.exit(0-3).
There will be time to independently assemble aapt based on android 10 More info: https://github.com/t-arn/java-ide-droid/blob/master/jni/aapt/README.TXT
I tried running libaapt2.so (arm64-v8a) using System.load(/data/data/packageName/files/x86/lib/libaapt2.so)
on x86 API 30 AVD Emulator. I get the following Error in logs:
java.lang.UnsatisfiedLinkError: dlopen failed: library "libprotobuf-cpp-lite.so" not found: needed by /data/data/packageName/files/x86/lib/libaapt2.so in namespace classloader-namespace
at java.lang.Runtime.load0(Runtime.java:939)
at java.lang.System.load(System.java:1628)
Maybe this is related to it. Any idea on how can I run it inside an app? @JonForShort @TimScriptov
Thanks
UPDATE: Resolved Here
Hello!
Do you have plans to build a library into a .so file?