Mitchell Day
Mitchell Day

Reputation: 196

IllegalStateExecption Android studio Webview App

I am currently trying to run my app on a AVD and keep getting this error. When i export it and install it on a tablet at work (unsure of API) but i cant get it to work on the AVD and on an old galaxy note 2. This is the error i get from the android monitor. And the galaxy note 2 just says Unfortunatley, Package installer has failed.

Error: java.lang.IllegalStateException: ☃Requested internal only, but not 
enough space


$ adb shell pm uninstall australia.defence.cubic.lisportal
Unknown failure (at android.os.Binder.execTransact(Binder.java:565))
Error while Installing APK

Any help would be great. If you need more info let me know. It is a simple webview app with javascript and domstorage enabled.

    private native final void destroy();

    private static final void sendDeathNotice(DeathRecipient recipient) {
        if (false) Log.v("JavaBinder", "sendDeathNotice to " + recipient);
        try {
            recipient.binderDied();
        }
        catch (RuntimeException exc) {
            Log.w("BinderNative", "Uncaught exception from death notification",
                    exc);
        }
    }
[this is the location of the Binder.java:565]
    final private WeakReference mSelf;
    private long mObject;
    private long mOrgue;
}

Cheers

Upvotes: 2

Views: 3192

Answers (1)

Mitchell Day
Mitchell Day

Reputation: 196

Ok so I figured out once I got developer mode working on my note, apparently the issue was file size, but not the app, the icons I made for it. So I reduced them down from some stupid size to a more reasonable and it works.

Upvotes: 3

Related Questions