Slick Forums

Discuss the Slick 2D Library
It is currently Wed Jul 17, 2019 12:19 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Jan 06, 2013 3:54 am 
Offline

Joined: Wed Jan 02, 2013 4:04 pm
Posts: 10
For some reason, I get a ClassNotFoundException on this:

Code:
package com.example.test;

import org.newdawn.slick.SlickActivity;

import android.os.Bundle;

public class MainActivity extends SlickActivity {

   public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
   }
}


But not this:

Code:
package com.example.test;

import android.os.Bundle;
import android.app.Activity;

public class MainActivity extends Activity {

   @Override
   protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
   }


It's the exact same code, just the first using Slick, the second not. Is this a problem with Slick? I am having the same error with my project, and it's really confusing and annoying... I'd love to use Slick2D, but I'm just about ready to switch to libgdx.

I'd greatly appreciate any help!


Top
 Profile  
 
PostPosted: Tue Jan 15, 2013 9:28 pm 
Offline

Joined: Tue May 03, 2011 10:38 pm
Posts: 32
Can you show me what it's calling ClassNoteFoundException on? Perhaps also show me your folder structures and what you're including in your build path/libraries


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