vendredi 15 janvier 2021

How to view crash logs with adb logcat ?

 Use the following command, after the crash happens :

adb logcat AndroidRuntime:E *:S

jeudi 14 janvier 2021

How to build an universal APK when using NDK C++ in Android Studio ?

 In the module build.gradle, add the following lines in the android section :

splits {
abi {
enable true
reset()
universalApk true
}
}

Then when you build the APK (even the debug one), it will install on all Android devices.