An SO User
An SO User

Reputation: 24998

App crashes after making a signed APK?

I have an app that runs absolutely fine when I build it using the debug keystore. For the first time, I made a signed APK for release on Google PlayStore. I transferred the signed apk to my phone via the USB cable, installed the app and now when I try to run it, it crashes. It crashes right when I try to open it.

I have crash reporting enabled via Crashlytics and that doesn't report any new crashes either.

When I build it from Eclipse and run it, it all runs fine.

Where do I look for the problem?

Logcat when the app crashes:

07-16 01:23:28.200: E/ActivityThread(28536): Failed to find provider info for com.facebook.wakizashi.provider.MessagesForegroundProvider
07-16 01:23:28.200: E/ActivityThread(28536): Failed to find provider info for com.facebook.katana.provider.MessagesForegroundProvider

Upvotes: 1

Views: 3083

Answers (2)

Dmide
Dmide

Reputation: 6462

I assume you made your signed apk with eclipse? You've probably used proguard unintentionally. Try to make it again but pay attention to checkboxes.

Upvotes: 0

An SO User
An SO User

Reputation: 24998

The real issue was that ProGuard could not find certain annotations for Parse library. I had to add the following line to get it to work:

-keepattributes *Annotation*

Upvotes: 2

Related Questions