
Failed to find target with hash string ‘android-28’in: C:\Users\Hacker\AppData\Local\Android\Sdk
配置:
apply plugin: 'com.Google.gms.Google-services'androID {compileSdkVersion 28defaultConfig { applicationID "com.example.androID.allo" minSdkVersion 19 targetSdkVersion 28 versionCode 1 versionname "1.0" testInstrumentationRunner "androID.support.test.runner.AndroIDJUnitRunner"}buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' }}}dependencIEs {implementation filetree(dir: 'libs',include: ['*.jar'])implementation 'com.androID.support:appcompat-v7:28.0.0 rc2'implementation 'com.androID.support.constraint:constraint-layout:1.1.0'implementation 'com.Google.firebase:firebase-core:15.0.2'implementation 'com.Google.firebase:firebase-messaging:15.0.2'implementation 'com.androID.support:design:28.0.0 rc2'testImplementation 'junit:junit:4.12'androIDTestImplementation 'com.androID.support.test:runner:1.0.2'androIDTestImplementation 'com.androID.support.test.espresso:espresso-core:3.0.2'}解决方法 阅读 Set Up the Android P SDK. androID {compileSdkVersion 'androID-P'defaultConfig { targetSdkVersion 'P'} For the best development experIEnce with the AndroID P PrevIEw SDK,we
recommend that you install the latest AndroID Studio 3.2 canary.
您应按如下方式安装AndroID P PrevIEw SDK:
>点击工具> SDK Manager.>在SDK平台选项卡中,选择AndroID P预览.>在SDK工具选项卡中,选择AndroID SDK Build-Tools 28-rc2(或更高).>单击“确定”开始安装.
总结以上是内存溢出为你收集整理的错误:无法使用哈希字符串’android-28’查找目标全部内容,希望文章能够帮你解决错误:无法使用哈希字符串’android-28’查找目标所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)