【发布时间】:2019-03-28 10:40:29
【问题描述】:
我刚刚在 Android Studio 3.2.1 中导入了一个项目 并同步成功。导入的项目正在使用
android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.4"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
现在我根据 28 更改了版本
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 2
versionName "2.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
所以我已经在我的智能手机中安装了应用程序。 当我尝试安装其给出的消息“包签名与先前安装的版本不匹配”时。最重要的是我无法卸载应用程序,我只需要更新它。我应该怎么做才能使其正常工作?
【问题讨论】:
-
你必须先卸载之前安装的版本。
-
And most important I cannot uninstall the application, I need to only update it你必须卸载它,否则将无法安装新的应用程序。 -
从
play store或其他计算机安装以前的应用程序的位置?
标签: java android android-studio-3.2