Quantcast
Channel: Android deployed App unable to instantiate application - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Android deployed App unable to instantiate application

$
0
0

I have this strange error I do not know how to resolve. I test my App deployed straight to my phone and it's working ok. But now testing downloading from Play Store the app crash as startup and the error is this one:

java.lang.RuntimeException: Unable to instantiate application com.bookit.android.BookItApp: java.lang.ClassNotFoundException: com.bookit.android.BookItApp

I have this class:

package com.bookit.android;

public class BookItApp extends Application {...}

My manifest I think it's ok defining the App class:

< application android:name="BookItApp"

Or Maybe should I define:

android:name = "com.bookit.android.BookItApp"

UPDATE: this is my proguard-project.txt

I don't know if it's ok.

-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}

-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}

-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}

-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images