-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support arm64-v8a - INSTALL_FAILED_NO_MATCHING_ABIS #1019
Comments
Hmm, I haven't run into this issue yet (I have a Google Pixel 4a with a somewhat recent Android). One thing you could try is also changing to a more recent platform than android-28 (e.g. the default config looks like this currently: If sokol_gfx.h fails with an undefined GL type, it looks like it's skipping the include here (maybe SOKOL_GLES3 is not defined?): Lines 4351 to 4355 in 7f7cd64
|
PS: I actually tried the following which worked on my phone: In the sokol-samples repository, change this line to ...then in the sokol-samples root directory (with your Android phone connected):
I think compilation failed because you changed the 'raw' config file in the fips directory, not the project-specific build configs files in the sokol-samples project. |
I was able to try those steps today and it worked - thank you for all the pointers! My fault for not reading far enough into how fips works. I have enough to iterate on now. Thanks again! |
Good to know, I wonder if it's time to generally switch to 64-bit ARM in the default fips build configs and fade out 32-bit support. |
Hi, relative newbie WRT android development so apologies in advance if I'm missing something obvious.
I've successfully built and run sokol-samples/triangle-glfw for linux-make-debug
I can also build sokol-samples/triangle-sapp for sapp-android-make-debug, but adb install fails:
adb: failed to install ./sapp-android-make-debug/sapp/triangle-sapp.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
I believe this is because only 32bit armeabi-v7a objects are generated, and my phone (pixel8) is arm64-v8a:
I did try setting
ANDROID_ABI: arm64-v8a
inconfigs/android-make-debug.yml
and this did not work -GLuint
was undefined insokol_gfx.h
and I haven't yet looked further into why.The text was updated successfully, but these errors were encountered: