- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you provide any information or best known methods for combining an IA version and an ARM version of the same application that are currently built as 2 separate apps into a single package that can be deployed in Google Play as one app and run correctly on both architectures?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm assuming you're talking about an app that uses some "native" code, like C++, through JNI and the Android NDK, where you compile architecture-specific binaries. If you're talking about a Java/Dalvik app, there's nothing special you need to do to get it to run on both IA and ARM - the Dalvik VM takes care of that for you.
For NDK apps, you can specify which architectures you want to support in the application.mk file, with the "APP_ABI=" parameter. You can specify:
[cpp]APP_ABI := all[/cpp]
or
[cpp]APP_ABI := armeabi armeabi-v7a x86[/cpp]
You can find more detail in this article about creating and porting NDK apps for IA, specifically the last section, "Using x86 NDK toolset to port existing NDK Apps to IA based devices".
Let us know if that didn't answer your question, or you need more help. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good info, I have been looking into APP_ABI and the article is very useful.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Glad to hear it. Let us know if there's anything else we can do to help.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page