Application Installation Failed in Android Studio

后端 未结 30 2279
情书的邮戳
情书的邮戳 2020-11-28 02:02

Yesterday my app was running perfect from Android Studio but today when I started working on my app and running it i am getting error message continuously

相关标签:
30条回答
  • 2020-11-28 02:12

    I found the solution go to

    settings>build,execute,deployment>instant run>Enable instant run to hot swap code /resource change on deploy(unchecked this option)
    

    This will work on 3.4 android studio too. thanks

    0 讨论(0)
  • 2020-11-28 02:13

    I had the same issue in MIUI. Enabling OEM unlocking worked for me without disabling MIUI optimization.

    Below is a screenshot of my Redmi 3s prime developer options setting:

    0 讨论(0)
  • 2020-11-28 02:13

    Change your applicationId in the android/app/build.gradle file.

    For example:

    // Change this
    applicationId "com.example.myAndroidApp"
    //
    // to this
    applicationId "com.example.somethingElse"
    

    Then Sync your gradle then you can able to install your app, if the previous applicationId is your production id the again change it the previous one now the device will allow to install the app.

    Hope this may help you....

    0 讨论(0)
  • 2020-11-28 02:15

    Faced same issues on MIUI phone resolved by making MIUI account and enable install by USB.

    0 讨论(0)
  • 2020-11-28 02:15

    just close your emulator and run again the problem will be solved happy coding

    0 讨论(0)
  • 2020-11-28 02:17

    Try disabling the Instant run in Settings.

    0 讨论(0)
提交回复
热议问题