Quantcast
Channel: Virtualisation
Viewing all articles
Browse latest Browse all 277

mixed (x86,armeabi-v7a) APK

$
0
0

Hi, I'm trying to execute a pure NDK code (no Java at all) build with NDK 10b.

target .SO are located in lib/x86 & lib/armeabi-v7a

my X86 test device (ASUS K010) reports :

ro.product.cpu.abi2 = armeabi-v7a

ro.product.cpu.abi = x86

http://stackoverflow.com/questions/16105791/using-armv7-and-arm-library-in-the-same-android-app

https://cells-source.cs.columbia.edu/plugins/gitiles/platform/ndk/+/android-4.1.2_r2/docs/CPU-ARCH-ABIS.html

as far as I understand, primary abi is x86

launching the app executes armebi-v7a code instead of x86

If I don't include armeabi-v7a folder, it executes x86 code.

Is there something to do to enable "fat APK" (both target cpu .SO) to execute the right version ?

apart having separate APK (which is not very convenient during development) please ?

 


Viewing all articles
Browse latest Browse all 277

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>