brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.55k stars 2.27k forks source link

[Android] Crash on startup #28712

Open Alerymin opened 1 year ago

Alerymin commented 1 year ago

Description

The app crashes on startup

Steps to reproduce

  1. Get the arm64 apk from the releases page
  2. Install the apk
  3. Start the app
  4. The app instantly crashes

Actual result

The app crashes on startup

Expected result

The app should start normally showing the onbording

Issue reproduces how often

Everytime

Version/Channel Information:

Device details

Brave version

Nightly v1.50.58 Beta v1.49.108 Release v1.48.164

Additional information

The app downloaded from Play Store works perfectly

wrkerr commented 1 year ago

This is still an active problem with all ARM64 apks on the Brave Browser GitHub, including recent releases, and it appears to affect all Pixel 7 and 7 Pro devices, even on stock Android 13.

The Play Store builds are working fine, but none of the github ones do.

I suspect it has to do with the build architecture. I know Google dropped all 32bit legacy support, starting with the Pixel 7. Perhaps the ARM64 apks are still using some 32bit pointers? Not sure.

The only workaround at the moment is to use the builds published on the Google Play Store.

petcat30 commented 1 year ago

Still an issue, Pixel 7 Pro here. Would love to use Obtainium for updates instead of Aurora/Play Store.

squalus commented 1 year ago

Still a problem. Binaries from GitHub releases crash on launch on the Pixel 7a.

petcat30 commented 1 year ago

I decided to retry downloading Brave just now via Obtainium. I chose the "Bravearm64Universal.apk" APK and it launched successfully. Pixel 7 Pro, GOS. Seems to be fixed? I can't remember what APK I tried when I first commented but the one I mentioned is working for me. Edit: Release v1.56.20

phoropter commented 9 months ago

Neither Bravearm64Universal.apk nor BraveMonoarm64.apk work for me on a Pixel 8 Pro when installed via obtanium on GrapheneOS. If installed via the Aurora Store, it launches fine.