Here is what the studio writes:

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo {com.bignerdtanch. .CrimeListActivity "on path: DexPathList [[zip file" /data/app/com.bignerdtanch.android.criminalintent-1/base.apk"[,nativeLibraryDirectories=[/data/app/com.bignerdtanch.android.criminalintent-1 / lib / x86, / system / lib, / vendor / lib]]

But how it was. The day before yesterday I moved the project folder to another place, but the project was working, I open a studio yesterday, I launch it, the studio itself writes an error that there are not any problems with the installation, try reinstalling, or something like that. But the reinstallation did not help, googled, advised to clear the project and reassemble, did not help, the application was installed, but crashed. I returned the project to its original place and it all worked. Today, again, the same thing, but the project did not touch and was yesterday working

  • In addition to clearing the project and removing the application from the device, you can try InstantRun disable InstantRun in the studio settings - YuriySPb
  • Thank you very much !!)) Earned)) - Sasha Bezgin
  • I wrote this in response - you can mark it "true" by clicking on the check mark to the left of the body of the post) - YuriySPb

1 answer 1

In addition to cleaning the project and removing the application from the device, you can try InstantRun disable InstantRun in the studio settings.

The latter sometimes causes such problems, since The studio does not reassemble the APK every time, but changes its individual parts. As a result, conflicts may arise or the APK may not be complete, i.e. not working.