在学习android + opencv遇到的各种问题
16lz
2021-01-23
1.This version of Android Studio cannot open this project, please retry with Android Studio 3.5 or newer
出现这个问题是因为使用的Gradle版本太高,只需要将gradle降级就可以
dependencies {classpath 'com.android.tools.build:gradle:3.3.1'}
2.Unknown host ‘jcenter.bintray.com’. You may need to adjust the proxy settings in Gradle
需要在这两个地方架上maven
buildscript {repositories {maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}google()jcenter()}}allprojects {repositories {maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}google()jcenter()}}
更多相关文章
- 两个界面的切换
- 为Android应用程序添加两个入口
- Android 更新UI的两个方法
- android中求区域内两个坐标之间的距离的实现
- android aidl通讯两个APP之间的应用
- Android简单实现加减乘除(两个EditText,两个TextView,四个button)
- LinearLayout中实现水平方向上的两个textview一个居左,一个居右的
- android progressbar 显示两个进度样式的解决方案