I am trying to incorporate cocos2d into a preexisting application. I did something like Eclipse, for example, installed "isLibrary" and added the library project to the build path in Eclipse, and I have the following dependency in my application pom.xml:
<dependency>
<groupId>cocos2d_android</groupId>
<artifactId>cocos2d_android</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
I thought this would take care of this problem, but when I build, the library does not seem to be included. I know this because when I start Activity, SimpleGamereferring to one of the classes in the cocos2d source, the activity dies and I get this stack in DDMS:
E/AndroidRuntime(10621): FATAL EXCEPTION: main
E/AndroidRuntime(10621): java.lang.NoClassDefFoundError: org.cocos2d.opengl.CCGLSurfaceView
E/AndroidRuntime(10621): at com.xyz.game.SimpleGame.onCreate(SimpleGame.java:22)
...
I am looking for two things:
1) a reliable way to see if a certain class / jar / was everything that was packed into my apk, since the steps for this moment in my application are long and complicated now
2) - pom.xml - - , Maven , - ?
Maven 3.0.4 3.0.0-alpha-13 , 8 .