Question

I saved my app to the sd card and installed it from there to test in app billing. It was installed but when I tap on it to start it, the logo splash plays and the app shuts down. How can I know what is the problem? Is there a way to debug it?

Edit: it works fine when run with Eclipse

No correct solution

OTHER TIPS

First , enable the debugging mode in your application Manifest in application section as following:

 android:debuggable="true"

Second , connect your device with your laptop or PC and open the LogCat screen and make sure that you are opening the application workspace and the Eclipse can see your application from the DDMS screen (You will see your device and the package name of your application under it).

Third , open the application and your Crash and exception will be printed on the LogCat.

you can also add manual log lines to track your app progress as following:

Log.d("Key", "Message");

I hope it helps

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top