【问题标题】:error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'错误:检索项目的父项时出错:找不到与给定名称“Widget.AppCompat.Base”匹配的资源
【发布时间】:2016-08-04 03:57:03
【问题描述】:

嗨,我是 android 的初学者,我正在反编译一个应用程序,我检测了代码源,但是当我在 Eclipse 上导入它时,它给了我这个错误:

error: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Base'.

我尝试了一些在堆栈溢出中找到但不起作用的提示 如果您知道解决方案,请帮助我

【问题讨论】:

    标签: java android decompiling decompiler


    【解决方案1】:

    这可能导致您的计算机中没有安装 API > 21 (http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html)。

    打开 SDK 管理器并安装它。

    我想谈的另一个重要的事情是为什么你使用 Eclipse 而不是 Android Studio? Google 现在不再支持 eclipse

    【讨论】:

    • 是的,我知道这个 android 工作室它在 4G (ram) 中没有问题,对我来说我没有 4G 是问题...你能告诉我如何安装这个 API 21循序渐进
    • 您可以从android SDK文件夹打开SDK管理器。(SDK Manager.exe)。然后打开一个包含组件列表的新对话框,您将看到需要安装的内容:)
    猜你喜欢
    • 2013-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-27
    • 2014-06-04
    • 2017-02-10
    • 2017-06-27
    相关资源
    最近更新 更多