JonForShort / android-tools

Android tools built for Android devices.
Apache License 2.0
155 stars 26 forks source link

Add #15

Closed RohitVerma882 closed 3 years ago

RohitVerma882 commented 3 years ago

Can you add .so file? For aidl and aapt2

RohitVerma882 commented 3 years ago

How compile these librarys using termux?

RohitVerma882 commented 3 years ago

Please compile this. https://github.com/RohitVermaOP/aapt2

JonForShort commented 3 years ago

Hi @RohitVermaOP , you can find the aap2 executable for armeabi-v7a at the following locations.

https://github.com/JonForShort/android-tools/blob/master/build/android-9.0.0_r33/aapt2/armeabi-v7a/bin/aapt2 https://github.com/JonForShort/android-tools/blob/master/build/android-9.0.0_r33/aapt2/armeabi-v7a/lib/libaapt2.so

Hope this works for you.

RohitVerma882 commented 3 years ago

aapt2.so not working Screenshot_2021-03-15-15-08-22-62_d55cbd1e27f922836510f4a3bfe3bff1

JonForShort commented 3 years ago

Hi @RohitVermaOP , this might be an incompatibility with the platform you are running on. What version of Android is your device? Is it greater than Android 9+?

RohitVerma882 commented 3 years ago

Android 10

RohitVerma882 commented 3 years ago

Please compile this on .so format https://github.com/RohitVermaOP/aapt2

Please

RohitVerma882 commented 3 years ago

Because bin not executing on Android 9+

JonForShort commented 3 years ago

Thanks @RohitVermaOP , can you double check that you are using the right ABI architecture for your device? If you are running an emulator, you will need to be sure to use the x86 binaries.

https://github.com/JonForShort/android-tools/tree/master/build/android-9.0.0_r33/aapt2/x86/lib

If you are running this on a physical device, then you need to use the ARM ones.

https://github.com/JonForShort/android-tools/tree/master/build/android-9.0.0_r33/aapt2/arm64-v8a/lib64