今天热门
热点:

android studio 异常 项目构建后R文件未生成,androidstudio


android studio 异常 android studio svn debug 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文件生成失败 求指教!

解决方案

www.zrccd.nettrue/topics/20180309/188654.htmlTechArticleandroid studio 异常 项目构建后R文件未生成,androidstudio android studio 异常 android studio svn debug Error:Executionfailedfortask':xiaoxin:processDefaultFlavorDebugResources'. com.android.ide.common.internal.LoggedErrorEx...

相关文章

    暂无相关文章

用户评论

大家都在看