在更新到AndroidStudio3.1之后,我将面临这个错误。
注意:我使用的是Java,而不是Kotlin
Could not find org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0.
Searched in the following locations:
https://maven.fabric.io/public/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.pom
https://maven.fabric.io/public
我已经建立了在我的桌面上编译一个Cordova Android应用程序的环境,一切都很好。然后我在我的笔记本电脑上编译了它,我无法让它编译这个应用程序。
我得到了这个错误
Could not find com.android.tools:common:25.2.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/common/25.2.3/common-25.2.3.pom
https://jcenter.bintray.com/com/android/too
帮助!我是Android Studio和Android编程的新手。我做了一些很好的教程。现在我尝试打开一个我必须编辑的现有Android项目。我甚至不确定我需要打开哪个文件,我选择了一个叫做"app“的文件,但是文件夹结构看起来有点不同。现在我无法运行这个应用程序,似乎它无法构建它。这是我得到的错误代码:
Could not find com.android.tools:common:25.3.3.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/common/
我对dart编程语言有点问题。命令"flutter doctor -v“中没有错误。我尝试删除"path_provider_macos“目录,但不起作用。我更新了gradle插件,但它仍然不能工作。我在vscode和android studio上都遇到了这个错误。我删除并安装了几次flutter sdk,但它仍然不起作用。 当我将gradle版本改为3.3.0时,我得到了一个不同的错误。它也不起作用。请帮帮我。 FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred con
我正在使用firebase,运行我的应用程序时,我得到了以下日志
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':firebase_auth'.
> Could not resolve all artifacts for configuration
':firebase_auth:classpath'.
> Could not resolve org.jetbrains.kotlin:kotli
我安装了Android 4.1。我得到了“构建失败”错误。
PKIX路径生成失败: sun.security.provider.certpath.SunCertPathBuilderException:无法找到被请求目标的有效证书路径
我尝试过更改Gradle版本和Gradle插件版本,也改变了Java (8和11),但是它不起作用。
由于限制了30000个字符,所以我将其全部发布在谷歌文档中。
详细的错误是:
A problem occurred configuring root project 'First'.
> Could not resolve al
我尝试了不同的方法,但问题并没有解决,我甚至重新安装了android,但仍然遇到同样的问题:
[Fatal Error] annotations-26.1.1.pom:2:1: Content is not allowed in prolog.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'myapp'.
> Could not resolve all files for configuration
我不知道究竟是什么导致了这个错误,但是我到处搜索,没有什么能解决它,它变得更糟了!当我构建我的应用程序时,它会显示AAPT2错误:查看日志以获得详细信息。看截图。
我的项目build.gradle文件
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
我正在尝试将安装到我的React-native项目中,我已经按照文档的建议进行了配置;正如示例所示;我尝试重新安装Android Studio (3.1和3.2);我下载了所有API和所有工具;没有什么可以解决问题:
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
> Configure project :app
WARNING: Configuration 'compile' is
在尝试构建应用程序时,编译器将显示如下内容:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app_settings'.
> Could not resolve all artifacts for configuration ':app_settings:classpath'.
> Could not find org.jetbrains.kotlin:kotlin-gradle-plug
我正在尝试在android studio 3.5版本中运行我的flutter应用程序,但我无法这样做。我升级了flutter并重新安装了android studio。我使缓存无效并重新启动,但什么都不能解决我的问题。我尝试使用visual studio代码,但得到了相同的错误。下面你可以看到我得到的错误。 有人知道怎么解决这个问题吗?我的android工作室之前工作得很好,但不确定这是在更新之后还是什么地方发生的。 FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuri
当我想运行我的应用程序时,我会得到以下错误:
> Could not find gradle-7.0.3.jar (com.android.tools.build:gradle:7.0.3).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.0.3/gradle-7.0.3.jar
因此,我尝试编辑build.gradle并将com.android.tools.build:gradle:4.
我下载了Android Studio花栗鼠2021.2.1修补程序1
我有java版本8 (build 1.8.0_341-b10)
我试图在vscode上运行main.dart (默认颤振程序),但它不起作用\
我已经运行了“颤栗医生”命令来检查任何问题,但是一切都是正确的。
错误列表是:
FAILURE: Build failed with an exception.
* Where:
Build file 'G:\proj\android\app\build.gradle' line: 26
* What went wrong:
A problem occurr
我是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
请帮帮我。因为我重新设置了我的电脑并重新安装了颤振。我一直收到这个错误,但是它只是flutter的默认代码,我没有添加任何内容。
*FAILURE:生成失败,但有异常。
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve org.jetbrains.
遵循教程,我无法在模拟器中运行该应用程序。当我从DOS提示符执行react-native run-android命令时,下面是我得到的错误:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'AwesomeProject'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not
我将项目的build.gradle从:
classpath 'com.android.tools.build:gradle:2.3.0-beta2'
至
classpath 'com.android.tools.build:gradle:2.4.0-alpha3'
现在我得到了这个错误:
Gradle 'AndroidStudioProjects' project refresh failed
Error:Cannot locate service of type FileOperations, as ProjectScopeServices h
A problem occurred configuring root project 'customerapp'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:4.1.3.
Required by:
project :
> No cached version of com.android.too
我是Android工作室的新手,我正在尝试设置一个新项目,但我面临以下错误信息:
Could not find com.android.tools.build:gradle:7.0.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.0.4/gradle-7.0.4.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle
在buildscript build.gradle(Project)的依赖项部分中包含build.gradle的用途是什么?例子:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in
我在构建我的android项目时遇到了以下错误:
AAPT: <project directory>\app\build\intermediates\stable_resource_ids_file\debug\stableIds.txt: error: failed to open: The data is invalid. (13).
它是在将项目的app目录中的build.gradle文件从com.android.tools.build:gradle:4.1.3更新到com.android.tools.build:gradle:4.2.1之后开始发生的
// Top-leve
我最近下载了Android studio 3.6.3版。当我创建一个新项目时,我得到了这些错误:
Could not resolve all artifacts for configuration 'classpath'
Could not resolve com.android.tools.build:gradle:5.6.4.
No cached version of com.android.tools.build:gradle:5.6.4. available for offline mode.
buildscript {
repositorie