Android Studio is installing old apk on device

后端 未结 10 1591
忘了有多久
忘了有多久 2020-12-08 10:59

I am developing an Android app using Android Studio (0.89 Build #AI-135.1404660, Built on Sept 3,2014) using both emulator and Nexus 4 device.

I had the same issue w

相关标签:
10条回答
  • 2020-12-08 11:29

    I was also facing this issue and get solution by deleting build folder manually because some time ide cannot be able to delete this. So go to the app folder and find build folder delete this and after clean and build project and run again. projectname->app->build

    0 讨论(0)
  • 2020-12-08 11:30

    The behaviour is erratic. I solved it by reviewing my code.It turned out that there was a resource file that was invalid. Try reverting back to the last working version of your code before the current changes... Probably a known issue that will be/was resolved out of Beta

    0 讨论(0)
  • 2020-12-08 11:33

    You should select "Deploy default APK" option in Run/Debug Configurations. After that Android Studio will upload and install new apk to your emulator/device when you run application.

    0 讨论(0)
  • 2020-12-08 11:40

    I had the same problem. After trying numerous methods that didn't work, I realized that I had accidentally changed an option in my "Run Configuration". Here's exactly what I did to fix the issue.

    1. Run --> Edit Configurations
    2. With your configuration selected on the left panel (mine says "app"), in the General tab on the right panel, there is a section called "Before launch". This section should have an option added called "Gradle-aware Make", but I had accidentally removed it.
    3. I re-added it by pressing the "+", then clicking OK in the popup (leave the input box in the popup blank).
    4. Click apply.

    This fixed the problem immediately. Hope this helps someone!

    0 讨论(0)
  • 2020-12-08 11:41

    I am using android studio for building flutter app, I was facing the same issue untill I did the following:

    1. From Android Studio, go to Tools-Flutter-FlutterClean

    It resolved my problem as of now.

    0 讨论(0)
  • 2020-12-08 11:41

    In android studio. at right side. see gradle option. click it. and then press circular arrows button shown in red square.

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