首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >OSMAnd无法编译,需要android-support-design.jar .jar和android-support-v7-appcompat.jar

OSMAnd无法编译,需要android-support-design.jar .jar和android-support-v7-appcompat.jar
EN

Stack Overflow用户
提问于 2015-08-27 10:33:44
回答 1查看 274关注 0票数 0

我正在尝试获取要编译的OSMAnd项目:

https://github.com/osmandapp/Osmand

我找不到android-support-design.jar .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\values-v21\styles_base_text.xml中找不到与给定名称匹配的资源

下面是这两个文件中的许多错误消息中的一些:

代码语言:javascript
复制
    [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:中途编译并得到此错误:

代码语言:javascript
复制
 [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;
EN

回答 1

Stack Overflow用户

发布于 2015-08-28 02:59:15

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32239775

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档