Android的支持库V7缺少应用程序兼容性 [英] Android Support Library v7 missing appcompat
问题描述
所以,当我导入Android的支持库V7(应用程序兼容性JAR),我看到我尝试使用它时,你得到一个noclassdeferror。这是因为android.support.v7.appcompat不被发现,因为它包甚至不是那里appCompat.JAR。我通过提取JAR文件中的内容确认这一点。我尝试重新安装与SDK管理器中的JAR,但是我每次都错过了同一个包。谁能告诉我这是怎么回事了?
So when I import the Android Support Library v7 (appcompat JAR), I see that I get a noclassdeferror when trying to use it. This is because the package android.support.v7.appcompat is not being found as it is not even there in appCompat.JAR. I confirmed this by extracting the contents of the JAR file. I tried reinstalling the JAR with SDK Manager, however I am missing the same package every time. Can someone tell me what's going wrong?
感谢
推荐答案
您必须导入应用程序兼容性库到您的项目......请查看以下链接获取如何设置应用程序兼容性项目中的..
You have to import the appcompat library in to your project...please check the following link for getting how to setup appcompat in your project..
https://developer.android.com/tools/support-library/ setup.html
感谢您
这篇关于Android的支持库V7缺少应用程序兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!