Tuesday, May 15, 2012

Android Market multiple APK… How about different CPU architectures?


So I thought I could now upload my app using different NDK compiled libraries for targeted CPU architectures but it seems like that's not possible.



Anyone know how to upload to the Android Market different APKs each containing libraries compiled specifically for different CPU architectures?



I haven't tried this and seems like a waist of space, but can we include multiple compiled libraries in one APK?


Source: Tips4all

2 comments:

  1. Please see Multiple APK Support in the Android documentation. This details some of the specifics of releasing multiple APKs of the same product/application.

    As for the NDK specifics, and as already mentioned, you can utilize multiple platforms / ABIs in the APP_ABI value of your Android.mk.

    ReplyDelete
  2. You can declare supports-gl-texture in your AndroidManifest.xml for each separately compiled (and re-packaged) app. This will provide Market filtering, so a single user will only see one version of your app.

    ReplyDelete