Slick Forums

Discuss the Slick 2D Library
It is currently Sun Jul 21, 2019 8:28 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: h&h port to android
PostPosted: Sat Apr 21, 2012 7:41 pm 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
so i've managed to setup a project that uses the ApplicationGDXContainer
however when i try to run it on the android emulator he says that the "application has stopped"

is there a way how i can see some debug info on the emulator?


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Sat Apr 21, 2012 7:50 pm 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
ok got it ..

1.Load an AVD with the Android emulator or connect a device to your computer.
2.Start DDMS from the sdk /tools directory. This also starts ADB if it is not already started. You should see your device appear in DDMS.
3.Install and run your .apk file on the device or emulator. In DDMS, you should see your application running under the device that you installed it to.
4.Attach your debugger to the debugging port 8700, or to the specific port shown for the application in DDMS.


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Mon Apr 23, 2012 7:42 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
do you use libgdx or SlickAE ?

_________________
Blog | Last game Drone Swarm


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Mon Apr 23, 2012 7:53 am 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
SlickAE but i've created my own SlickAE jar cause i've changed the framework so.. but that was ok now i think
probably i need to play some more with it


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Tue Apr 24, 2012 7:22 am 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
<edit>

[color=#BF0000]04-24 06:56:45.662: W/dalvikvm(620): Verifier rejected class Lorg/newdawn/slick/openal/SoundStore;

was caused by including the wrong reference packages..


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Tue Apr 24, 2012 2:34 pm 
Offline

Joined: Tue May 03, 2011 10:38 pm
Posts: 32
Can you tell us which packages were incorrectly included?


Top
 Profile  
 
 Post subject: Re: h&h port to android
PostPosted: Tue Apr 24, 2012 3:09 pm 
Offline
Regular

Joined: Thu Sep 22, 2011 4:39 pm
Posts: 165
Location: Belgium
the ones from gdx which i mixed with lwjgl .. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group