Click here to Skip to main content
15,880,972 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have made an app and its having some buttons. When I am using that app in emulator and on my phone then its working fine but when I shared that to some of my friends then on click of some buttons its returning "your app has unfortunately stopped working". What's the error.

What I have tried:

To run my kotlin app on phone.
Posted
Comments
Sandeep Mewara 21-Jul-20 14:57pm    
Did you look at: https://codelabs.developers.google.com/codelabs/build-your-first-android-app-kotlin/#0
Member 14883729 21-Jul-20 15:01pm    
No actually my problem is some of the button on press give error on phone
David Crow 21-Jul-20 16:13pm    
You've provided no useful information to help in tracking down the problem. If the problem happens with some buttons but not others, you need to look at the code behind the buttons that work and compare to the code behind the buttons that do not work. Narrow the problem down by removing as much code and UI components as possible but still be able to reproduce the problem. If you have physical access to the other phone, hook it up to your computer and step through the code using the debugger.
Richard MacCutchan 21-Jul-20 17:18pm    
Looking at your other questions on this subject I think you need to spend some more time learning the system and how to debug your application. And, most importantly, if you have a problem with some code then you need to show it to us and explain where the error(s) occurred, including any actual error message. Remember we cannot see your screen.
Member 14883729 22-Jul-20 1:36am    
What type of information do u need

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900