1. 程式人生 > >Eclipse中Android專案執行時出現Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse l

Eclipse中Android專案執行時出現Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse l

  本文轉載自網際網路,如有侵權,請聯絡我及時刪除。謝謝。

系統環境:Win7-64位
開發環境:eclipse-64位


  右鍵工程 -> Build Path -> Configure Build Path -> 點選Libraries 選項頁面,Remove Android Dependencies -> 點選 Order and Export 確認 Android x.x 的有沒有勾選,沒有勾選就需要勾選,點選OK。最後clean 一下工程。到這裡如果還是不行,就要重新Add Libraries,還有修改project.properties對應的版本。