android studio 异常 项目构建后R文件未生成
来源:互联网 发布:linux curl命令 编辑:程序博客网 时间:2024/05/29 09:01
Error:Execution failed for task ':xiaoxin:processDefaultFlavorDebugResources'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\Users\wangjun\AppData\Local\Android\android-studio\sdk\build-tools\android-4.4.2\aapt.exe package -f --no-crunch -I C:\Users\wangjun\AppData\Local\Android\android-studio\sdk\platforms\android-19\android.jar -M C:\Android\xiaoxin\build\manifests\defaultFlavor\debug\AndroidManifest.xml -S C:\Android\xiaoxin\build\res\all\defaultFlavor\debug -A C:\Android\xiaoxin\build\assets\defaultFlavor\debug -m -J C:\Android\xiaoxin\build\source\r\defaultFlavor\debug -F C:\Android\xiaoxin\build\libs\xiaoxin-defaultFlavor-debug.ap_ --debug-mode --custom-package com.dcz.xiaoxin --output-text-symbols C:\Android\xiaoxin\build\symbols\defaultFlavor\debug
Error Code:
1
Output:
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\values\values.xml:1003: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\values\values.xml:1003: error: Unexpected end tag string
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:43: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:34: error: Error: No resource found that matches the given name (at 'text' with value '@string/camera_rephotograph').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:56: error: Error: No resource found that matches the given name (at 'style' with value '@style/btn_func').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:56: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:18: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:76: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:85: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_input').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:94: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_speak').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_time').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_head').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:44: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:55: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_picture').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:60: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_time').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_head').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:44: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:54: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_picture').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:59: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:26: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_initiate').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:44: error: Error: No resource found that matches the given name (at 'text' with value '@string/friend_submit').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatinfo.xml:16: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatinfo.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
从svn下的项目后跑步起来 R文件生成失败 求指教!
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\Users\wangjun\AppData\Local\Android\android-studio\sdk\build-tools\android-4.4.2\aapt.exe package -f --no-crunch -I C:\Users\wangjun\AppData\Local\Android\android-studio\sdk\platforms\android-19\android.jar -M C:\Android\xiaoxin\build\manifests\defaultFlavor\debug\AndroidManifest.xml -S C:\Android\xiaoxin\build\res\all\defaultFlavor\debug -A C:\Android\xiaoxin\build\assets\defaultFlavor\debug -m -J C:\Android\xiaoxin\build\source\r\defaultFlavor\debug -F C:\Android\xiaoxin\build\libs\xiaoxin-defaultFlavor-debug.ap_ --debug-mode --custom-package com.dcz.xiaoxin --output-text-symbols C:\Android\xiaoxin\build\symbols\defaultFlavor\debug
Error Code:
1
Output:
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\values\values.xml:1003: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\values\values.xml:1003: error: Unexpected end tag string
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\album.xml:43: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:34: error: Error: No resource found that matches the given name (at 'text' with value '@string/camera_rephotograph').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:56: error: Error: No resource found that matches the given name (at 'style' with value '@style/btn_func').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\camera.xml:56: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:18: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:76: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_send').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:85: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_input').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat.xml:94: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_speak').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_time').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_head').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:44: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:55: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_picture').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_left.xml:60: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_time').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_head').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:44: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:54: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_picture').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chat_item_right.xml:59: error: Error: No resource found that matches the given name (at 'style' with value '@style/chat_message').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:15: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:26: error: Error: No resource found that matches the given name (at 'text' with value '@string/chat_initiate').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatadd.xml:44: error: Error: No resource found that matches the given name (at 'text' with value '@string/friend_submit').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatinfo.xml:16: error: Error: No resource found that matches the given name (at 'text' with value '@string/contacts_back').
C:\Android\xiaoxin\build\res\all\defaultFlavor\debug\layout\chatinfo.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/title_back').
从svn下的项目后跑步起来 R文件生成失败 求指教!
0 0
- android studio 异常 项目构建后R文件未生成
- Android项目gen目录下未生成.R文件解决方法
- Android项目clean后R文件不自动生成
- android studio导入项目后 编译失败 R文件丢失 R变红
- android studio新建activity后R未自动导入
- 新建android项目gen目录下未生成R文件解决方案
- 新建android项目gen目录下未生成R文件解决方案
- 新建android项目gen目录下未生成R文件解决方案
- 【边做项目边学Android】小白会遇到的问题--新建android项目gen目录下未生成R文件
- Android Studio新建项目找不到R文件
- Android 项目无法生成R文件解决办法
- android项目不能生成R文件
- 创建android项目无法生成R文件
- Android eclipse 项目R文件无法生成
- Eclipse中的Android项目编译后没有生成R文件的两种原因
- (笔记)studio里的library项目无法生成R文件
- 更新android studio后构建项目遇到的坑
- Android Studio下载后的R文件找不到
- Android 缓存大量 bitmap
- web打印控件
- struts2传递中文时出现乱码怎么解决?
- EditText被软键盘遮挡,所在的ScrollView不会向下滚动怎么办
- 打开首页,是SlidingMenu,想默认直接显示左侧的菜单(listview)而不是内容页(content
- android studio 异常 项目构建后R文件未生成
- Activity之间传递参数(三)
- cling开发DLNA找不到class的问题!
- 1. Two Sum
- PullToRefreshListView刷新到底部之后,会跳到开始的item,求解决方法
- textview 如何跟新值?
- 有关广播发送接收, 临近警告的问题
- unfortunately has stop
- IIS web.config url重写伪静态规则错误