1. Are you ready for the Galaxy S20? Here is everything we know so far!

App crashes to previous activity

Discussion in 'Android Development' started by MCH170, Nov 8, 2021.

  1. MCH170

    MCH170 Lurker
    Thread Starter

    Hello, I am making a math puzzle game and I need some help. So, basically my app swaps pictures (the math problems) and the user has to write the answers. In the current build of my app going from the 1st all the way to the 40th problem is fine, but going (swapping pictures) to the 41st (note: the 41st is my last problem so there isn't a 42nd) "crashes" the app to the previous activity (the menu). I checked and I am pretty sure that all my arrays/lists are of size larger than 41. Anyone know what could be the issue? Thanks for your time.
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - App crashes previous
  1. sand1
    Replies:
    4
    Views:
    621
  2. Gabriele Cestra
    Replies:
    0
    Views:
    650
  3. Stacr
    Replies:
    2
    Views:
    557
  4. EcoMel
    Replies:
    20
    Views:
    1,726
  5. lalitkumar110301
    Replies:
    1
    Views:
    1,480
  6. App Update
    Replies:
    1
    Views:
    510
  7. iliji
    Replies:
    1
    Views:
    1,588
  8. T C
    Replies:
    3
    Views:
    2,595
  9. markdoc
    Replies:
    21
    Views:
    2,451
  10. Mohammad Sajib Al Seraj
    Replies:
    1
    Views:
    1,546

Share This Page

Loading...