我似乎无法在Android Studio 3.0.1上为我的应用程序构建gradle (生成apk作品)。下面是构建输出。
Error:FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugAndroidTestBuild'.
> Conflict with dependency 'com.google.firebase:firebase-messaging' in project ':app'
我刚刚在我的Android项目中启用了Kotlin,我偶然发现了一个警告。在第二个构建(构建->重建项目)之后,此警告将显示在消息下面:
Warning:Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.2.10/85fe1811f3e586d0cc53aba1394d80
我是android studio gradle项目的新手,我将一个现有的项目导入到我试图构建的android studio.When中,它将错误显示为Gradle project sync failed。
如何解决这个错误?我有2.1.3版本的android工作室使用Gradle 2.4。
错误消息是:
Error:Could not find com.android.tools.build:gradle:1.1.0.
Searched in the following locations:
file:/C:/Program Files/Android/Android
Stu
我只是在玩谷歌的Android Studio IDE,并试图建立一个使用ABS和ViewPagerIndicator的项目。但是,我无法构建项目,因为每次我从命令行(或从IDE)运行gradle时,它都会失败,并显示以下消息:
java.io.IOException: Cannot run program "C:\[path shortenend]\android-studio\sdk\build-tools\android-4.2.2\aapt.exe": CreateProcess error=8, <german version of "there is n
我正在将我android项目gradle 5.4.1-all升级到6.5-bin,并将构建工具4.0.0升级到4.1.0,然后我得到了这样的错误 Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Could not create task ':app:minifyReleaseWithR8'.
Cannot query the value of this provider because it has no value available.
我有一个反应本机项目,当我尝试用
无论是react-native run-android还是cd adnroid > gradlew assembleDebug我遇到的每一个错误,
What went wrong: Plugin [id: 'io.invertase.gradle.build', version: '1.5'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namesp