Single App package for IA and ARM

Single App package for IA and ARM

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

publicaciones de 4 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

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:

APP_ABI := all

or

APP_ABI := armeabi armeabi-v7a x86

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. :-)

Good info, I have been looking into APP_ABI and the article is very useful.

Thanks!

Glad to hear it. Let us know if there's anything else we can do to help. 

Inicie sesión para dejar un comentario.