I am interested in android. I use Eclipse with ADT plug-in and I have downloaded a project from GitHub site and trying to understand this.
But XML file can't be opened, 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 seems 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 selectHelp > Install New Software
.- Click
Add
, in the top-right corner.- In the
Add Repository
dialog that appears, enterADT Plugin
for theName
and the followingURL
for theLocation
: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 toDeveloper Tools
and clickNext
.- 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, clickOK
. 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).
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With