如何修复它,我真的不知道如何修复它下面是我在事件日志中得到的代码片段 Gradle sync failed: Could not find com.android.tools.build:gradle-experimental:3.3.2.
Searched in the following locations:
- https://jcenter.bintray.com/com/android/tools/build/gradle-experimental/3.3.2/gradle-experimental-3.3.2.pom
- https
我的build.gradle是
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
url "https://maven.google.com/"
}
}
dependencies {
在将Android更新到2.0版(稳定版)之后,我的项目的Gradle同步就中断了。
弹出错误:
Android Gradle Plugin Update Required
The project is using an incompatible version of the Android Gradle plugin.
To configure the project, the IDE will update the Android Gradle Plugin to version 2.0.0.
You can learn more about this version of the
我尝试从AndroidStudio1.5.1中的示例构建nativeActivity代码,但是我得到了这个错误:
Error:Unknown host 'jcenter.bintray.com'. You may need to adjust the proxy settings in Gradle.
Enable Gradle 'offline mode' and sync
Learn about configuring HTTP proxies in Gradle</a>
我没有发现这个问题,因为这些项目没有使用所有来自an
我对React完全陌生,我用以下命令创建了第一个项目React:
反应-本机init你好
cd你好
npm启动
react本机运行-android
但是在执行“react原生运行-android”时,我得到了这个错误-
请帮帮我。
After more efforts this error was resolved but now getting another error
Solutions which I have tried was:
Solution 1:
1. Open your project in Android Studio i.e. android
我试图导入这个项目,甚至我也尝试导入其他几个项目,我得到了以下错误。
我花了5个小时在上面,甚至在谷歌上我尝试了很多解决方案,但是没有什么对我有用。
我试着遵循解决方案,但什么也没成功。
1) delete .gradle directory
2) Restart IDE,
3) I tested with com.android.tools.build:gradle-experimental:0.7.0-alpha1
我很沮丧,因为这个等级和这些问题。
Gradle Version : Gradle-2.13, I do not want to change this vers
为了使用JNI,我刚刚将我的项目迁移到gradle-experimental:0.4.0。我已经遵循了的说明
该项目由一个库和一个应用程序组成。我不能绕过这个错误(尝试了通常的清理和无效缓存/重新启动):
Could not determine the dependencies of task ':myLibrary:transformClassesAndResourcesWithProguardForRelease'
这个库构建得很好,但是在我构建app模块时出现了这个错误。以下是我修改后的build.gradle脚本:
项目:
buildscript {
repos
Gradle项目同步失败,没有从其他相关问题中获得答案。以下是我的详细情况。
最初的同步尝试产生了以下错误消息:
Unsupported method: BaseConfig.getApplicationIdSuffix().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignor