yannickpulver / onetime

An Android app that plays a random Jazz songs from Spotify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on open of app.

panmona opened this issue · comments

I wanted to try out your very nice looking app and installed it with the apk from the release section but when I try to open it, it crashes immediately.
Here's the logcat (filtered to only include log messages with "me.yanu.onetime"):

02-24 17:08:05.097 1730 2180 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=me.yanu.onetime/.MainActivity bnds=[540,856][716,1115] (has extras)} from uid 10105 pid 2807 on display 0

02-24 17:08:05.158 1730 12890 I ActivityManager: Start proc 32227:me.yanu.onetime/u0a356 for activity me.yanu.onetime/.MainActivity

02-24 17:08:05.205 32227 32227 E AndroidRuntime: Process: me.yanu.onetime, PID: 32227

02-24 17:08:05.205 32227 32227 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{me.yanu.onetime/me.yanu.onetime.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "me.yanu.onetime.MainActivity" on path: DexPathList[[zip file "/data/app/me.yanu.onetime-1/base.apk"],nativeLibraryDirectories=[/data/app/me.yanu.onetime-1/lib/arm64, /data/app/me.yanu.onetime-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

02-24 17:08:05.205 32227 32227 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "me.yanu.onetime.MainActivity" on path: DexPathList[[zip file "/data/app/me.yanu.onetime-1/base.apk"],nativeLibraryDirectories=[/data/app/me.yanu.onetime-1/lib/arm64, /data/app/me.yanu.onetime-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]

02-24 17:08:05.210 1730 2606 W ActivityManager: Force finishing activity me.yanu.onetime/.MainActivity

02-24 17:08:05.224 1730 2730 I ActivityManager: Process me.yanu.onetime (pid 32227) has died

log.txt

@maracuja-juice Thanks for the issue! Have a look at it again, I pushed a new release regarding to the Spotify API change that now requires an access token (which wasn't the case when I first wrote the app). 🎉Release v1.1

@yannickpulver Cool! The app works now and it's awesome 🎉😃