这是一个创建于 3103 天前的主题,其中的信息可能已经有所发展或是发生改变。
root@xxxxx:~/workspace/ReinforceApk_new# ./gradlew build
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
: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 UP-TO-DATE
:app:processDebugResources
/root/workspace/ReinforceApk_new/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:36:23-39 : AAPT: No resource found that matches the given name (at 'icon' with value '@drawable/ic_app').
/root/workspace/ReinforceApk_new/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:37:24-40 : AAPT: No resource found that matches the given name (at 'label' with value '@string/app_name').
/root/workspace/ReinforceApk_new/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:45:28-44 : AAPT: No resource found that matches the given name (at 'label' with value '@string/app_name').
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/root/revo/tools/SDK/build-tools/23.0.3/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 7.29 secs
2 条回复 • 2016-06-02 19:24:04 +08:00
|
|
1
abbenyyy 2016-06-02 10:06:22 +08:00
已经告诉你错误了啊, No resource found that matches the given name (at 'icon' with value '@drawable/ic_app').
|
|
|
2
sonaive 2016-06-02 19:24:04 +08:00 via Android
楼上正解
|