INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES on adb install

前端 未结 7 1062
梦毁少年i
梦毁少年i 2020-12-17 07:46

The same Android project is built in debug mode, sometimes with Eclipse, sometimes with ant (on build machine).

If I first install the ant build, and then try to sta

7条回答
  •  一生所求
    2020-12-17 08:24

    Other solution Incremente your version code on build.gralde file of your application

     defaultConfig {
            ...
            versionCode 1
            ...
      }
    
     defaultConfig {
            ...
            versionCode 2
            ...
      }
    

    Sync Now

    Build clean Project

    Run your application

提交回复
热议问题