ANDROID DEVELOPMENT TOOLS R17 BREAK YOUR LIBGDX PROJECT?

Some kind folks on the forums informed me that the latest Android ADT plugin breaks libgdx projects. The reason for this is that an Android Eclipse project no longer adds the sources of referenced Java projects to the APK it compiles. Why they had to do this is beyond me, the fix is simple however.

  • Click on your Android Project
  • Select Properties
  • Select Java Build Path
  • Select Order and Export
  • Check all your references, e.g. the gdx.jar, the gdx-backend-android.jar, your main code project etc.

That’s it. Here’s a before and after image for a project that uses the jars.


You don’t necessarily have to check the .jar files in this case if they are in your Android project’s libs/ folder.

If you run from SVN, just check the referenced gdx and gdx-backend-android project in the same settings dialog.

Now i have to redo all the tutorials…




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