Android Studio: Application Installation Failed

前端 未结 29 2114
清歌不尽
清歌不尽 2020-11-28 22:42

I\'ve been trying to learn how to use Android Studio but when I attempted to run one of the sample programs I get this error message:

Installation fai

29条回答
  •  情深已故
    2020-11-28 23:14

    This happens when your app is using any library and there is also an app installed in your device that is using the same library. Go to gradle and type:

    android{
    defaultConfig.applicationId="your package"
    }
    

    this will resolve your problem.

提交回复
热议问题