This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help with android studio  RSS feed

 
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..


 
Ranch Hand
Posts: 85
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.
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!