我有一个运行Android OS的ViewSonic Tablet Intel Atom处理器。我已经使用Android SDk创建了helloWorld应用程序,可以在平板电脑上运行,但是当我也尝试使用具有JNI界面的实际应用程序时,应用程序安装失败,并显示错误消息“未安装应用程序”。
有人可以指导我如何安装(或编译)我的应用程序(包括JNI层),以便它可以在我的Android平板电脑上运行。
我需要使用android-x86 NDK编译我的JNI库还是正常的NDK很好?
-问候,
最佳答案
当前版本的NDK不支持x86
The latest release of the NDK supports these ARM instruction sets:
- ARMv5TE (including Thumb-1 instructions)
- ARMv7-A (including Thumb-2 and VFPv3-D16 instructions, with optional support for NEON/VFPv3-D32 instructions)
Future releases of the NDK will also support:
- x86 instructions (see CPU-ARCH-ABIS.HTML for more information)
https://stackoverflow.com/questions/6430801/