[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.
I purchased an ASUS ZenFone 2 ZE550ML with an Intel quad core Z3560 64-bit processor to be able to test my x86_64 build. Guess what? It only loads the x86 version of my library (I hope I'm doing something wrong).
When trying to force load the x86_64 version of my JNI library this error is displayed:
dlopen("/data/app/com.mycompany.myapp/lib/x86/libjni-x86_64.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.mycompany.myapp/lib/x86/libjni-x86_64.so" is 64-bit instead of 32-bit. This must mean it can only use 32-bit libraries.
So although the device has a 64-bit processor, ASUS hasn't made it possible to run in true 64-bit mode. This is the same problem as with the Samsung Galaxy Grand Prime SM-G530FZ. I guess I was lucky when I purchased my Nexus 9 device, it has an ARM 64-bit processor and loads my arm64-v8a library fine.
How can we make sure (before we purchase it) that an Android 64-bit device really runs in 64-bit mode and not only in 32-bit mode?
Does anyone know about a “true” Intel x86_64 Android device?
I purchased an ASUS ZenFone 2 ZE550ML with a quad core Intel 64-bit processor to be able to test my x86_64 build. Guess what? It only loads the x86 version of my library (I hope I'm doing something wrong).
When trying to force load the x86_64 version of my JNI lib this error is displayed:
dlopen("/data/app/com.mycompany.myapp/lib/x86/libjni-x86_64.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.mycompany.myapp/lib/x86/libjni-x86_64.so" is 64-bit instead of 32-bit.
So although the device has a 64-bit processor, ASUS hasn't made it possible to run in true 64-bit mode. Of course ASUS doesn't tell a customer that this is the case, same as with the Samsung Galaxy Grand Prime SM-G530FZ. Guess I was lucky when I purchased my Nexus 9 device, it has a ARM 64-bit processor and loads my arm64-v8a fine.
Submit me
--