我正在尝试从以下位置编译OSMAnd项目:
https://github.com/osmandapp/Osmand
我失去了android-support-design.jar和android-support-v7-appcompat.jar Osmand主\ Osmand主\蚀编译\设计\ BIN \机器人支撑-design.jar'
Osmand主\ Osmand主\蚀编译\程序兼容性\机器人支撑-V7-appcompat.jar
我找不到在Osmand-master \ eclipse-compile \ appcompat \ res \ values-v21 \ themes_base.xml和Osmand-master \ Osmand-master \ eclipse-compile \ appcompat \ res \中给出名称匹配的资源值-V21 \ styles_base_text.xml
以下是这两个文件中许多错误消息:
[2015-08-26 19:17:27 - android-support-design] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\themes_base.xml:136: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2015-08-26 19:17:27 - android-support-design] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\themes_base.xml:137: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2015-08-26 19:17:27 - android-support-design] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\themes_base.xml:146: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.
[2015-08-26 19:17:27 - android-support-design] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\themes_base.xml:150: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
[2015-08-26 19:22:26 - OsmAnd] \Downloads\Osmand-master\Osmand-master\eclipse-compile\appcompat\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
更新1: 中途编译并收到此错误:
[2015-08-26 19:54:40 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/design/internal/NavigationMenuItemView;
[2015-08-26 19:54:40 - OsmAnd] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/design/internal/NavigationMenuItemView;
答案 0 :(得分:0)