Some of you may know that I develop for Android too. My recent plan was to implement a viewer for C.a.R. files on the Android. But currently I am to busy with other stuff. Moreover, with the rise of Windows 8 tablets, which can run full Java, this might be obsolete. Nevertheless, it is on my to do list. Don’t expect an IPad version. I do neither have the resources nor the time to port to another language and system. If IPad cannot run Java, then that’s it.
Currently, I updated my development tools. For those of you who encounter the same problems I did, here is what I did. I do not provide links, since links may change, and you will easily find them yourself.
There is a 500MB version of the SDK and Eclipse containing everything you need on the Android developer pages. You should try this first, if you are not experienced. But I took the manual road.
- First, I installed a new version of the Java SDK from the Android developer pages. I did uninstall the old version first. The installation went into a rather incommode place at „/Users/Rene/AppData/Local/Android/android-sdk“. Maybe I could have avoided that during the installation, but I do not know. I removed the old SDK from the environment path. If you wish to use adb from a command line, you may wish to add the new „android-sdk/platform-tools“ directory to the path. The installation no longer provides a start menu for SDK. So you can browse there and create a link on your desktop.
- Then I installed the recent version of Eclipse, the standard edition for Java developers, currently named Juno. After you start Juno, you can select your old workspace or create a new one.
- Inside Juno, I installed the ADT (Android Development Tools). You have to enter a new software location in the installation dialog (I had to Google for it: „http://dl.google.com/eclipse/plugin/4.2“). I installed everything there, which takes quite a while. Juno will have to be restarted. You can start to develop for Android now.
- Since the emulators are still quite slow, I use my Google Nexus and my Asus Tablet for development. You need to enable USB debugging on the devices. On the Google Nexus you have to tab several times on the build number in the information to get developer (I had to Google that too). Then you get the development settings, where you enable USB debugging. Moreover, you need the USB drivers for the devices. The drivers for Google Nexus are on the Samsung site ready for download and install. The Nexus 7 driver is in „android-sdk/extras“. Note that you cannot install a development version and a market version of your app at the same time.
That’s it. It is complicated enough.