• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Android Studio app crashes

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have made a pizza idle clicker game for android, and it keeps crashing, im very new to this stuff and I just dont know why it's crashing. I was hoping someone on this forum would be able to give me some insight on this problem.

This is my MainActivity, where the crash occurs.
https://pastebin.com/dA8XMwAn
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch Marius.

A few followup questions if I may:
  • Have you tried using the Android Device Monitor's logcat? The use of log.d(TAG,String) with the logcat from within Android Device Monitor can be very helpful.
  • Is your Android Studio up to date?
  • What version of Android are you trying this out on?
  • Have you tried different versions of Android using the AVD/Emulator? Do they all cash the same way?
  •  
    Ranch Hand
    Posts: 570
    3
    Android Eclipse IDE Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    We need to see the stacktrace
     
    I'm gonna teach you a lesson! Start by looking at this tiny ad:
    The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
    https://www.kickstarter.com/projects/paulwheaton/low-tech
    reply
      Bookmark Topic Watch Topic
    • New Topic