64位Ubuntu部署Eclipse_ADT修正ERROR

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 the android-support-v4 Library file.

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


發佈了50 篇原創文章 · 獲贊 1 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章