Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication ?Android

后端 未结 16 2509
忘了有多久
忘了有多久 2020-11-28 02:43

I updated my Android Studio to version 2.0. But I had a problem, I don\'t know why?

The important error info:

Unable to instantiate applicati

16条回答
  •  我在风中等你
    2020-11-28 03:44

    Disable the Instant Run option in Android Studio. Instructions are in the Android Studio Instant Run documentation.

    Instant Run tries to do hot swapping of your code; this causes the application class to be moved.

    To disable Instant Run Go to File --> Settings--> Build,Execution,Deployment -->Instant Run ---> uncheck "Enable instant run"

提交回复
热议问题