简体   繁体   中英

Is a signed Android APK-File running on x86- and ARM-Android devices?

Android APK-Files are not binaries but byte-code-files. So is it possible to install the same APK-File on both - on x86-Android-Devices and ARM-Android-Devices? There are some x86-Netbooks with Android installed planned and I wonder if it is possible to run the APK-Files on both kinds of devices?

Best regards,

Tom

是的,这些设备将运行dalvik vm的x86版本,因此您的应用程序将在应用程序本身方面运行良好,如果需要GPS或其他基于手机的类,则可能无法运行。

Actually, Android APK files are really ZIP archives. They contain the XML, art files, Java and binary (native) code. If your app is written entirely in Java then it will work on whatever CPU Android is running on. If you have cpu-specific binary code (eg generated with the NDK), then it will only run on the target cpu. LB

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM