您的位置:首页 > 编程语言 > Java开发

The import android.support cannot be resolved(Eclipse的v4包问题)

2016-03-11 10:22 495 查看
Please follow these Steps:

1.Go to your Project’s Properties(右击工程打开Properties)

2.Navigate to the Java Build Path(去 左边Java Build Path)

3.Then go to the Libraries tab. There click the Add External JARs Button on the Right pane.(右边点击 Add External JARs)

4.Select the android-support-v4.jar file, usually the path for the Jar file is :

YOUR_DRIVE\android-sdks\extras\android\support\v4\android-support-v4.jar (绑定你的v4包)

5.After adding andorid-support-v4.jar Library, navigate to the Order and Export tab and put check mark on the android-support-v4 Library file.(勾选一下你的v4包。确认)

6.After doing the above, Clean the Project and Build it.(假如不行就清一下,基本情况不用)

7.Problem Solved.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: