- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
当我尝试运行我的项目时出现此错误。我已经安装了最新的构建工具 - 23.0.3,但错误仍然存在。我该如何解决这个问题?
Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2321Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72321Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2321Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72321Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2321Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppindexing810Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement810Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest
:app:processDebugResources
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:TextAppearance.Material.Widget.Button.Inverse\u0027.","sources":[{"file":"C:\\Users\\Ishmita\\Documents\\GitHub\\FurAlert-Native-Build\\app\\build\\intermediates\\res\\merged\\debug\\values-v23\\values-v23.xml","position":{"startLine":3}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Error retrieving parent for item: No resource found that matches the given name \u0027android:Widget.Material.Button.Colored\u0027.","sources":[{"file":"C:\\Users\\Ishmita\\Documents\\GitHub\\FurAlert-Native-Build\\app\\build\\intermediates\\res\\merged\\debug\\values-v23\\values-v23.xml","position":{"startLine":32}}],"original":"","tool":"AAPT"}
FAILED
FAILURE: Build failed with an exception.
出了什么问题:任务 ':app:processDebugResources' 执行失败。
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Ishmita\AppData\Local\Android\sdk\build-tools\23.0.3\aapt.exe'' finished with non-zero exit value 1
试试:使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。
构建失败
总时间:5.901 秒
最佳答案
问题 SOLVED 通过使 library 和 app build.gradle 相同 ... compileSdkVersion 和 buildToolsVersion。
库 build.gradle 和
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
.....
.....
}
应用build.gradle
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
.....
.....
}
关于android - 即使使用最新的构建工具,任务 ':app:processDebugResources' 的执行也失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36237132/
今天在构建/制作项目时遇到了这个令人沮丧的错误,这似乎是因为使用构建工具 19.0.1、19.0.2 和 19.0.3 安装 Android SDK 22.6(也尝试过 22.6.1)。 aapt 错
我最近在尝试导出我的应用程序时遇到了这个FAILURE。 我正在使用最新的工具和更新的一切。我发现了大约 10 个帖子的答案,指向 sdk 的更改版本。 我正在尝试通过 phonegap build
使用 ionic 构建 android 应用程序: [root@localhost ionic-app-base-master]# ionic build android 控制台日志显示这些消息: R
所以我尝试在 Android Studio 中构建我的项目,但每次加载或执行项目时,我都会收到以下错误。我不知道如何解决这个问题... Execution failed for task ':oefe
Gradle说他由于一个未知的错误而无法正确构建,但是我没有特别更改任何内容,那为什么会发生呢? 我已经看到答案,说您必须将gradle.build文件版本更改为this one,以安装32位depe
我在 Windows 上。我至少在 Android Studio 上为 Marshmallow 创建了一个新项目。 到目前为止,我所做的唯一一件事就是生成主要 Activity ,这是一个带有 Vie
当我想在 ionic(空白的测试项目)上构建应用程序时,命令“ionic cordova build android”返回此错误: 构建失败 总时间:1 分 13.795 秒 Error: /home
我正在使用 bitbucket,因此我可以与其他开发人员合作,但似乎我们无法让它完美地工作。从他那里提取更改后,我收到了这个错误: Execution failed for task ':app:pr
我显然不知道为什么会显示此错误。所有解决方案表示赞赏。 出了什么问题: 任务':app:processDebugResources'的执行失败。 Android resource linking fa
我用 Cordova 和 Ionic 创建了一个应用程序。 我在 iOS 上收到了应用程序构建成功。 我正在尝试在 Android 上构建这个应用程序(通过 cordova build android
成员请帮我解决这个问题!我已经尝试了书中的所有技巧来使我的 flutter 项目在 android studio 上运行。但仍然遇到相同的主题问题。下面 VS 代码的详细信息 失败:构建失败,出现异常
Ionic 命令有问题:Ionic build android Here我正在按照教程 Salesforce 创建一个连接到 Salesforce API 的应用程序。 (联系人等)。 现在,当我构建
不太清楚为什么我不断收到此错误: errors 经过一番搜索,问题似乎出在我的 build.gradle 文件中,但我找不到它。我已附上该文件,但还附上了我的错误的屏幕截图,以防我遗漏了某些内容。但这
构建 Gradle 时我收到此错误消息: Error:00:29:02.408 [ERROR] [org.gradle.internal.buildevents.BuildExceptionRep
我得到的错误是这样的: FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for
Bug:我想将 Realm 数据库从 4.2.0 版本更新到 4.3.3,但是在 gradle sync 之后,它会失败 目标 将领域从 4.2.0 更新到 4.3.3 预期结果 Gradle 同步会
错误:任务 ':app:processDebugResources' 执行失败。 com.android.ide.common.process.ProcessException: org.gradle
今天我在运行我的 Flutter 项目时遇到了一些未知错误,根据我的研究,它的解决方案不可用。如果您知道如何解决,请告诉我。在今天之前,我没有遇到过这样的错误。为什么它只发生在今天。是因为 Gradl
打开一个我两个月没碰过的项目进行轻微更新,更新 Android Studio 后我无法编译代码而不会出现以下错误。 过去两个小时我一直在用谷歌搜索这个问题,但无法解决。我已经尝试了其他类似线程中的几乎
这是我的xml文件的代码 我认为我的代码没有错,但我遇到了这些错误 最佳答案 如果您看到如下所示的错误: Gradle: Execution failed
我是一名优秀的程序员,十分优秀!