Closed fuyuku closed 2 years ago
Describe the bug
Could not resolve all dependencies for configuration ':flutter_openim_sdk:classpath'. Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven3(http://maven.aliyun.com/nexus/content/groups/public)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.4.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. Failed to notify project evaluation listener. Could not get unknown property 'android' for project ':flutter_openim_sdk' of type org.gradle.api.Project. Could not get unknown property 'android' for project ':flutter_openim_sdk' of type org.gradle.api.Project.
所有环境都是最新版本 flutter_openim_sdk: ^2.0.8 flutter:3.0 gradle:7.4.2 com.android.tools.build:gradle:7.1.3
降低gradle版本试试
低版本是好的 但是最新flutter默认7.4 还是需要解决一下的
刚试了一下 openim_sdk2.0.0+6是可以的 升级到2.0.8就不行了
你把sdk拉倒本地后,可以删除阿里云的maven地址 ,就可以运行了
下一个版本修复
好的
Describe the bug
所有环境都是最新版本 flutter_openim_sdk: ^2.0.8 flutter:3.0 gradle:7.4.2 com.android.tools.build:gradle:7.1.3