Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Installing Android SDK -what packages do I need? — Gideros Forum

Installing Android SDK -what packages do I need?

MauMauMauMau Member
edited August 2013 in General questions
I just started working with Gideros and therefore I am installing the Android SDK (adt-bundle-windows-x86_64-20130729.zip) right now. After extracting the archive and launching the SDK Manager, I have to choose lots of different packages to install.

What packages should be checked here to be able to deploy to Android devices and what options can be left unchecked?

Thanks for helping.

Comments

  • I think that all you could need is Android SDK Tools and Android SDK Platform - tools, as well as Latest SDK version. Maybe also Google USB driver from Extras and thats it
  • What about "Android SDK Build-tools"?
  • While i was installing eclipse and adt i installed all and everything is working. The more the better i guess :D
  • MauMauMauMau Member
    edited August 2013
    I just finished installing the SDK and Eclipse, exported my Gideros project and imported it into Eclipse. I right-clicked the imported project, then "Properties", there I chose "Android 4.3" as project build target (it's the only entry there).

    Then when I click on "Run" in Eclipse, it says there is no device attached to the computer (although it IS).

    Since Eclipse doesn't recognize my device to run the code, I tried to export is to .apk and then copy and install it to the device manually. This does not work either because it requires a keystone. So how can I create one? I assumed that Eclipse would use a default debug key when no other key is specified, but I am forced to enter a key when exporting the project.

    And should the device set to debugging mode while connected to the PC or not?

    This is so confusing... :-( Eclipse is by no means intuitive or self-explaining. Are there any detailed, step-by-step tutorials out there that explain how we can import, set up and finally export a Gideros project to the actual device?


  • The device should be in usb-debug mode.
    In order for Eclipse to see your Telephone in devices you should have to install usb drivers of your device.
    Which model your device i don't know but you can find your suitable driver.
    http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver

    Other way is to run on emulator.
    http://developer.android.com/tools/devices/managing-avds.html
    http://developer.android.com/tools/building/building-eclipse.html
  • These pages indicate that I need to create a key using keytool when I want to export my project to .apk and install it on my device -where can I find that keytool? I searched the whole SDK for "keytool" or "jarsigner" but could not find them.

  • Just deleted and re-imported my exported Gideros project with Eclipse again.

    Created a virtual device.

    Hit "Run". An emulator windows opens, showing a device with buttons etc. Project does NOT run in the emulator, instead some animated letters are shown on the screen of the emulator: "ANDROID". That's all.

    Closed the emulator window and connected my Android device to the computer (debug mode enabled). Device is connected properly. Then hit "Run" again with Eclipse. Console now shows the following error messages (project is named "Space"):

    [2013-08-06 09:34:45 - Space] ------------------------------
    [2013-08-06 09:34:45 - Space] Android Launch!
    [2013-08-06 09:34:45 - Space] The connection to adb is down, and a severe error has occured.
    [2013-08-06 09:34:45 - Space] You must restart adb and Eclipse.
    [2013-08-06 09:34:45 - Space] Please ensure that adb is correctly located at 'F:\Work\Gideros\_Tools_SDK\AndroidSDK\sdk\platform-tools\adb.exe' and can be executed.

    Ensured that adb.exe is located correctly -it is. Closed and restarted Eclipse. Again hit "Run". Same error messages as before.

    I'm done :-(
  • @MauMau

    not sure which error it is but can you try right click on android project ---> android tools ---> export signed application and follow some simple steps later you will get apk which you can mount to your sd card and install. just guess lets see it works or not

    :)
  • also here's the thread with similar problem

    http://stackoverflow.com/questions/5035456/the-connection-to-adb-is-down-and-a-severe-error-has-occurred

    might be restarting the pc will solve problem

    :)
  • @MauMau you can try right click on the project, select Android Tools and Export Signed application, it then should take you to the wizard of exporting, where you will be able also to generate a new key, etc. This is how I did it the first time ;)
  • ahhhh so this is a secret of the 3k+ post ;)

    :)
Sign In or Register to comment.