Slick Forums

Discuss the Slick 2D Library
It is currently Sat Feb 23, 2019 12:19 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Dec 28, 2011 3:11 am 
Offline

Joined: Wed Dec 28, 2011 3:01 am
Posts: 6
When running my slick AE game,I get Conversion to Dalvik format failed with error 1.
starting my game like this -
public class DroidGamedroidversionActivity extends SlickActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

start(new Game(),480,800);
}
}

I have my slick2d and slick AE projects on my build path,and 3 jars -
gdx.jar
gdx-backend-android.jar
gdx-backend-lwjgl-cut.jar

I have tryed upgrading my proguard,editing the proguard.bat,clean building my project,deleating then remaking my project,and none of them work.
full stack trace - http://pastebin.com/7TBS2TWC

Thanks for the help,jack


Top
 Profile  
 
PostPosted: Fri Jan 06, 2012 4:40 pm 
Offline
Oldbie
User avatar

Joined: Thu Jan 13, 2011 4:42 pm
Posts: 349
The problem is that slick-ae overrides some Slick2d classes. In order to make them work together, you must build a Slick-AE jar. Go to the build path of Slick-AE project and add Slick2D. Then, go to Slick-AE, and run the build.xml file in eclipse. Once it's done, refresh the project, and there should be a new folder inside called target. In this folder, you'll find a shiny new Slick-AE.jar that you can add to a build path in place of the Slick-AE and Slick2D projects.

hope this helps. Thanks for all the debug info, and sorry for the 2 week delay.

_________________
"Artificial intelligence will never be a match for human stupidity" - "Jamos Kennedynos"


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

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:  
Powered by phpBB® Forum Software © phpBB Group