The app keeps crashing.
BunoCS Posted messages 436 Registration date Status Modérateur Last intervention -
Hello,
I am currently working on a mobile application with my friend using the Android Studio software.
We encountered a problem during testing on my phone; I fill in all the fields on the first page (registration page) and when I click the login button a message appears saying "the app has crashed unexpectedly"
I have tried clearing the cache, restarting the phone, uninstalling the app and reinstalling it..
Can you help us figure out how to fix this error?
1 réponse
Hello,
I tried clearing the cache, restarting the phone, uninstalling the app, and reinstalling it...
So, when in development, it's better to question yourself rather than blame the mobile device ;)
If you look at the logs in the Logcat window of Studio, you'll immediately see your problem.
@+
Buno, Moderator
The urgent is done, the impossible is underway. For miracles, provide for a delay...
Hello,
Thank you for your response. The tests we are currently conducting are from an apk file; the application is not online, it is still local.
Does it need to be online to stop receiving this kind of bug? Because the app is only intended for our clients and will only be available on our website with a password.
You're currently developing the app, right? In that case, you're launching the app from Android Studio, aren't you?
The logs are then visible in the Logcat window of Studio.
Edit: I just (re-read) the duplicate (that I deleted). In fact, when you are provided with an apk for testing, the first reflex should be to ask the developer if there's an issue, not to post on the forum. If the developer can't help you (hum... that would be a bit concerning), then you can post your question with the associated context. Generally, it's the developer who comes to consult us, we speak the same "language";)
For a crash like that, you need to check with your developer regarding potential issues. If they really can't see where it's coming from, tell them to include Crashlytics, which will facilitate crash recovery.