关闭。这个问题需要debugging details .它目前不接受答案。
想改进这个问题?将问题更新为 on-topic对于堆栈溢出。
3年前关闭。
Improve this question
在android studio中更新我的gradle后我得到了错误
为什么我的代码不起作用?
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-database:11.8.0'
implementation 'com.google.firebase:firebase-auth:11.8.0'
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'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.android.support:cardview-v7:28.0.0-alpha1'
我尝试了 1.3.0 但仍然出现此错误
ERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.0
最佳答案
ERROR: Failed to resolve: org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.0
kotlin-stdlib-jre7
已被弃用。请使用kotlin-stdlib-jdk7
反而。
关于android - 为什么更新android gradle后出现错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54528554/