Is there a way to specify processor architecture requirements in an Android manifest?

I use my own library in my Android project, which is compiled in armeabi-v7. My project targets the Android SDK 8. When I try to run it with the phone turned off, the automatic targeting selects the Android 2.2 virtual device (armeabi) instead of 4.03 (armeabi-v7) and tries to install it on it, but that throws a Failed to install apk on device 'emulator!.

I can’t find a way to specify the required processor architecture, which seems strange given that you can specify the Android SDK version, hardware requirements (e.g. hardware keyboard) with <uses-configuration>, many more hardware requirements, and even OpenGL version c <uses-feature>in AndroidManifest.xml.

Is there any way to indicate this?

+5
source share
2 answers

No, there is no way to do this, which is strange, I agree. There is one way to specify the architecture (setting APP_ABI: = armeabi-v7a in Application.mk), but this is taken into account only when creating your own libraries, and not when choosing the appropriate emulator.

0
source

But note that when you publish your application on Google Play, target architectures are treated as market filters, and you can see them on your developer console.

-1
source

All Articles