开发者

Native ABI mismatch from package

开发者 https://www.devze.com 2023-03-28 14:11 出处:网络
So, I\'m trying to use Android x86 and virtual box to debug my apps. I\'ve successfully deployed a hello world apk to the Android x86 running in virtualbox.

So, I'm trying to use Android x86 and virtual box to debug my apps.

I've successfully deployed a hello world apk to the Android x86 running in virtualbox. (connecting via adb vboxIP:5555

So next I tried to debug my game:

When I do so I get the following messages in logcat

Package has mismatched uid:10044 on disc, 10048 in settings
Native ABI mismatch from package file.

My game incl开发者_JAVA百科udes a amreabi package (box2d)

Any ideas on how to resolve this?


For me this was caused by the Android NDK being built into my application and not in an x86 compatible way. NDK references a specific version of the armeabi stuff. My answer was as simple as removing NDK/JNI because it wasn't being used in the current version. Apparently, it is possible to build with the NDK for the x86 platform: http://developer.android.com/sdk/ndk/index.html (see the revision 6b comment list).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号