Android app crashes on startup on Android L.

  • 10
  • Problem
  • Updated 5 years ago
I know it's only been out for like 7 hours now, but I thought I would let you know that the Android app crashes on startup on Android L Developer Preview.
Photo of Josh Pennington

Josh Pennington

  • 1 Post
  • 0 Reply Likes

Posted 5 years ago

  • 10
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Gotcha, thanks! We'll have it fixed, no doubt.
Photo of Daniel

Daniel

  • 10 Posts
  • 0 Reply Likes
... it has kind of been a while and no fix released.
Photo of David Bonner

David Bonner

  • 10 Posts
  • 0 Reply Likes
I wouldn't expect it to be until L is actually released.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Good timing, just released a fix 10 minutes before you posted this.
Photo of Drew

Drew

  • 18 Posts
  • 0 Reply Likes
I sent in a crash report. The sign in screen comes up fine, but once I've signed in it always crashes.

I knew what I was getting into when I installed a dev preview on my device. If you need any help testing, let me know.
Photo of ojiikun

ojiikun

  • 475 Posts
  • 62 Reply Likes
(http://www.androidpolice.com/2014/06/...) ;)

Annoyingly, GOOG won't yet let devs filter crash reports by the "L" preview release, so tracking this down could take some time until they update their tools.

FWIW, some manual browsing through reports suggests that many of the crashes are actually platform/native crashes, probably due to ART. If you are advanced enough to be running the pre-dev roms, you might take a crack at compiling the app with the pre-dev build tools. All source is located right here:

https://github.com/samuelclay/NewsBlu...
Photo of David Bonner

David Bonner

  • 10 Posts
  • 0 Reply Likes
If it's an ART bug, it's one that wasn't present in the ART preview on KitKat...I was running the NB app there without any issues.

FWIW, I did a quick build against updated tools, and got the same crash. It occurs to me, though, that I didn't change the targetSdkVersion...will try that later.
Photo of Ed Marshall

Ed Marshall

  • 7 Posts
  • 0 Reply Likes
As a followup: I've tried building master with the android-L/API-20 tools, and while it builds successfully, I still get the same crash post-login.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Also, if you're compiling the Android source (which is easy and has two vendorized dependencies you just need to link) you'll get the new dark theme, which will be launching in a week and a half, as I'm out of town all next week.