我正在尝试翻译this开源项目,并使其成为我自己的项目,但我在尝试清理或重建时遇到了错误。我需要你帮我弄清楚我需要做什么。
下面是我的错误列表:
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values/values.xml
Error:(413) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
Error:(413) Unexpected end tag string
Error:(413) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
Error:(413) Unexpected end tag string
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-large-v4/values-large-v4.xml
Error:(12) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Dialog.FixedSize'.
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Light.Dialog.FixedSize'.
Error:(12) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Dialog.FixedSize'.
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Light.Dialog.FixedSize'.
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-v11/values-v11.xml
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
Error:(67) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Dialog'.
Error:(68) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
Error:(67) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Dialog'.
Error:(68) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-v21/values-v21.xml
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
Error:(140) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'.
Error:(140) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt我不确定我需要做些什么来修复这些错误。我是Android编程的新手,我打算用它来帮助我学习。
这就是它想让我修复的file。
发布于 2017-01-13 14:48:45
1:在你的string.xml中用%1$s all替换%s 2:我建议你在开发安卓应用时使用AndroidStudio而不是eclipse。这需要android的支持库。see here
发布于 2017-01-14 10:19:48
嗨,我下载了你的源码,我发现了一些问题:1修改你的库源,gradle文件,applicationID没有修改2我的systemOS是win10,jdk是oracle jdk8。库的编译版本和buildToolsVersion可能不需要修改,但是jdk可能需要。我想是的。modified application id 和run app successfully
https://stackoverflow.com/questions/41627790
复制相似问题