进口android.support不能得到解决 [英] import android.support cannot be resolved

查看:160
本文介绍了进口android.support不能得到解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了一个错误,指出:进口android.support不能在该行来解决:

I'm getting an error stating: import android.support cannot be resolved at the line:

import android.support.v4.app.NotificationCompat;

在有没有人看到了这一点,或有任何想法,我能做些什么来解决呢?添加库我已经建立时出现的问题 - 和消失时,我将其删除。

Has anyone seen this before or have any idea what I can do to resolve it? The issue occurs when adding a library I've built - and goes away when I remove it.

推荐答案

右键单击项目属性 - > Java构建path->库单击Add External JAR

浏览到Android的安装文件夹,比如 C:\ Program Files文件\机器人\ Android的SDK \演员\机器人\ SUPPORT \ V4 那里找到 android_support_v4.jar 文件,然后添加jar文件,并进入购买和出口选项卡中勾选库,然后单击确定..

browse go to android installation folder like C:\Program Files\Android\android-sdk\extras\android\support\v4 there you find the android_support_v4.jar file then add the jar file and go to order and export tab check the library and click ok..

这篇关于进口android.support不能得到解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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