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

Game Crashes Constantly on Huawei (Android) #1048

Closed
3xpFlameS opened this issue Dec 25, 2020 · 16 comments
Closed

Game Crashes Constantly on Huawei (Android) #1048

3xpFlameS opened this issue Dec 25, 2020 · 16 comments

Comments

@3xpFlameS
Copy link

Hi team,
My version 0.23 constantly crashes.
Most often this happens during classic mode against any opponent. But it also happens in shop and Co at some times.
Playing on Huawei P30 Pro with Android 10

On first start I got the message: "this app has been developed for an older built, it might not function properly."

Do you know a fix for the crashing?

@Vitty85
Copy link
Member

Vitty85 commented Dec 25, 2020

Hi,

I'm currently playing on Samsung A8 running Android 9 without any problem, i have no idea what's wrong with Android 10 since i don't have a device with that firmware at the moment.

Actually I'm not sure i can recompile the APK with a newer SDK without loosing retro-compatibility... I will take a look but since i cannot make any test on my own i cannot promise anything, i'm sorry.

See you.

@Vitty85
Copy link
Member

Vitty85 commented Dec 26, 2020

Hi team,
My version 0.23 constantly crashes.
Most often this happens during classic mode against any opponent. But it also happens in shop and Co at some times.
Playing on Huawei P30 Pro with Android 10

On first start I got the message: "this app has been developed for an older built, it might not function properly."

Do you know a fix for the crashing?

Hi,

I need some other infos if it's possibile:

  1. Are you using a custom theme with custom audio files?
  2. Are you using some specific decks or cards or it's crashing independently?

Thanks, see you.

@Vitty85
Copy link
Member

Vitty85 commented Dec 26, 2020

Try to mute sound both for music and effect, i'm guessing it can depends on that, maybe a memory failure on some samples.

@Vitty85
Copy link
Member

Vitty85 commented Dec 26, 2020

I recompiled the APK with latest SDK and NDK and i tested with a Samsung S10 with Android 10 (i had luck to use my friend's one).

I could be able to play for more than 1 hour without crashes, i'm not sure it solved 100% but at least it's not crashing in short time.

I played with sound too, but i guess without sounds the game can continue longer, probably there is some issue on memory allocation of SDL in Android 10, i don't know exactly.

You can download the new APK from same link in GitHub release, let me know if it's working better on your phone too.

See you soon.

@3xpFlameS
Copy link
Author

Alright thank you I will test it.
Fi, I played with different cards but music wasn't muted. So I will do now and let you know

@3xpFlameS
Copy link
Author

OK now I cannot start the game anymore. It gives the attached error msg.
It did not ask for any permissions when starting the app.
Screenshot_20201227_084653_net wagic app

@3xpFlameS
Copy link
Author

OK that one I solved. I needed to click on the storage location in the first screen (SD card) even though it was marked

@3xpFlameS
Copy link
Author

New issue... I don't have any cards to play. I tried with standard deck and with a newly created one. They do not show
Screenshot_20201227_092755_net wagic app
Uploading Screenshot_20201227_093215_net.wagic.app.jpg…

@Vitty85
Copy link
Member

Vitty85 commented Dec 27, 2020 via email

@3xpFlameS
Copy link
Author

That worked perfectly thanks!

@Vitty85
Copy link
Member

Vitty85 commented Dec 27, 2020

Nice, so I close the issue now, see you soon.

@Vitty85 Vitty85 closed this as completed Dec 27, 2020
@3xpFlameS
Copy link
Author

So I now tested it a few days. Unfortunately it still crashes in classic mode very frequently. Other than the first match I could not battle any other rivals as at one point in the game it always crashes...

@Vitty85
Copy link
Member

Vitty85 commented Dec 30, 2020 via email

@3xpFlameS
Copy link
Author

Uploading Screenshot_20210102_210433_net.wagic.app.jpg…
Screenshot_20210102_210417_net wagic app
Screenshot_20210102_210422_net wagic app
Screenshot_20210102_210428_net wagic app

@3xpFlameS
Copy link
Author

Does that suffice?

@Vitty85
Copy link
Member

Vitty85 commented Jan 2, 2021 via email

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

No branches or pull requests

2 participants