May 6, 2012
Some resources I have found helpful:
Going with OpenJDK might have been the smarter choice.
Google says that you must be able to run 32 bit apps on your linux host, but it turns out this has nothing to do with Java, and it is perfectly right to install 64 bit java on a 64 bit machine.
rpm -Uvh jdk-7-linux-x64.rpmI downloaded and installed this back in September of 2011. In May of 2012, I downloaded it again, and verified that the package contents had not changed.
Note that what used to be called the "SDK" is now called the "JDK". Also note that the JDK contains the JRE, so if you install the JDK, you do not also need to install the JRE.
After this you need to fight with the Fedora "alternatives" system to make this java the one you actually use (rather than OpenJDK), see my notes linked to above for details on this.
yum install eclipse-jdtOnce you have this, you are encouraged to also install the "ADT" plugin for eclipse from google ("ADT" stands for Android Development Tools).
su cd /opt ln -s /u1/android/android-sdk android ln -s /u1/android/android-sdk-linux androidSDKIt remains to be seen whether the /opt/android link has any utility. If not, I should have made /opt/android point to the SDK (and I may change it so that is how it is).
Then I edited my .bashrc and added the following two directories to my path:
/opt/androidSDK/tools /opt/androidSDK/platform-toolsI used the moral equivalent of this:
export PATH=$PATH:/opt/AndroidSDK/platform-tools:/opt/AndroidSDK/toolsAfter doing this, when I log out and back in again, I can type android and get the android SDK manager.
It tells me an update to r19 of the SDK tools is available.
The SDK for "API 15" (i.e. Android 4.0.3) is the latest thing available.
I select "extras" and "platform tools", which makes for 15 packages for
it to install. It is placing them into /opt/androidSDK.
Away we go, this is going to take a long time.
Once the dust settles, we have:
yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686 ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686To create an android virtual device, use the android command, then use Tools-->Manage AVD's. This will bring up the Android Virtual Device Manager. Use the "NEW" button, fill in the form, then start and launch the virtual device to ensure that it all works.
I tell it to use /home/tom/android as a workspace.
Use Help-->"Install New Software" to bring up a "Install" window, then use the "ADD" button to create a new repository for "ADT Plugin" with the URL
https://dl-ssl.google.com/android/eclipse/Also activate http://download.eclipse.org/releases/helios which should be in the menu of available sites) by clicking on the checkbox next to it.
Then with these two repositories selected, install all software. It is ready to install:
usb 1-6: new high-speed USB device number 3 using ehci_hcd usb 1-6: New USB device found, idVendor=22b8, idProduct=70a8 usb 1-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4 usb 1-6: Product: MZ604 usb 1-6: Manufacturer: Motorola usb 1-6: SerialNumber: 0380624640e04217
Adventures in Computing / [email protected]