进口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..