Failure [INSTALL_FAILED_INVALID_APK]

后端 未结 30 1664
庸人自扰
庸人自扰 2020-11-27 04:12

When I click to run a project I just created in Android Studio 0.2.10 and select my Android (connected by USB with debug by USB on) I get this error:

Waiting         


        
30条回答
  •  佛祖请我去吃肉
    2020-11-27 04:28

    I got this issue on a project with Dagger and multiple modules. What worked for me (none of the above worked) was to 1) empty the .gradle folder 2) empty the .idea folder 3) In project gradle.properties, mark org.gradle.caching=false 4) Possibly invalidate caches in AS, clean, rebuild

    You may be able to get away with just #3, clean then build.

    EDIT: Lately I've been able to get around this by restarting AS, then doing a clean, then install again.

提交回复
热议问题