How to work with Eclipse adt for Android lollipop development - java

I only have 1GB memory for my computer, 256GB hard disk, I was not able to install Android Studio. I want to work with Eclipse to develop android apps for Android 5.0 or above. Please guide me how can I do so. It would be better if any links are provided for step-by-step tutorial regarding this matter.
I am using "adt-bundle-windows-x86_64-20140702". When I tried to setup eclipse with Android Marshmallow I got following error shown in Eclipse
"This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in".

Instead of using adt plugin whoes been updated last time in
Mon, 2016-11-07 14:20
and stop being supported before 22 API level
, you can look at Andmore: Development Tools for Android in eclipse marketplace, and been official eclipse project.
Github project of Andmore, but it's not even if 1.0v
But you will won't do anything with 1GB memory :/

Related

How to set eclipse for android development?

I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.

Eclipse Android Helloworld Blank

I'm new to android. I had this issue Unable to write jarlist cache file while creating android project then I just hit F5 on both appcompat_V7 and HelloWorld folders to get rid of it. But still the helloWolrd project is bugging. I just followed this tutorial http://www.tutorialspoint.com/android/android_hello_world_example.htm
I did not do anything but following the tutorial (IDE settings and Hello world projct) What's going on ?Could you help me fix the issue ? Below is a picture of what Eclipse looks like afet hitting F5 on on both appcompat_V7 and HelloWorld folders
Google dropped support for Eclipse Android Developer Tools back in June 2015 so you might find inconsistencies with that IDE.
The Android developers blog is quite clear as to why:
To that end and to focus all of our efforts on making Android Studio better and faster, we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system.
The official blog post can be found here.
I believe that continuing to develop in Eclipse will result in further errors the more you will progress.
My suggestion is to start your development using the official Android Studio IDE which you can find here.

I can not create an apk on my eclipse

So I am trying to create an apk via eclipse for a small app I created (one of my first) but after going through several tutorials I can't find the android option which is suppose to present in Export. My Eclipse version is Mars.2 Release (4.5.2). I am using Eclipse IDE for Java Developers.
You have to install the sdk first. It's not included in eclipse.
How to setup eclipse for android app development
A personal recommendation:
Use Android Studio, you will have to get used to it but after 3 months I prefer it over eclipse. Also you should consider it since google stopped supporting Eclipse. android studio is the official android IDE

Eclipse IDE is asking for update of ADT-Plugin

I am using Eclipse Ide for android development. As I updated Android SDK tool to its newer version 24.1.2, Now Eclipse is showing an error that "This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in". I've checked update for ADT-Plugin several times but eclipse shows a popup with message "No Updates were found". what can i do?
You can manually download Eclipse ADT plugin from Android, and then install it in Eclipse by importing downloaded zip into eclipse.
Complete procedure with steps can be found on this link
http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting
Update:
By the way, above link will provide you ADT-23.0.6.zip not 24.1.2
There is a note on above link
Note: If you have been using Eclipse with ADT, be aware that Android
Studio is now the official IDE for Android, so you should migrate to
Android Studio to receive all the latest IDE updates. For help moving
projects, see Migrating to Android Studio.
Update 2
Install ADT-23.0.6.zip, and it will work for SDK Tools r24.1.2.
http://developer.android.com/tools/sdk/eclipse-adt.html
This version of ADT is designed for use with SDK Tools r24.1.2. If you
haven't already installed SDK Tools r24.1.2 into your SDK, use the
Android SDK Manager to do so.

Eclipse not creating new Activity and xml layout file (issues started after updating eclipse and sdk)

Today I have update Android SDK tools & eclipse. Current SDK tools 24.0.1, Android development Tools 23.0.4.1468518, eclipse version 4.4.1. After update SDK & eclipse I create new project. In this project src folder is empty & res/layout folder also empty, activity & xml files are not creating. I have to manually create it.
I seen my answers like Link 1, Link 2 etc.
Answer like:- "
Try this
"Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/"
But I have already update it.But not solve my problem. So, How to create activity & xml automatically?
Latest
As I already said that ADT 23.0.4 and SDK 24.0.1 are not compatible to each other.
We have got another update to of Android SDK to 24.0.2 (May be their team read our this question and released an update so quickly). However this update has not been documented yet on this page but still you will be able to see it in your Eclipse's SDK Manager.
I updated my SDK to 24.0.2 and now it is working fine. You too can try to update your Android SDK to 24.0.2 and hopefully everything will work fine.
Older Answer
The ADT Plugin for Eclipse and Android SDK both should be compatible to each other for making Eclipse do such things automatically.
But it seems like ADT 23.0.4 (Released in October 2014) and SDK Tools, Revision 24.0.1 (Released in December 2014) are not compatible to each other.
We should expect an update to ADT plugin soon which will be compatible with SDK tools 24.0.1.
You can check from the documentation:
For SDK Tools, Revision 23.0.4 (October 2014) they have mentioned the following points.
Android SDK Platform-tools revision 19 or later.
If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 23.0.4 and later.
If you notice,
But for SDK Tools, Revision 24.0.0 & 24.0.1 (December 2014), They have only mentioned
Android SDK Platform-tools revision 19 or later.
And if you check this document then you will find for SDK 23 or earlier with each revision the compatible ADT version was mentioned but only with 24 they have not mentioned anything yet. So the compatible version is yet to come.
I had same issue but in the end had to undo my update to SDK tool to back to 23.0.4.
If you want to undo your update you can follow the following simple steps:
Download the older ADT plugin manually.
Extract the contents and copy the tools folder from there.
Go to your SDK installation directory and replace the tools folder.
Your SDK will be back to 23 version and everything will start working again.
Try running your Android SDK Manager again, install any available updates for the Tools category and after that select Help > Check for Updates from the Eclipse menu (installing any detected updates here too which should then restart Eclipse).
I was getting the same problem before and it started working again after I have Android SDK Tools version 24.0.2 installed after the above process.
Try this: when creating a new android application use "Empty Activity" instead of "Blank Activity".
This will fix the problem immediately.
Sometimes you have to reinstall eclipse after it crashes. That's why it is a good idea they made it portable. But you can try to go back from the about eclipse uninstall component. But in my experience if you blew the ini and all that maybe the fastest way is to reinstall especially when there are so many dependencies like in adt.
You can also install regular eclipse and android plugin you don't have to use only adt. And maybe eclipse is more stable like that
Another thing you need to recompile the project probably

Categories

Resources