Installation did not succeed.

The application could not be installed:INSTALL_FAILED_OLDER SDK

The application's minSdkVersion is newer than the device API level.

安装没有成功。

无法安装应用程序:安装失败

应用程序的版本比设备API级别更新。

修改gradle

android {

compileSdkVersion 29
buildToolsVersion "29.0.3"

defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

 

 

 

 在Android Studio中添加com.android.support:design的支持

(2条消息) 在Android Studio中添加com.android.support:design的支持_ericbars的博客-CSDN博客_com.android.support:design

 

按照上面还是报错

(2条消息) Version 28 (intended for Android Pie and below) is the last version of the legacy support library_谷哥的小弟的博客-CSDN博客

 

这样就好了

 

 

Android Studio数据传递(一)

 

 

 

posted on 2022-04-29 14:51  跳支舞吗  阅读(197)  评论(0)    收藏  举报