简体   繁体   English

包com.actionbarsherlock.app不存在

[英]package com.actionbarsherlock.app does not exist

When I started using actionbarsherlock it worked just fine, but now when I open my project it doesn't seem to find the package ( "package com.actionbarsherlock.app does not exist" ), but it compiles and runs anyway. 当我开始使用actionbarsherlock它工作得很好,但现在当我打开我的项目它似乎没有找到包(“包com.actionbarsherlock.app不存在”),但它编译并运行无论如何。 What could be causing this? 可能是什么导致了这个? I am using NetBeans. 我正在使用NetBeans。

I was getting the same error and I fixed it by adding 我得到了同样的错误,我通过添加修复它

compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'

to the dependencies of SlidingMenu build.gradle 到SlidingMenu build.gradle的依赖项

Check: 校验:

  1. Verify your Android API, correct is (Google API 4.0) 验证您的Android API,正确的是(Google API 4.0)
  2. Verify your Support Library is correct in your project n actionbarsherlock library, (Android Tools > Add suport library). 在项目n actionbarsherlock库中验证您的支持库是否正确(Android工具>添加支持库)。
  3. Verify your Compiler level, correct is 1.6. 验证您的编译器级别,正确​​是1.6。
  4. Restart Java Compilter. 重新启动Java Compilter。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM