问题 :
Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha2.
Required by:
myapp:app:unspecified
背景: Android Studio 2.2 P 1
原文由 NotCool 发布,翻译遵循 CC BY-SA 4.0 许可协议
问题 :
Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha2.
Required by:
myapp:app:unspecified
背景: Android Studio 2.2 P 1
原文由 NotCool 发布,翻译遵循 CC BY-SA 4.0 许可协议
我在 android 下的 build.gradle(app) 中添加了以下脚本,我能够编译。
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
原文由 Pavan Pyati 发布,翻译遵循 CC BY-SA 4.0 许可协议
2 回答1.5k 阅读✓ 已解决
2 回答1.9k 阅读
1 回答2.2k 阅读
3 回答649 阅读✓ 已解决
1 回答891 阅读✓ 已解决
1 回答1.4k 阅读
1 回答828 阅读✓ 已解决
无法安装/更新
ConstraintLayout
的支持库。Just open
Preferences
>Appearance & Behavior
>System Settings
>Android
and move toSDK Tools
tab.检查以下字段并安装。