ODK 1.0.0 launcher crash on Nexus 7

Hi

I've been using the 0.0.6 launcher and framework on my Nexus 7 as a test device with no hassles.
Since upgrading to ODK 1.0.0 and installing the new launcher and framework I get a crash:

- Ouya splash screen is ok.
- I skip the section asking to pair your controller
- Right after selecting (or skipping) the wi-fi network I get "Unfortunately the launcher has stopped"

Restarting the device or reinstalling the apps doesn't help.

Please assist!
Thanks in advance.

Comments

  • emozillaemozilla Posts: 6Member
    Same thing is happening to me :(
  • zamzarvideozamzarvideo Posts: 12Member
    edited March 2013
    Same to me, but only on 1.0.1 (firmware 1.0.138). It was fine on 1.0.0 (1.0.108).
    Post edited by zamzarvideo on
  • emozillaemozilla Posts: 6Member
    In 1.0.2 I get the following once I try to go to "Play":

    E/ActivityThread(15276): Failed to find provider info for tv.ouya.app.version
    E/AndroidRuntime(15276): FATAL EXCEPTION: main
    E/AndroidRuntime(15276): java.lang.RuntimeException: Unable to resume activity {tv.ouya.console/tv.ouya.console.launcher.PlayActivity}: java.lang.NullPointerException
    E/AndroidRuntime(15276):        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2742)
    E/AndroidRuntime(15276):        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2771)
    E/AndroidRuntime(15276):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2235)
    E/AndroidRuntime(15276):        at android.app.ActivityThread.access$600(ActivityThread.java:141)
    E/AndroidRuntime(15276):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
    E/AndroidRuntime(15276):        at android.os.Handler.dispatchMessage(Handler.java:99)
    E/AndroidRuntime(15276):        at android.os.Looper.loop(Looper.java:137)
    E/AndroidRuntime(15276):        at android.app.ActivityThread.main(ActivityThread.java:5041)
    E/AndroidRuntime(15276):        at java.lang.reflect.Method.invokeNative(Native Method)
    E/AndroidRuntime(15276):        at java.lang.reflect.Method.invoke(Method.java:511)
    E/AndroidRuntime(15276):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    E/AndroidRuntime(15276):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    E/AndroidRuntime(15276):        at dalvik.system.NativeStart.main(Native Method)
    E/AndroidRuntime(15276): Caused by: java.lang.NullPointerException
    E/AndroidRuntime(15276):        at tv.ouya.console.launcher.apks.ApkVersions.getDetailsForAllApps(ApkVersions.java:211)
    E/AndroidRuntime(15276):        at tv.ouya.console.launcher.PlayActivity.loadGames(PlayActivity.java:96)
    E/AndroidRuntime(15276):        at tv.ouya.console.launcher.PlayActivity.onResume(PlayActivity.java:62)
    E/AndroidRuntime(15276):        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1185)
    E/AndroidRuntime(15276):        at android.app.Activity.performResume(Activity.java:5182)
    E/AndroidRuntime(15276):        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2732)
    E/AndroidRuntime(15276):        ... 12 more

  • SpoonThumbSpoonThumb Posts: 426Member
    Does the discover activity work? If so, you ought to be able to launch games from within that (go to the game you've already downloaded and there should be an option to play)

    Alternatively, there is an adb command to launch activities from the command line (I think. can't remember what it is offhand)
  • kiteflyingmonkeykiteflyingmonkey Posts: 4Member
    I am not sure what you mean by the discover activity. I am able to run the game by launching it from the standard Android launcher, but then none of the Ouya's buttons are displayed and I can't do anything. 

    If it helps, the screen I see for a split second before it crashes says "Checking for software updates".
    Want to wake up to Spotify or Last.fm? Check out my Android app, StreamClock.
  • emozillaemozilla Posts: 6Member
    Now I'm also getting "Error 2001: Unable to get an authentication token from the server" when trying to log in... this may be because I'm not sure I've successfully registered -- whenever I go to register it just hangs on "Contacting servers". Man, it's just been one problem after another trying to get this to work on the Nexus 7 :(
  • emozillaemozilla Posts: 6Member
    After uninstalling and reinstalling I can finally log in... Play still crashes and when I go to Discover I get "Error parsing response from server: No value for type"

    Here's the error log I get in ADB: http://pastebin.com/7TXLpj1n
  • kiteflyingmonkeykiteflyingmonkey Posts: 4Member
    I am not getting as far a logging in to anything. Just tried uninstalling and reinstalling to no avail...
    Want to wake up to Spotify or Last.fm? Check out my Android app, StreamClock.
  • ArakadeArakade Posts: 32Member
    +1 for crash after wifi setup.

    N.b. ODK 0.0.6 packages still work on Nexus 7 but I worry how much has changed since... ?

    All in all, very annoying for those of us awaiting our Ouyas.  Still, hopefully not long now (depending on where in the dispatch queue plus international shipping times to UK :-\ so gotta try to fix...)

    1.0.1 log excerpt below suggesting there's supposed to be something receiving Intent "tv.ouya/.systemupdater.SystemUpdaterService".  After this fails, it looks like the AsyncTask that called it doesn't test success and simply expected to get version info from within a String using substring() but unsurprisingly it's zero length so boom.  Any Ouya crew / devkit owners fancy posting the APK that includes whatever responds to that Intent?  Maybe we could get a step further?

    I/ActivityManager(  480): START u0 {cmp=tv.ouya.console/.launcher.startup.WifiSetupActivity (has extras)} from pid 32060
    D/OUYAOverlayMenu(32060): onResume called!
    D/WifiService(  480): setWifiEnabled: true pid=32060, uid=10153
    I/ActivityManager(  480): Displayed tv.ouya.console/.launcher.startup.WifiSetupActivity: +624ms
    I/ActivityManager(  480): Displayed tv.ouya.console/.launcher.OverlayMenuActivity: +6s389ms
    D/OUYA Wifi(32060): Found some scan results...
    W/OMXCodec(  128): Number of channels: (6) 
    I/SoftAAC2(  128): Downmixing multichannel AAC to stereo
    I/SoftAAC2(  128): Reconfiguring decoder: 48000 Hz, 2 channels
    I/ActivityManager(  480): START u0 {cmp=tv.ouya.console/.launcher.settings.UpdateActivity} from pid 32060
    D/OUYAOverlayMenu(32060): onResume called!
    W/InputMethodManagerService(  480): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@42a65348 (uid=10153 pid=32060)
    W/ActivityManager(  480): Unable to start service Intent { cmp=tv.ouya/.systemupdater.SystemUpdaterService } U=0: not found
    W/dalvikvm(32060): threadid=16: thread exiting with uncaught exception (group=0x41e06930)
    W/GAV2    (32060): Thread[AsyncTask #1,5,main]: dispatch call queued.  Need to call GAServiceManager.getInstance().initialize().
    E/AndroidRuntime(32060): FATAL EXCEPTION: AsyncTask #1
    E/AndroidRuntime(32060): java.lang.RuntimeException: An error occured while executing doInBackground()
    E/AndroidRuntime(32060): 	at android.os.AsyncTask$3.done(AsyncTask.java:299)
    E/AndroidRuntime(32060): 	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
    E/AndroidRuntime(32060): 	at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
    E/AndroidRuntime(32060): 	at java.util.concurrent.FutureTask.run(FutureTask.java:239)
    E/AndroidRuntime(32060): 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
    E/AndroidRuntime(32060): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
    E/AndroidRuntime(32060): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
    E/AndroidRuntime(32060): 	at java.lang.Thread.run(Thread.java:856)
    E/AndroidRuntime(32060): Caused by: java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=-1
    E/AndroidRuntime(32060): 	at java.lang.String.startEndAndLength(String.java:583)
    E/AndroidRuntime(32060): 	at java.lang.String.substring(String.java:1464)
    E/AndroidRuntime(32060): 	at tv.ouya.console.util.SystemUpdateUtils$VersionDetails.<init>(SystemUpdateUtils.java:385)
    E/AndroidRuntime(32060): 	at tv.ouya.console.util.SystemUpdateUtils.checkForWaitingUpdates(SystemUpdateUtils.java:267)
    E/AndroidRuntime(32060): 	at tv.ouya.console.launcher.settings.UpdateActivity$UpdateChecker.doInBackground(UpdateActivity.java:295)
    E/AndroidRuntime(32060): 	at tv.ouya.console.launcher.settings.UpdateActivity$UpdateChecker.doInBackground(UpdateActivity.java:275)
    E/AndroidRuntime(32060): 	at android.os.AsyncTask$2.call(AsyncTask.java:287)
    E/AndroidRuntime(32060): 	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
    E/AndroidRuntime(32060): 	... 4 more
    W/ActivityManager(  480):   Force finishing activity tv.ouya.console/.launcher.settings.UpdateActivity

    Snowball fighting snowmen?
     += flamethrowers, rocket-launchers, arenas, etc! o_O
     += open development !?
  • kiteflyingmonkeykiteflyingmonkey Posts: 4Member
    Is there anywhere that you can download v0.0.6?
    Want to wake up to Spotify or Last.fm? Check out my Android app, StreamClock.
  • TomWellingtonTomWellington Posts: 1Member
    I can't even register my account with v1.0.2
  • ArakadeArakade Posts: 32Member
    Well, I still have the archive.  Anyone know a reason I shouldn't post a temporary link to it?  (legal / annoying to Ouya / etc ?)

    That said, how much it benefits you is debatable since many things weren't ready when it was released (e.g. I don't think it has IAP capabilities and the controller functionality is completely different -- 0.0.6 OuyaController was self contained, 1.0.1 calls a unknown ServiceProvider).  I've had to rebuild my controller stuff against the included 0.0.6 ouya-sdk.jar to bypass the ServiceProvider call failure.
    Snowball fighting snowmen?
     += flamethrowers, rocket-launchers, arenas, etc! o_O
     += open development !?
  • emozillaemozilla Posts: 6Member
    My app got rejected because I had to guess how the Ouya behaved... will this please get fixed so I can actually test?
  • OverpoweredGamesOverpoweredGames Posts: 79Member
    Ordered an OTG cable so I could plug my PS3 controller into my nexus 7 and test until my OUYA unit comes in.  Disappointed to find out the newest ODK doesn't actually run on the nexus 7 due to the problems mentioned here.  Any word on a fix..?  Can we roll back?  
    Developer behind FishMoto | facebook.com/OverpoweredGames
  • KonajuGamesKonajuGames Posts: 560Member
    They were looking at the Nexus 7 issues after the 1.0.2 release.  1.0.3 didn't fix them.  Still waiting on any further info. @Piers?
  • OverpoweredGamesOverpoweredGames Posts: 79Member
    edited May 2013
    Tried rolling back to 0.0.6 on my Nexus 7 but my game crashes shortly after booting 

    "JNI ERROR (app bug): local reference table overflow (max=512)"

    Wasn't doing this when I tested on a friend's actual Ouya device.  

    edit: I get this on 1.0.3 too.  Is this normal?  Again, wasn't a problem on actual Ouya hardware.  So far only on Nexus 7.  
    Post edited by OverpoweredGames on
    Developer behind FishMoto | facebook.com/OverpoweredGames
  • PiersPiers Posts: 680Member
    This may not be resolved for some time, unfortunately.
Sign In or Register to comment.