Difference between revisions of "Android : Install Eclipse Plugins Fedora"

From CDOT Wiki
Jump to: navigation, search
(Installing the Android SDK)
(Installing the Android SDK)
Line 24: Line 24:
 
<li>You may need to install some 32 bit libraries if you're using 64 bit Fedora as I am.
 
<li>You may need to install some 32 bit libraries if you're using 64 bit Fedora as I am.
 
<pre>
 
<pre>
yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686\ ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
+
yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686\
 +
ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
 
</pre>
 
</pre>
 
<li> Download the SDK from http://developer.android.com/sdk/index.html
 
<li> Download the SDK from http://developer.android.com/sdk/index.html

Revision as of 11:02, 4 March 2011

Installing Android Development Tools on Fedora x86_64

For Android developent on Fedora you'll need the following:

  1. Eclipse
  2. Android Eclipse Plugin
  3. Android Software Development Kit

Installing Eclipse onto Fedora 14 - X86_64

  1. Start with a clean install of Fedora 14, preferably from a live CD. For my examples I used the 64 bit edition.
  2. When the install is complete, open a terminal window and run yum update to bring your system up to date. You may have to reboot once this is done.
  3. Install Eclipse (Helios 3.6.1) with the command yum groupinstall "Fedora Eclipse".
  4. That's it! You can now use Eclipse to build C, C++ or Java programs.

Installing the Android Eclipse Plugin

  1. From the Eclipse Help menu select Install New Software
  2. Click on Available Software Sites and check the box next to download.eclipse.org/releases/helios then click Ok
  3. Back in the Available Software window click on the Add button and add the Android repository https://dl-ssl.google.com/android/eclipse/
    Android-1.png

  4. Check the box for Developer Tools
    Android-2.png

  5. Once you review what will be downloaded, you'll need to check the box next to Accept the License then click Finish. Downloading of the plugin should start.
  6. When the download completes you'll need to restart Eclipse.

Installing the Android SDK

  1. You may need to install some 32 bit libraries if you're using 64 bit Fedora as I am.
    yum install glibc.i686 glibc-devel.i686 libstdc++.i686 zlib-devel.i686\
     ncurses-devel.i686 libX11-devel.i686 libXrender.i686 libXrandr.i686
    
  2. Download the SDK from http://developer.android.com/sdk/index.html
  3. I downloaded the file android-sdk_r10-linux_x86.tgz
  4. Unarchive the file using "tar xvzf android-sdk_r10-linux_x86.tgz"
  5. You now have a directory named android-sdk-linux_x86/
  6. Start Eclipse and from the Window menu select Preferences
  7. Select Android and enter the location of your SDK and click Ok
    Android-3.png

  8. From the Window menu select Android ADK and AVD Manager. Then select Available Packages.
    Android-4.png

  9. Check the packaged you want to install. I selected
    • Documentation for Android SDK, API 11, revision 1
    • SDK Platform Android 2.2, API 8, revision 2
    • Samples for SDK API 8, revision 1
    Android-5.png

  10. Click Install Selected and the download will begin.
    Android-6.png