Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with android studio

 
Daniel Ungerfält
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!
Trying to learn the very basic of this but been struggling really hard a couple of days now.

I have made up some simple buttons just to try its function but just get this result: "unfortunately, myCalculator has stopped" when pressing any button on the virtual device.







Another thing is that every time I run any virtual device my discspace reduces by somewhere around 500MB-1GB each time. Cant find any way to "clean" or restore that space..


 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) You buttonClick() method should be buttonClick(View view).
2) As of your second problem, this is strange. Does your disc space remain in use even after the emulator is closed.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic