Simple android client crashes on run

Hi,
I have a simple photon server application that I would like to connect to from my android application.
In android, I added a class PhotonClient implements IPhotonPeerListener to the project in the same package of the Activity class, and the external jar photon-android.jar to the Build Path.
But, when I try to run the project on the simulator, I always get this error:
The application MyApp (process mainpackage.client) has stopped unexpectedly. Please try again.

Comments

  • Never mind, I found it. The problem was just the way I added the external jar to the project. In fact, you must have the jar file in the project directory and not as I initially did with it in another folder.
  • Glad you found it. That would have been difficult to tackle.
Sign In or Register to comment.