Android Studio does not install latest application on device

后端 未结 8 2041
后悔当初
后悔当初 2020-12-13 09:12

I\'m following some tutorials about building apps in Android Studio, but for some reason it\'s not launching/installing the latest version of my app when I click \'run\'. I

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 09:32

    Android Studio thinks that there are no changes and doesn't install the new APK. A workaround is to disable the "Skip installation if APK has not changed" option in Run > Edit Configurations >Android Application > app >Miscellaneous . Then uncheck "Skip installation if APK has not changed".

    Another problem like this is instant Run you can manage it by :- Just go to "File -> Settings -> Build, Execution, Deployement -> Instant Run" and just disable it. With this Android Studio builds from scratch each time but it's better than not building it right.

提交回复
热议问题