user1125258
user1125258

Reputation:

App. works correctly using the Emulator and crashes on the SmartPhone

I have astrange problem:

when I run my App. using the emulator it works. But when I tried to test it on the

SmartPhone, it crashes.

Any suggestions?

Upvotes: 1

Views: 610

Answers (1)

Dororo
Dororo

Reputation: 3440

  • Make sure you are compiling your application for a version which is supported by your phone (e.g. Android 2.1).
  • Makes sure your application is correctly signed with a debug key (this is done for you in Eclipse).
  • Make sure you are using libraries which are supported by your phone (e.g. if using OpenGL, make sure you have the correct version on your phone (see glbenchmark.com).

If you've checked and double checked these things, then look in the Logcat output (Window -> Open Perspective -> Other -> DDMS) and see if there are any errors which can guide you to a solution.

Upvotes: 1

Related Questions