Yesterday I slept with my application, and today, when I tried to launch it, it will not start at all. As soon as I try to open it, java.lang.IllegalStateException will fail. I have listed several commits in my code to exclude that it was something that I was doing recently and still. It makes no sense, how can the application stop working overnight? I searched for an error on the Internet and it does not have much useful information. Is this a really weird mistake?
Here's the full stack trace:
E / AndroidRuntime: FATAL EXCEPTION: main java.lang.IllegalStateException: AssetManager completed! at android.os.Parcel.readException (Parcel.java:1439) at android.os.Parcel.readException (Parcel.java:1385) in android.app.ActivityManagerProxy.startActivity (ActivityManagerNative.java:1947) at android.app. Instrumentation.execStartActivity (Instrumentation.java:1419) at android.app.Activity.startActivityForResult (Activity.java:3390) at android.app.Activity.startActivity (Activity.java:3583) in com.android.launcher2.Launcher.startActivity (Launcher.java:2442) on com.android.launcher2.Launcher.startActivitySafely (Launcher.java:2469) in com.android.launcher2.A ppsCustomizePagedView.onClick (AppsCustomizePagedView.javaPoint84) at android.view.View.performClick (View.java:4240) on android.view.View $ PerformClick.run (View.java:17721) on android.os.Handler.handleCallback (Handler.java:730) on android.os.Handler.dispatchMessage (Handler.java:92) on android.os.Looper.loop (Looper.java:137) at android.app.ActivityThread.main (ActivityThread.java: 5136) in java.lang.reflect.Method.invokeNative (native method) in java.lang.reflect.Method.invoke (Method.javaβ25) at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main (ZygoteInit.javahaps53) in dalvik.system.NativeStart.main (own method)
Since I said that this does not look like what I did, I am not sure which code to send. But, given that the application runs here the beginning of the code for the two main classes, which should start over:
applications
public class App extends Application { private static App instance; private static final String TAG = "Starter"; @Override public void onCreate() { super.onCreate(); instance = this;
Splashactivity
public class SplashActivity extends AppCompatActivity { private static final String TAG = "Splash"; private boolean firstTime = true; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);
java android illegalstateexception
Mauricio
source share