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.
Related
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.
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 :/
I'm about to start on "The Big Nerd Ranch Guide to Android Programming". It says to download ADT 21.1 or a version higher than that but literally all I can find is the Android Studio. How much of a difference will that make for me? If you're not familiar with the book its basically a step by step instruction guide on what to do, so I was wondering if getting Android Studio would conflict with that or not. Also I'd be forever in your debt if you could find me a link to ADT 21.1 to put my worries aside. Thanks!
How much of a difference will that make for me?
In terms of the book, most of the instructions that are tied to the IDE will be different. The code is the same, the apps you get from the code is the same, but the IDE itself is fairly different.
If you are an experienced developer, with background on lots of different tools already, you're probably used to this sort of translating instructions for one IDE into another IDE.
I was wondering if getting Android Studio would conflict with that or not
Those steps that are telling you "click this, drag that" and such in the IDE will be done somewhat differently in Android Studio.
I was wondering if getting Android Studio would conflict with that or not
The ADT Bundle is no longer distributed by Google, and I'd be nervous about getting it from some random Web site.
Google does have instructions for installing the ADT plugin itself into an existing Eclipse installation. Those instructions have at least one flaw — you also need to have installed the Android SDK (sans Android Studio) first.
You might also consider just switching to a different book, one that has been published or updated more recently to include Android Studio coverage.
In the interests of full disclosure: I wrote such a book. Just sayin'. :-)
Google has officially shifted support from the Eclipse-based ADT to the IntelliJ IDEA-based Android Studio. While it is a matter of personal preference, you may find that Android Studio is more powerful due to some of its features.
There are some differences in the workflow, but they are not all that massive. Importantly, both support all Android APIs and the full feature set of Java as well as build systems such as Maven and Gradle (the latter being more integrated with IDEA).
Im going to guess that you're using the eclipse IDE for ADT.
Download the ADT Plugin zip file ADT-21.1.0.zip from http://dl.google.com/android/ADT-21.1.0.zip
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog, click Archive.
Select the downloaded ADT-21.1.0.zip file and click OK.
Enter "ADT Plugin" for the name and click OK.
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
Read and accept the license agreements, then click Finish.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
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.
Pulled and Simplified from Update Android ADT Tool to 21.1.0 from 21.0.1.
I've started to get into Android Development and i downloaded the ADT bundle of the android developers page, but it doesn't seem to be working for me. So now I've decided to use Android Studio. Since its quite new there aren't many tutorials for it, whereas Eclipse + ADT has heaps of tutorials. I was wondering if I could use the thenewboston's tutorials (which were designed for eclipse) on Android Studio and still get the same results? Both the layouts look similar and they both use java so will there be any problems?
You can use the same code. For example how declare and use a textview in eclipse and androidstudio is the same, or how use button events is the same.
The difference is when you create a project, dependencies, libraries, and stuff configuration, but the code instructions are the same because use java.
If you are looking for a tutorial which is IDE oriented, Eclipse tutorials won't help much with Android Studio.
Android Studio is based on IntelliJ IDEA platform and IDEA tutorials may help you with configuring projects and other editor related configurations. And most importantly Android Studio won't provide support for the traditional Ant based projects since it uses Gradle build system. Of-course you can open and build Ant based projects which are created using IntelliJ IDEA but you cannot create new Ant projects in Android Studio.
If you are just looking for an alternative to Eclipse+ADT, my suggestion is to start with IntelliJ IDEA community edition first and then slowly migrate to Android Studio + Gradle. JetBrains website provides plenty of IDEA tutorials to start with.
hope this helps.
Can we use Android studio for AOSP(Android Open Source Project) development, is there a way to do it. I didnt find one. anybody got any idea on this please ?
You can use Android Studio as a IDE for AOSP, since it's just a modified version of InteliJ's IDE.
from AOSP root:
make idegen && development/tools/idegen/idegen.sh
Then just "Open Project" in Android Studio and select the android.ipr it generated.
To import AOSP source in Android Studio or Eclipse, follow the full instructions here :
https://android.googlesource.com/platform/development/+/master/tools/idegen/README
What Pedlar suggested above is one way of doing it. I ran into lot of Jar dependency issues when I tried it with IDEA community edition (Android Studio is a fork of IDEA IDE). The IDE keeps prompting you about duplicate jars etc. The generated project includes framework Java sources as well as App sources. I tried to build an App project which resulted in broken AOSP build. IMHO, IDEA is a great IDE for Java development. But didn't work well with AOSP.
What worked for me is using eclipse to browse/edit/debug framework sources, but build the code from a terminal window. To avoid AOSP build breaks, please create a shadow dir of AOSP (i.e. lndir of AOSP) and use shadow dir for eclipse project.
This is explained at Using eclipse to browse/edit AOSP link in step by step.
If you are working on AOSP, you might want to check Debugging Android framework services.