How do I set up the Ouya ODK / SDK?

Hello I am new to programming and I am unsure how to go about setting this stuff up. I got as far as downloading the OUYA ODK and the Android SDK and tools and check marked and installed the
  • Tools: Including both Android SDK and Android SDK Platform tools
  • Android 4.1 (API 16): SDK Platform
  • Android 4.0 (API 14): SDK Platform
  • Extras: Android Support Library


Now on the Ouya page https://devs.ouya.tv/developers/docs/setup I cant figure out what to do next and how to make the program work so I can make games.

Comments

  • noctnoct Posts: 122Member
    If you're new to programming you'll probably want to start with a framework like libGDX.

    Here's a tutorial on getting started with Android. Try getting things working under a basic emulator first, and then move on to adapting things for the OUYA.
  • SpikeFoolSpikeFool Posts: 3Member
    This sounds like a great place to start for me, thank you for your input. The main question I would like to figure out though is what the basic process of setting up the programs of Android and Ouya ODK .
  • noctnoct Posts: 122Member
    If you've installed the SDK bundle you'll find an Eclipse folder in it, all set and ready to create Android projects.
  • YipeYipe Posts: 3Member
    I'm new as well and successfully got a basic Android Hello World app running in an emulator.

    Now I'm moving on to trying to open the sample app, iap-sample-app within Eclipse.

    I used the Import process within Eclipse and there were some errors I was able to resolve via another post I found on the boards where I had to change some settings in the .classpath file.

    However, it then looks like the JRE System Library is not added and multiple other configuration issues.

    Am I missing some basic steps or documentation for getting the sample app up and running for the first time?  Or do I just need to keep searching and resolving each of these config issues 1 by 1?
  • YipeYipe Posts: 3Member
    I got my basic Android Hello World running on Ouya.  That ended up being no problem at all, just switched from running on the emulator to running on an external device and woah and behold, my Hello World app was showing on my TV!

    I didn't include anything Ouya related.  I just followed the Creating an Android Project guide and then ran my app on the device.

    That tutorial might help SpikeFool get started.

    For me, I'm still baffled at how to get any of the Ouya sample apps up and running.
  • noctnoct Posts: 122Member
    @Yipe Don't use import! To add the sample projects, go to File->New->Project... and then select Android->Android Project from Existing Code.

    The IAP sample has errors, but both the game and controller test load and run perfectly.
  • YipeYipe Posts: 3Member
    @noct Woo!  Now that's how I thought loading a sample project should go.  Up and running with no complications on my TV with the game sample app.

    Many thanks!
  • PeoplePeople Posts: 7Member
    I just wrote down my experience trying to figure it out. http://www.talesofpeople.com/blog/how-setup-ouya-odk
  • ershin69ershin69 Posts: 1Member
    Hi guys, i am currently learning how to develop an ouya game on eclipse and i can't get the sample app to work, i get to the part when i have to open up the terminal console and place android update project --path (where i found it only works if i do something like "android update project -t 8 -p" where the target is the version of android, it only goes up to version 15 or 4.0.3 if you do "android.bat list targets", after this i cannot get down to buil with "ant clean build" there are some errors on the build.xml file on the line 109.

    Do any of you have found any ways to get this sample app working? or maybe there are other examples out there you could share with me please? =), there are lots of books and stuff related to android development, but there any almost none related to creating games for the ouya console
Sign In or Register to comment.