错误在运行Android应用程序项目API-19。 [英] error in running android application project API-19.

查看:250
本文介绍了错误在运行Android应用程序项目API-19。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的机器人。
我的应用程序没有运行。
我对Android的API-19上运行我的应用程序,直到我下载的Andr​​oid API-21。

i am new to android. my application is not running. i had my application running on android API-19 until i downloaded android API-21.

错误与appcompat_v7 / RES /值-V21 / styles_bas​​e.xml

the error is with appcompat_v7/res/values-v21/styles_base.xml

<!-- Action Button Styles -->

<style name="Base.Widget.AppCompat.ActionButton"  
       parent="android:Widget.Material.ActionButton">  //error
</style>    

错误#1
说明资源路径位置类型
错误:错误为检索项父:没有资源的发现,给定的名称匹配'机器人:Widget.Material.ActionButton。 styles_bas​​e.xml / appcompat_v7 / RES /值-V21线75的Andr​​oid AAPT问题

error#1 Description Resource Path Location Type error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'. styles_base.xml /appcompat_v7/res/values-v21 line 75 Android AAPT Problem

错误#2
说明资源路径位置类型
容器Android的依赖引用不存在的库'C:\\用户\\ DIVX摹\\工作区\\ appcompat_v7 \\ BIN \\ appcompat_v7.jar'DDUBusMarg构建路径构建路径问题

error#2 Description Resource Path Location Type The container 'Android Dependencies' references non existing library 'C:\Users\divX G\workspace\appcompat_v7\bin\appcompat_v7.jar' DDUBusMarg Build path Build Path Problem

错误#3
说明资源路径位置类型
该项目不能建到构建路径错误已解决DDUBusMarg未知的Java问题

error#3 Description Resource Path Location Type The project cannot be built until build path errors are resolved DDUBusMarg Unknown Java Problem

错误#4
说明资源路径位置类型
非解析AAPT个错误!检查控制台输出。 DDUBusMarg 1号线的Andr​​oid ADT问题

error#4 Description Resource Path Location Type Unparsed aapt error(s)! Check the console for output. DDUBusMarg line 1 Android ADT Problem

我删除了Android API-20和API-21。我的目标和编译SDK是API-19
我试图删除值-V21夹(我查了不同的后这个解决方案),但它din't帮助。
我不能够解决这些错误。请帮助。

i deleted the android API-20 AND API-21. my target and compile SDK is API-19 i tried deleting the values-v21 folder(i checked this solution on different post) but it din't help. i am not able to resolve these errors. please help.

推荐答案

今天我有同样的问题。

我重新导入Android的支持-V7-应用程序兼容性项目重新下载完整的SDK包。

I reimported the android-support-v7-appcompat project downloading again the full sdk bundle.

http://developer.android.com/sdk/index.html

您需要重新导入该文件夹是:

The folder you need to reimport is:

捆绑-MAC-x86_64-20140702 / SDK /演员/安卓/支持/ V7 /应用程序兼容性

编辑:你不需要重新安装SDK,你只需要这个文件,而不是你的SDK管理器下载的那些

you don't need to install the sdk again, you just need this files, not the ones that you downloaded by the SDK Manager

这篇关于错误在运行Android应用程序项目API-19。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆