Java Android Eclipse

摘要:Java Android Eclipse - Eclipse error: NoClassDefFoundError: java/lang/ref/FinalReference


http://stackoverflow.com/questions/9455236/eclipse-error-noclassdeffounderror-java-lang-ref-finalreference

从网络上找到这个问题的解法

Eclipse error: NoClassDefFoundError: java/lang/ref/FinalReference

更改设定如下

  1. Find Running configurations -> java application
  2. In the new configuration's Classpath tab, find "Android Library" under Bootstrap Entries and remove it.
  3. Still in the Classpath tab, select Bootstrap Entries and click the Advanced button.
  4. Choose Add Library and click OK.
  5. Select JRE System Library and click Next.
  6. Select Workspace Default JRE and click Finish.