Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

app crashes on login #7

Closed
Spagett1 opened this issue Nov 27, 2021 · 15 comments
Closed

app crashes on login #7

Spagett1 opened this issue Nov 27, 2021 · 15 comments

Comments

@Spagett1
Copy link

Hi, I've installed the latest apk however once I press the login button after entering my email and password. I'm not sure how to get debug info on android so if there is any info you need you might need to point me towards how to get it.

I'm running lineageos 18 (android 11).

@X1nto
Copy link
Member

X1nto commented Nov 27, 2021

Which version of the app are you using, Fosscord or Normal?

@Spagett1
Copy link
Author

The issue happens on both versions of the app.

@X1nto
Copy link
Member

X1nto commented Nov 27, 2021

In that case, I need you to collect logs.

  1. Enable USB debugging on your device and connect it to your PC
  2. Download the Android Platform Tools and unzip it somewhere, then right-click and open CMD/Window Terminal/Powershell from there.
  3. type adb.exe logcat -c
  4. [Reproduce the crash on device]
  5. type adb.exe logcat > logcat.txt
  6. Terminate the terminal/cmd/powershell oparation
  7. A logcat.txt file should appear in the same folder where platform tools was unzipped, send that logcat.txt here.

@Spagett1
Copy link
Author

I'll have to do it tomorrow cause its getting a bit late. I assume the steps will be the same on Linux (other than installing adb)

@X1nto
Copy link
Member

X1nto commented Nov 27, 2021

I'll have to do it tomorrow cause its getting a bit late. I assume the steps will be the same on Linux (other than installing adb)

On Linux, you can use Pacman or yay (for Arch) and apt (for Debian) to get the platform-tools package instead of using the website. Otherwise yeah it's pretty much the same (except you don't have to append .exe at the end of adb, obviously)

@Spagett1
Copy link
Author

logcat.txt
sorry, took me a little while, here is the output from logcat

@X1nto
Copy link
Member

X1nto commented Nov 29, 2021

I'll have to do it tomorrow cause its getting a bit late. I assume the steps will be the same on Linux (other than installing adb)

Hmm, it fails to connect to the gateway with "Connection Refused", but it works fine on my phone. Do you have a firewall set-up by any chance? You might be blocking connection to the Discord servers

@Spagett1
Copy link
Author

I do have a firewall set up however I did allow the app through it (and even tried with the firewall fully disabled)

@X1nto
Copy link
Member

X1nto commented Nov 30, 2021

I'll take a look when I finish implementing the member fetch

@TheArcaneBrony
Copy link

just saying, the .exe isnt needed on windows either.

@X1nto
Copy link
Member

X1nto commented Jan 10, 2022

Tried many different times, couldn't reproduce the issue at all. I'm guessing it really is your internet. Could you try with different DNS maybe? Either google's or firebase's DNS should work fine

@Spagett1
Copy link
Author

ive actually gotten rid of my android phone now lol (moved to a pinephone), it probably was just the internet or something though.

@X1nto
Copy link
Member

X1nto commented Jan 11, 2022

ive actually gotten rid of my android phone now lol (moved to a pinephone), it probably was just the internet or something though.

Oh lol, I guess I can close this issue now. If anyone has the same problem, please create a new issue instead of commenting on this one.

@X1nto X1nto closed this as completed Jan 11, 2022
@X1nto X1nto mentioned this issue Apr 30, 2022
@CaptiveNeko03
Copy link

I also have the same problem, I have neither a firewall nor a modified ROM, I have the mobile as I bought it, but the login button does not work

@nyakowint
Copy link
Contributor

nyakowint commented Jun 9, 2022

no logs?
If anyone has the same issue, please create a new issue and include a logcat instead of adding to this one, ty

@MateriiApps MateriiApps locked as resolved and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants