android - 为什么更新android gradle后出现错误?
问题描述
在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 但仍然出现此错误
错误:无法解决:org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.0
解决方案
错误:无法解决:org.jetbrains.kotlin:kotlin-stdlib-jre7:1.3.0
kotlin-stdlib-jre7
已被弃用。请kotlin-stdlib-jdk7
改用。
推荐阅读
- angular - 在角度 5 中调用服务后绑定丢失
- javascript - 使用 BrightSign 设备将信息从 BrightScript 发送到 Node.js
- flutter - 继续返回“未来的实例
" 而不是字符串 (Flutter) - linux - 在 LInux Suse 12 上使用 sed 将 unix 中的智能引号替换为单引号
- xunit - 给定一个带有 xUnit 单元测试的程序集,列出所有测试而不运行的命令是什么?
- javascript - For 循环 sumArray 的问题
- c++ - 为什么我的对象声明不调用默认构造函数?
- python - 使用 5 人组合查找包含特定 5 人组合的数据帧的子集,每列标识 5 人中的一个
- java - 我怎样才能阻止这些汽车相互碰撞?
- r - 如何将相同的过滤器应用于 50 多个数据帧?