Slick Forums

Discuss the Slick 2D Library
It is currently Wed Nov 13, 2019 4:45 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Apr 26, 2012 11:43 am 
Offline

Joined: Tue May 03, 2011 10:38 pm
Posts: 32
So after updating to the new ADT 17, you may experience some problems building your Android projects, with Logcat showing NoClassDefFoundError: your.main.class.

Here are the steps to fix this issue:

    1. Right click your Android project, go to Build Path, and click Configure Build Path

    2. Under Libraries, remove everything except Android [number] and Android Dependencies.

    3. Next, under Order and Export, make sure everything is checked. Click OK when you're done.

    4. The new ADT will recognize a libs folder and import everything automagically. If you have it spelt any other way, rename it to libs. This folder should contain the armeabi and armeabi-v7a folders, gdx-backend-android.jar, gdx.jar, and slick-ae.jar.

    5. Next, go to the Project menu at the top of Eclipse, and click Clean, and clean all your project folders.

Compiling should be ok now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group