Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to run APK with Android Emulators > then Android 11? #497

Open
ctoabidmaqbool1 opened this issue Dec 21, 2023 · 2 comments
Open

How to run APK with Android Emulators > then Android 11? #497

ctoabidmaqbool1 opened this issue Dec 21, 2023 · 2 comments

Comments

@ctoabidmaqbool1
Copy link

Hi, Devs! Android AVD, Emulators's API Level > 30 comes with only ABI Level e.g. x86_64 or arm64_v8a.

image

Now emulators build upon arm64_v8a can't be run on x64 bit windows at all.

So i think, currently there is no way to currently run APK build with gluonfx-maven-plugin with emulators greter then Android 11?

When trying to import HelloFX.apk made with gluonfx-maven-plugin it's shows following error:
image

I try to open Apk file with WinRar it's looks like it's build for only arm64_v8a architecture.

image

Note: It's not possible for every developer to arrange physical Android device for testing! How to solve the issue?

@ctoabidmaqbool1
Copy link
Author

ctoabidmaqbool1 commented Dec 22, 2023

@johanvos @jperedadnr
Is it currently not possible to supports more Addroid architectures / ABI Level e.g. x86_64, x86 or armeabi-v7a (fat APK build). Currently only support is for arm64-v8a!
https://developer.android.com/ndk/guides/abis#gradle
https://developer.android.com/google/play/requirements/64-bit#build-with-64-bit

@ctoabidmaqbool1
Copy link
Author

ctoabidmaqbool1 commented Feb 20, 2024

As mentioned here: Android 9 and Android 11 system images support ARM abi levels:

https://developer.android.com/studio/releases/emulator#30-0-0
https://developer.android.com/studio/releases/emulator#support_for_arm_binaries_on_android_9_and_11_system_images

arm64-v8a, armeabi-v7a

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant