64位Ubuntu部署Eclipse_ADT修正ERROR

来源:互联网 发布:mac桌面拷贝文件到u盘 编辑:程序博客网 时间:2024/06/05 14:26

1. error while loading shared libraries: zlib.so.1: cannot open shared object file: No such file or directory

sudo apt-get install lib32z1

2. error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

sudo apt-get install libstdc++6

sudo apt-get install lib32stdc++6

3. The import android.support cannot be resolved

Go to your Project's Properties
Then navigate to the Java Build Path
Then go to the Libraries tab. There click the Add External JARs Button on the Right pane.
There 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
After adding andorid-support-v4.jar Library, navigate to the Order and Export tab and put check mark on theandroid-support-v4 Library file.

After doing the above, clean the project and Build it.
Your problem will be solved.


0 0
原创粉丝点击