App stopped resonding

+2 krishna kamal · February 10, 2016
After using the below code in the android studio while running app is crashing. Please help.

adding the layout in the video mentioned in : https://www.youtube.com/watch?v=RLDqbEhUjVk&list=PL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl&index=14

creating a relative layout and button. Please help.

Post a Reply

Replies

Oldest  Newest  Rating
0 Gary Whitney · February 11, 2016
As I recall the point is to make a layout with java and not xml. Right?

So you need to learn to read the stack trace. The errors in red.

Somewhere down the stack is the call in your code that made the error.
It will end with the line and column number in your code. (usually MainActivity.java for simple programs)
  • 1

Java / Android Development

126,329 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator