i am developing a native android application, i am using a third party api as well. The problem is, when i connect mobile (S3) to my machine and run application directly on mobile then it works fine. But when i copied the APK to android mobile, installed APP and run. Then on one of api call it crashes saying "Unfortunately AppName stopped working". 

I could not find any way around to find out that what is the issue and what thing is the cause of application crash. 

Anyone please suggest how to find out the problem or what can be the possible cuse. I am developing in Eclipse.