unable to access file: corrupted zip file
話說最近在Build Android Project有遇到一個問題 packages/apps/Calculator/src/ c om/android/calculator2/ History Adapter.java:65: cannot access org.xmlpull.v1.XmlPullParser bad class file: org/xmlpull/v1/XmlPullParser. c lass(org/xmlpull/v1: XmlPullPar ser.class) unable to access file: corrupted zip file Please remove or make sure it appears in the correct subdirectory of the classpath. view = mInflater.inflate(R.layout. his tory_item, parent, false); ^ 論壇上人說 如果你是使用apt-get install 来安装eclipse的话 使用apt-get remove eclipse 但是實際上應該要做的是設定一些路徑,可以修改 .bashrc 加上這些 export JAVA_HOME=/usr/lib/jvm/java-6- sun-1.6.0.13 export CLASSPATH=$JAVA_HOME/lib:$ JAVA_HOME/jre/lib:./ export PATH=$JAVA_HOME/bin:$JAVA_ HOME/jre/bin:$PATH:$HOME/bin 當然JAVA_HOME 是要自己去找一下的 -- 另外最近還有遇到一個妙問題 ...





