Wednesday, August 11, 2010

[android-developers] How does PackageManager detect what architecture APK targets?

Hello everyone,

I'm currently trying to specifically target ARMv7 custom hardware and
I'm facing issues when trying to install the APK. When I try doing
"adb install app.apk" Logcat informs me that :

W/PackageManager( 1062): Native ABI mismatch from package file

And does not install the APK. With searching I was able to trace down
that the problem might have something to do with the architectures not
matching on the APK and the platform. Is this it? How does the
PackageManager find out the architecture from the APK file? I'm
guessing it's not trying to execute the binary or anything, it just
checks the files meta data? If so, is there a place in the APK where
this information is located? Or am I completely hitting blank here and
I should look somewhere else?

I appreciate all comments and tips.


Thanks in advance.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate