Android的:在我的项目错误感叹号如何解决我的、感叹号、如何解决、错误

由网友(干掉妃子你就是皇后)分享简介:我有一个弹出当我开始我的android日食指出有是必须升级为22.6.2版本的新版本,但你的SDK是22.3版本,甚至我曾错误SDK是不是安装在你的eclipse所以我去帮助 - >安装软件添加存储库,然后重新启动我的月食。i got a pop up when i started my android eclips...

我有一个弹出当我开始我的android日食指出有是必须升级为22.6.2版本的新版本,但你的SDK是22.3版本,甚至我曾错误SDK是不是安装在你的eclipse所以我去帮助 - >安装软件添加存储库,然后重新启动我的月食。

i got a pop up when i started my android eclipse stating that there is a new version which has to be upgraded for 22.6.2 version but your sdk is in 22.3 version even i had error that sdk is not installed in your eclipse so i went to help-> install software added repository then restarted my eclipse.

之后,我将我的code像往常一样开始编码我的项目,但我得到了我的附近的项目中感叹号当我编译为您的项目中有错误对话框

after that i added my code as usual to start coding my project but i got an exclamatory mark near my project when i compile dialog box appears as you have error in your project

在图像显示感叹号

Exclamatory mark shown in image

接下来我去展示视图 - >问题。检查的问题,我得到一个错误,说明关于Android的依赖

Next i went to show view -> problems . to check the problems i got an error stating about Android dependencies

接下来,我去速战速决的项目,但对话框中出现了

next i went to quick fix the project but dialog box appeared

固定后,我得到了jar文件本身有错误如下图所示。

after fixing i got an error in jar file itself as shown below

在此,我们可以检查错误

in this we can check the errors

我不能够解决的jar文件中的错误任何人都可以帮助解决它。

i am not able to resolve the error in the jar file can anyone help to resolve it

感谢您的时间和帮助提前

thanks for your time and help in advance

推荐答案

您需要参考应用程序兼容性。

You need to reference AppCompat.

下载受到来自Android SDK中额外经理的支持库。

Download the support library under extras from Android sdk Manager.

应用程序兼容性位于@ Android SDK中/演员/安卓/支持/ V7 /应用程序兼容性/

AppCompat is located @ android sdk/extras/android/support/v7/appcompat/

导入库项目到工作区。

Import the library project into workspace.

选择文件>导入。选择现有的Andr​​oid code进入工作区,然后单击下一步。浏览(Android SDK中/演员/安卓/支持/ V7 /应用程序兼容性/),并点击完成

Select File > Import. Select Existing Android Code Into Workspace and click Next. Browse ( android sdk/extras/android/support/v7/appcompat/) and click finish

右键单击您的项目。转到属性。 Android系统。加。浏览和参考应用程序兼容性。

Right click on your project. Goto properties. Android. Add. Browse and Reference AppCOmpat.

完成。

捕捉

库项目导入到日食

Library project imported to eclipse

引用的应用程序兼容性

Referenced AppCompat

阅读全文

相关推荐

最新文章