How to set CPU architecture in APK for Google Play

I have created an android app in DELPHI XE8. If I want to publish it on Google Play and Google, it must be categorized on ARMEABI, ARMEABI-V7A, MIPS and x86 device platforms and DELPHI XE8 (like all previous versions) only supports ARMEABI-V7A architecture.

Don't come to me as a professional publishing app on Google Play that gets installed by your app and someone will tell them that the platform is not supported.

Analysis of the APK installation package generated by DELPHI XE8. I found that it is automatically generated for all the platforms above.

Google on their website ( http://developer.android.com/google/play/filters.html ) recommends solutions using the Android NDK - unfortunately I still couldn't figure out how to do this ...

As another solution, it is recommended to read and edit ANDROID.mk (unfortunately this file does not generate DELPHI XE8).

The question is how to get DELPHI XE8 to compile the APK file for ARMEABI-V7A only?

Anyone have any experience or solution for this problem?

+3


source to share


1 answer


So, I found a solution and it is very simple and simple:

Just in the DELPHI XE8 Project → Deployment menu (section RELEASE CONFIGURATION - ANDROID PLATFORM) uncheck these items:

  • $ (BDS) \ Lib \ Android \ Release \ x86 \
  • $ (BDS) \ Lib \ Android \ Release \ MIPS \
  • $ (BDS) \ Lib \ Android \ Release \ armeabi \

and will check this item



  1. Android \ Release \ (remote path - library \ lib \ armeabi-v7a)

perform application assembly , and then Open .

Google Play now only displays supported devices on its own ARMEABI-V7A platform.

+8


source







All Articles