【发布时间】:2016-11-03 14:57:24
【问题描述】:
我在使用 Kony Studio 5.6.2 构建 Android 项目时遇到问题。以下是错误信息:
[exec-shell]
[exec-shell] -code-gen:
[exec-shell] [mergemanifest] Merging AndroidManifest files into one.
[exec-shell] [mergemanifest] Manifest merger disabled. Using project manifest only.
[exec-shell] [echo] Handling aidl files...
[exec-shell] [aidl] No AIDL files to compile.
[exec-shell] [echo] ----------
[exec-shell] [echo] Handling RenderScript files...
[exec-shell] [echo] ----------
[exec-shell] [echo] Handling Resources...
[exec-shell] [aapt] Generating resource IDs...
[exec-shell] [aapt] /Users/mobile/mbanking-client/temp/MobileApp/build/luaandroid/dist/MobileBanking/res/drawable/line_divider.xml:9: error: Error: No resource found that matches the given name (at 'color' with value '@color/divider_grey').
[exec-shell] [aapt]
[exec-shell]
[exec-shell] BUILD FAILED
[exec-shell] /Users/mobile/Library/Android/sdk/tools/ant/build.xml:649: The following error occurred while executing this line:
[exec-shell] /Users/mobile/Library/Android/sdk/tools/ant/build.xml:694: null returned: 1
[exec-shell]
[exec-shell] Total time: 5 seconds
[11-03-2016 10:34:03]Ant build error=exec-shell returned: 1
[11-03-2016 10:34:03]Build Generation failed for platform Android.
[11-03-2016 10:34:03]Total time taken: 190146 ms
[11-03-2016 10:34:03]Total time taken: 190343 ms
[11-03-2016 10:34:03]Build Generation is successful for all the selected platforms
[11-03-2016 10:34:03]<-----------Build Generation job is completed--------------->
我想知道是否有人可以提供帮助?
非常感谢。
【问题讨论】:
-
刷新工作区。刷新项目。退出科尼。删除创建构建的临时文件夹。重启科尼。清洁和建造。这通常应该可以解决 kony 中的此类问题。但是,这里有一个处理相同问题的问题,但在 Android 上:stackoverflow.com/questions/34628092/…
标签: android build temenos-quantum