greenpiece / androminion

Automatically exported from code.google.com/p/androminion
0 stars 0 forks source link

Game force close on About or Statistics screens #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. First run after download will force close
2. Second run will play game, force close on About or Statistics
3.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.
v 2.01 Google Market, r292 source
Samsung Galaxy 10.1 Android 3.2
works fine on Droid Incredible Android 2.3
Stack Trace attached

Original issue reported on code.google.com by tkdenni...@gmail.com on 8 Jan 2012 at 8:49

Attachments:

GoogleCodeExporter commented 9 years ago
Maybe some build problem? Sometimes a clean build is necessary. Can you 
reproduce this error?

Original comment by aurel.ro...@gmail.com on 12 Jan 2012 at 4:40

GoogleCodeExporter commented 9 years ago
Yes, I can reproduce it after deleting Androminion from the tablet and 
installing from latest source or the google market. It doesn't seem to like the 
tabs added to the About and Statistics screens. 

Original comment by tkden...@gmail.com on 12 Jan 2012 at 6:31

GoogleCodeExporter commented 9 years ago
This is also true in ICS. I can play the game on my Galaxy Nexus, but I can't 
get to the About or Game Statistics screens. 

Original comment by Theodore...@gmail.com on 13 Jan 2012 at 4:53

GoogleCodeExporter commented 9 years ago
I am guessing this is a similar issue to Issue 176. ICS really doesn't like 
NULL deferencing. I am guessing HoneyComb has the same problem and that that is 
why the tablet fails, but the Droid does not. 

Original comment by Theodore...@gmail.com on 13 Jan 2012 at 4:55

GoogleCodeExporter commented 9 years ago
Hmm hard to find a solution. I can reproduced it in the emulator. No error on 
android version 1.5 and 2.3.3 but on 4.0.
Maybe we need to change the way the tab view is created...
Any ideas? 

Original comment by aurel.ro...@gmail.com on 16 Jan 2012 at 10:10

GoogleCodeExporter commented 9 years ago
Fixed it in r317 for AboutDialog. Statistics will follow later.
Solution: pulled the TabHost into xml layout file

Original comment by aurel.ro...@gmail.com on 16 Jan 2012 at 11:04

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r318.

Original comment by aurel.ro...@gmail.com on 17 Jan 2012 at 12:20

GoogleCodeExporter commented 9 years ago
Works perfectly - thank you!!

Original comment by tkdenni...@gmail.com on 17 Jan 2012 at 8:09

GoogleCodeExporter commented 9 years ago
Issue 247 has been merged into this issue.

Original comment by aurel.ro...@gmail.com on 27 Jan 2012 at 11:12