Android支持v7应用无法解决的错误 [英] Android support v7 app cannot be resolved error

查看:299
本文介绍了Android支持v7应用无法解决的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在64位Windows 8.1机器上运行eclipse juno,我已将项目导入eclipse,但是我面临的错误是

在阅读过程中,我遇到了我应该手动配置构建路径的解决方案,
但我无法做因此,


请帮助

解决方案

首先



确保您已经安装了以下库 Android支持库 Android支持资源库 Google Repository 通过打开Android SDK管理器



如果已经安装,然后将它们添加到Eclipse / p>

  Eclipse  - >导入 - >现有的Android代码进入工作区。 

添加 / android / adt-bundle / sdk / extras / android / support / v7 / appcompat 到您的 Eclipse 工作区。



右键单击Eclipse中的项目,并选择属性。

 选择Android  - >图书馆 - >加。 
选择appcompatv7项目和保存。

使用导入android.support.v7.app.ActionBar在活动中导入Action栏,片段。


I am running eclipse juno on a 64 bit windows 8.1 machine, I have imported a project into eclipse, but the error i am facing is On reading about it, I came across the solution that I am supposed to configure the build path manually, but I am unable to do so since, Please help

解决方案

First of all

Make sure that you've installed already the following libraries Android Support Library, Android Support Repository and Google Repository by checking in the Extra folder by openning the Android SDK Manager in eclipse.

if it is already installed then add them to Eclipse

Eclipse -> Import -> Existing Android Code into workspace.

Add /android/adt-bundle/sdk/extras/android/support/v7/appcompat to your Eclipse workspace.

Right click on the project in Eclipse and select properties.

Select Android -> Library -> Add.
Select appcompatv7 project and Save.

Use import android.support.v7.app.ActionBar to import Action bar in activities and fragments.

这篇关于Android支持v7应用无法解决的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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