【问题标题】:OSMAnd Cannot Compile Need android-support-design.jar and android-support-v7-appcompat.jarOSMAnd 无法编译需要 android-support-design.jar 和 android-support-v7-appcompat.jar
【发布时间】:2015-11-21 06:27:40
【问题描述】:

我正在尝试从以下位置编译 OSMAnd 项目:

https://github.com/osmandapp/Osmand

我越来越缺少 android-support-design.jar 和 android-support-v7-appcompat.jar Osmand-master\Osmand-master\eclipse-compile\design\bin\android-support-design.jar'

Osmand-master\Osmand-master\eclipse-compile\appcompat\android-support-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;

【问题讨论】:

    标签: android osmdroid point-of-interest osmand


    【解决方案1】:

    【讨论】:

    • 除了发布链接之外,您还可以插入您在该链接中找到的信息中最相关的部分。如果将来该链接不再可用,这将有所帮助。
    • @il_raffa 这是真的。 google 正在取消 code.google.com 上的大多数项目。
    猜你喜欢
    • 2016-04-23
    • 1970-01-01
    • 2013-08-18
    • 2015-01-29
    • 1970-01-01
    • 2017-05-11
    • 1970-01-01
    • 2013-08-27
    • 1970-01-01
    相关资源
    最近更新 更多