Skip to content
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

Version 11.5 does not work on Android 9 #260

Closed
risejs opened this issue Dec 9, 2023 · 19 comments
Closed

Version 11.5 does not work on Android 9 #260

risejs opened this issue Dec 9, 2023 · 19 comments
Labels
bug Something isn't working

Comments

@risejs
Copy link

risejs commented Dec 9, 2023

ABI: armeabi-v7a
Test: LabyrinthOfLegendaryLoot-1.12.love

@MikuAuahDark
Copy link
Collaborator

Could you give more information about what exactly doesn't work?

@risejs
Copy link
Author

risejs commented Dec 10, 2023

Install love-11.5-android.apk

  1. Tap "LÖVE for Android" > Nothing happens (version 11.4 works here)
  2. Tap "LÖVE Loader" > Select "Test.love" (any .love) > Nothing happens
  3. Tap "Test.love" > Select "LÖVE for Android" > Nothing happens (version 11.4 works here)

PS: After installing the apk the folder "/Android/data/org.love2d.android" is not created.

@MikuAuahDark
Copy link
Collaborator

It works as expected in here (using LÖVE Loader)
Screenshot_20231210_174511

@risejs
Copy link
Author

risejs commented Dec 10, 2023

It doesn't work on Android 9 armeabi-v7a.

@MikuAuahDark
Copy link
Collaborator

Could you provide video showing how you atempted to launch the game? If privacy is a concern, feel free to DM me in Discord (please don't send friend request) by joining the LOVE Discord first.

@risejs
Copy link
Author

risejs commented Dec 10, 2023

adb logcat --buffer=crash
fatal_exception_main

@MikuAuahDark
Copy link
Collaborator

That explains everything. I think it's related to #258. Can you try the GitHub-compiled binaries from a81931b? You need to uninstall existing app first.

@risejs
Copy link
Author

risejs commented Dec 10, 2023

I can't, only apk.

@MikuAuahDark
Copy link
Collaborator

Uh, yes? Install the love-android-debug.apk in https://github.com/love2d/love-android/actions/runs/7157034022

@risejs
Copy link
Author

risejs commented Dec 10, 2023

No, the same crash.

@MikuAuahDark MikuAuahDark added the bug Something isn't working label Dec 10, 2023
@risejs
Copy link
Author

risejs commented Dec 10, 2023

However, 11.5 works on Android 8 arm64-v8a (Tablet)...

@MikuAuahDark
Copy link
Collaborator

MikuAuahDark commented Dec 10, 2023

That crash seems to be very rare and weird. There's only 1 reported crash in SO: https://stackoverflow.com/q/57922110

Searching over the internet only gives that exact result.

@MikuAuahDark
Copy link
Collaborator

8a3d635 probably solve the issue. Can you try installing love-android-debug.apk in https://github.com/love2d/love-android/actions/runs/7306340688? Again, you need to uninstall existing application first.

@risejs
Copy link
Author

risejs commented Dec 23, 2023

No, the same.

@MikuAuahDark
Copy link
Collaborator

I think I fixed it in d1f74df. Try it in here https://github.com/love2d/love-android/actions/runs/7319055241, same instructions.

@risejs
Copy link
Author

risejs commented Dec 25, 2023

Oh, yeah! It's working. Thank you.

Should I now only use the debug version until the next release?

@MikuAuahDark
Copy link
Collaborator

I plan to release hotfix version soon.

@ydw222333
Copy link

main version have the same crash in Android10.
use "// setIntent(null);" can fix it;
why you still use "setIntent(null);" in main version?
Don't set the intent to null, only set the intent data to null.

@MikuAuahDark
Copy link
Collaborator

MikuAuahDark commented Mar 15, 2024

Do you get the exact same crash in Android 10 with exact stack trace? If not, then please create new issue.

The main branch now correspond to upcoming LOVE 12.0. For LOVE 11 branch, checkout 11.x branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants