Archrage / solitaire-for-android

Automatically exported from code.google.com/p/solitaire-for-android
Apache License 2.0
0 stars 0 forks source link

android-solitaire launch failure in Eclipse emulator #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load software into eclipse from 
http://solitaire-for-android.googlecode.com/svn/trunk
2. Launch emulator
3. Debug app
4. Get RuntimeException, stack trace:
android-solitare [Android Application]   
    DalvikVM[localhost:8612]     
        Thread [<1> main] (Suspended (exception RuntimeException))   
            ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) 
line: 2585   
            ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) 
line: 2679   
            ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, 
Intent) line: 125    
            ActivityThread$H.handleMessage(Message) line: 2033   
            ActivityThread$H(Handler).dispatchMessage(Message) line: 99  
            Looper.loop() line: 123  
            ActivityThread.main(String[]) line: 4627     
            Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) 
line: not available [native method]  
            Method.invoke(Object, Object...) line: 521   
            ZygoteInit$MethodAndArgsCaller.run() line: 868   
            ZygoteInit.main(String[]) line: 626  
            NativeStart.main(String[]) line: not available [native method]   
        Thread [<6> Binder Thread #2] (Running)  
        Thread [<5> Binder Thread #1] (Running)  

What is the expected output? What do you see instead?
Expected the app to be running/displayed in the emulator

What version of the product are you using? On what operating system?
Source version code: 450 
Version name: 1.12.2 
Eclipse IDE: Indigo Service Release 1 
AVD version: 
  CPU/ABE: ARM (armeabi) 
  Target: Android 2.2 (API Level 8) 
  Skin: WVGA800 
  hw.lcd.density: 240 

Please provide any additional information below.
I have tracked it down to this reference in res/layout/main.xml: 
    <com.kmagic.solitaire.SolitaireView 
      android:id="@+id/solitaire" 
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent" /> 

If I comment this out, the app comes up (with expected errors). If I leave this 
in, I get the stack trace shown above. 

Original issue reported on code.google.com by georgero...@gmail.com on 16 Feb 2012 at 5:54