I am interested in android .I use Eclipse with ADT plug-in and I have downloaded project from github site and try to understand this .
But xml file don't open the error message :
"This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in".
It seem that my ADT version is old for this recent project although I have installed v23.0.2.1 .
I need help to reach the last version for ADT or another solution for my problem.
Thanks
Do you use Eclipse ADT Bundle
, I mean - before Android Studio 1.0
was released there was ADT Bundle - Eclipse with additional Android tools.
Well I see, it's still available to download: http://tools.android.com/recent/eclipseadtbundleupdated
If you use it, please delete it and download clean Eclipse from this site:
https://eclipse.org/downloads/packages/release/Mars/1
If you're planning to develop also in the other languages than Android accomodated Java, please free to download for example:
Eclipse IDE for C/C++ Developers
I had used Eclipse for Eclipse
Eclipse IDE for Eclipse Committers 4.5.1` and 'Eclipse IDE for Java EE Developers', so I'm sure these are higly compatible with newet ADT Plugin.
After you install Eclipse, you need to download and unpack Stand-alone SDK Tools
, where you would find [here] http://developer.android.com/sdk/index.html#Other
Note: Already the latest version of Android SDK is android-sdk_r24.4.1
.
After downloading and unpack Eclipse
and Android SDK
read this documentation:
http://developer.android.com/sdk/installing/installing-adt.html or just follow these steps:
To add the ADT plugin to Eclipse:
- Start
Eclipse
, then select Help > Install New Software
.
- Click
Add
, in the top-right corner.
- In the
Add Repository
dialog that appears, enter
ADT Plugin
for the Name
and the following URL
for the Location
: https://dl-ssl.google.com/android/eclipse/
Note: The Android Developer
Tools update site requires a secure connection. Make sure the update
site URL you enter starts with HTTPS.
- Click
OK
.
- In the
Available Software
dialog, select the checkbox next
to Developer Tools
and click Next
.
- In the next window, you'll see a list of the tools to be downloaded.
- Click
Next
.
- Read and accept the license agreements, then click
Finish
.
If you get a security warning saying that the authenticity or validity of the software can't be established, click OK
.
When the installation completes, restart Eclipse.
Configure the ADT Plugin
Once Eclipse restarts, you must specify the
location of your Android SDK directory
:
- In the "Welcome to Android Development" window that appears, select
Use existing SDKs
.
- Browse and select the location of the Android SDK directory you recently downloaded and unpacked.
- Click
Next
.
- Your Eclipse IDE is now set up to develop Android apps, but you need to add the latest SDK platform tools and an Android platform to your
environment.
- To get these packages for your SDK, continue to Adding
Platforms and Packages.
In July 2017, Eclipse Oxygen is out and ADT is weakly supported (or unsupported). But it's still often necessary to get these working together properly (reasons vary). Here are instruction to bring up an Eclipse Oxygen (latest at the time of writing) with the ADT on Ubuntu Linux 16.04 (latest LTS at time).
- I started from a clean install of Ubuntu
- Install OpenJDK 8
sudo apt-get install openjdk-8-jdk
I needed OpenJDK 7 for my project (skip if not needed)
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-7-jdk
- Download Eclipse Oxygen (I chose the Java bundle) and install.
- Run Eclipse and close the welcome screen, get to the place where there is a blank workspase
- In your browser, go the Eclipse Marketplace where the ADT is provided. At the time of writing, it was here.
- Drag the "Install" button from the web page to the workstation pane in the running Eclipse (size your windows so that you can see both). The cursor will have a plus sign when dragged over the correct place. Then "drop"/release the icon. The install should proceed from there.
- Eclipse will ask to restart, do so.
- No Android SDK will be found, follow the prompts to get one setup.
- The SDK Build Tools may be out of date, causing an error, but ADT will prompt to install the latest, follow the prompts.
- I had an ADB error in the log window until I finished setting up the SDK and tool and then restarted Eclipse.
Hope this helps.
You can also get an updated version of the ADT plugin that adds support for the latest NDK and fixes some bugs related to native C/C++ debugging at: https://github.com/khaledev/ADT
For the installation of Android ADT at Eclipse, do the following:
- HELP > INSTALL NEW SOFTWARE > ADD > NAME (AS YOUR WISH)
- LOCATION > copy and paste the link: http://dl-ssl.google.com/android/eclipse/ > OK
- SELECT OR CLICK DEVELOPER TOOLS > FINISH
Then automatically it will install android plugins (for application development). Afterwards, restart for the better convenience.
Thank you.