ouya / ouya-sdk-examples Goto Github PK
View Code? Open in Web Editor NEWExamples for ouya sdk engines
Examples for ouya sdk engines
After compiling as web_archive sending the apk to the Ouya device get a black screen both for IAP and for VirtualController
I/ActivityManager( 331): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER,tv.ouya.intent.category.GAME] flg=0x10000000 pkg=com.cone.shadow cmp=com.cone.shadow/.MainActivity u=0} from pid 553
W/InputMethodManagerService( 331): Ignoring showSoftInput of uid 1000: android.view.inputmethod.InputMethodManager$1@42d22800
I/InputDispatcher( 331): Window 'Window{42a69768 tv.ouya.console/tv.ouya.console.launcher.store.DetailsActivity paused=true}' spent 174.9ms processing the last input event: KeyEvent(action=1, deviceId=2, source=0x00000501)
W/InputMethodManagerService( 331): Ignoring showSoftInput of uid 1000: android.view.inputmethod.InputMethodManager$1@42d22800
D/ConnectivityPollService( 553): Skipping check.
I/ActivityManager( 331): Start proc com.cone.shadow for activity com.cone.shadow/.MainActivity: pid=1836 uid=10004 gids={3003, 1028}
D/AndroidRuntime( 1836): Shutting down VM
W/dalvikvm( 1836): threadid=1: thread exiting with uncaught exception (group=0x41936300)
E/AndroidRuntime( 1836): FATAL EXCEPTION: main
E/AndroidRuntime( 1836): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.cone.shadow/com.cone.shadow.MainActivity}: java.lang.ClassNotFoundException: com.cone.shadow.MainActivity
E/AndroidRuntime( 1836): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1983)
E/AndroidRuntime( 1836): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
E/AndroidRuntime( 1836): at android.app.ActivityThread.access$600(ActivityThread.java:130)
E/AndroidRuntime( 1836): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
E/AndroidRuntime( 1836): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1836): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1836): at android.app.ActivityThread.main(ActivityThread.java:4745)
E/AndroidRuntime( 1836): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1836): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1836): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/AndroidRuntime( 1836): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime( 1836): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1836): Caused by: java.lang.ClassNotFoundException: com.cone.shadow.MainActivity
E/AndroidRuntime( 1836): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime( 1836): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime( 1836): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime( 1836): at android.app.Instrumentation.newActivity(Instrumentation.java:1053)
E/AndroidRuntime( 1836): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1974)
E/AndroidRuntime( 1836): ... 11 more
W/ActivityManager( 331): Force finishing activity com.cone.shadow/.MainActivity
I/Process ( 1836): Sending signal. PID: 1836 SIG: 9
W/ActivityManager( 331): Force finishing activity tv.ouya.console/.launcher.store.DetailsActivity
I/ActivityManager( 331): Process com.cone.shadow (pid 1836) has died.
I/OuyaInputMapper( 553): OUYA Controller #0: OUYA Game Controller
D/ControllerContentProvider( 592): Actual device name: OUYA
D/ControllerContentProvider( 592): Found matching device: OUYA
D/ControllerButtonLegend( 553): Adding drawable for button: L2 keycode: 104
D/ControllerButtonLegend( 553): Adding drawable for button: O keycode: 96
D/ControllerButtonLegend( 553): Adding drawable for button: U keycode: 99
D/ControllerButtonLegend( 553): Adding drawable for button: Y keycode: 100
D/ControllerButtonLegend( 553): Adding drawable for button: A keycode: 97
D/ControllerButtonLegend( 553): Adding drawable for button: L3 keycode: 106
D/ControllerButtonLegend( 553): Adding drawable for button: R3 keycode: 107
D/ControllerButtonLegend( 553): Adding drawable for button: R2 keycode: 105
I/MetricsReceiver( 592): Action: tv.ouya.metrics.action.LIFECYCLE_EVENT
I/MetricsReceiver( 592): Activity: START
I/MetricsReceiver( 592): Updating app sessions...
I/MetricsReceiver( 592): Updating app session: tv.ouya.console.launcher.store.DetailsActivity [0f52a079-f4fb-4b35-a56d-b3b5bbdd6674]
I/MetricsReceiver( 592): Cancelling previous update
I/MetricsReceiver( 592): Scheduling next periodic update at: 1401541746928
D/BtcController( 553): No extra BT connections
D/BtcController( 553): Setting wifi.btc to 5
Failed to open project '?\C:\Users\MYUSER\AppData\Local\Temp\cap38JJMI\New project.caproj':
Error in parameter 'Text': Not an expression: 'errorCodeOnFailureInitOuyaPlugin' is not an expression or instance variable in 'OuyaSDK'
Line 42, column 17
In Event sheet 1.xml
Thanks for attention.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.