Android SDK Config on Linux Prior to Eclipse/ADT Install? - java

I read Lars Vogel's Android Development tutorial and then headed directly to the Android SDK download page.
I already have the Eclipse Java EE IDE (Juno; 4.2) installed, and would like to only install the Android SDK and then the ADT Eclipse plugin so I can start working from my existing Eclipse instance. As such, I downloaded the 64-bit linux (I'm on Ubuntu) "SDK Only" .tgz and extracted it to the my ~/sandbox/android-sdk directory.
Before I go and install the ADT Plugin, are there any "setup"/config steps with the SDK that I need to do ahead of time? If so, what? I'm even interested in optional tuning here. I only ask because the article referenced above is targeted at Windows users, and so are most of the other tutorials I've found. I'm worried that there might be some out-of-the-box functionality that the Windows SDK provides that must be dealt with manually for us Linux denizens. Thanks in advance!

From my experience, I believe the answer is no, there is nothing else you need to do before installing the ADT Plugin. If you wanted, you could open the SDK manager from ~/sandbox/android-sdk/tools/android and install some of the SDKs, but there's no reason you can't just do that from Eclipse after you install ADT.

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.

which version of Eclipse I should use for Android Development

I am almost confused about these versions of Eclipse. There are indigo and Kepler which can be downloaded from Eclipse website. Another thing is, when I download the ADT inside its folder there is another executable file for Eclipse that when you execute it, a different logo than the previously mentioned versions appears with title Android Development Tools, is it also another version of Eclipse?
which one should I use? Or it is all about user preference?
You do not have to download Eclipse and Android SDK separately.Simply download the ADT bundle. It will have Eclipse, Android SDK, SDK manager to download APIs for various versions of android, USB driver etc. it will also have tools like adb. You can use it to start, stop server, view devices etc.
You should download the adt bundle, that comes bundled with the recomended version of eclipse. Just google that. It has support for all android needs.
Use the eclipse that comes with it, since it has all the needed plugins for developing for android.
The link to the ADT of the previous answer contains eclipse already.
I am using the ADT as well, but there is also an early access tool, called Android Studio, maybe this is more to your taste?
http://developer.android.com/sdk/installing/studio.html

android development tool error in eclipse kepler and windows 8.1

I tried to install adt 23.3.0 in Eclipse Kepler, but I have a problem. I tried every thing such as run as administrator or uncheck contact all update sites ... But I still have the same problem. I use Windows 8.1 and the error is:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
Missing requirement: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I'm not exactly positive about this but since this question has received very little attention I figured any answer is better than no answer.
From what my understanding it is done differently in Eclipse Juno which you do from within Eclipse.
Instead you have to download the Android SDK separately and then set the SDK path in preferences...
window>preferences>Android>sdk location.
Make sure to create a folder in the same directory as Eclipse so Eclipse can easily locate the sdk. Hopefully this helps

Java eclipse run android project

im starting developing android applications and i learned from a Hello World tutorial. but when im running it this comes to the screen
Launch configuration ANSIBuffer references non-existing project Basic.
Please, help me and tell how i can run a android application.
Thanks
I would recommend downloading the official adt (android development tools) plugin for eclipse. You can find instructions on how to do that here: http://developer.android.com/sdk/eclipse-adt.html you need to make sure that you have the most recent version of android sdk installed before you do that. Instructions on how to install that are here (this includes a eclipse tutorial): http://developer.android.com/sdk/installing.html
I believe that that is all you need. Just ask if you need more help!
I did a guide once for a course, but it is in spanish:
http://otfusion.org/android/ (look for day 2)
But basically the guide is this:
Download JDK from here: Java SE - Oracle
Download Android SDK (.zip format, just unzip it in C:\android-sdk or if you are in *nix /home/user/android-sdk) from here: Android SDK - Developer Guide
Start ~android-sdk/tools/android and download your desired android target (eclair, donut, honeycomb, etc)
Download Eclipse for Java Developers* (as far I know, the latest eclipse WORKS on my notebook) from here: Eclipse - Indigo
Install eclipse in a readable/writable location like /home/user/bin or /opt/eclipse but give permission to the file - chown -r user:users /opt/eclipse (in Windows you must not have problems) otherwhise you will have problems.
Install ADT Plugin just add this site in Eclipse "Add Software" option (Help menu) https://dl-ssl.google.com/android/eclipse/
Restart Eclipse
Start one AVD and initiate your project using the Run button (As Android project) or whatever hotkey you use.
Also, Installing guide from developer.android.com Troubleshooting
*Note: Classic didn't work for me

Developing CLDC or J2ME applications under Mac OSX?

I have noticed that Oracle now has released a Java Platform Micro Edition SDK for OSX. It works, it can compile the provided examples and the included phone emulator works too. But how do I compile my own J2ME project from Ant or Eclipse?
There are a lot of related jars but they are all inside the ".app" in the /Applications directory. Eclipse does not like it when I put a toolchain path to inside the ".app".
Have you tried using the EclipseME plugin? It helps integrate JavaME (J2ME) development into Eclipse. Here's a guide for getting it working with Eclipse:
Eclipse ME / Configuration
You'll find plenty of documentation and how tos.
If you don't like EclipseME, I personally found Netbeans very good for mobile development:
Netbeans JavaME Page
Also, you weren't specific in your question, but the link you've provided seems to indicate you want to use MTJ. In that case, use this documentation to guide you through:
Eclipse MTJ - Getting Started
If you want to use ANT I have simply copied over the required jars from the Windows SDK and just used the pre verifier and javac from the osx 3.0 sdk, works well!

Categories

Resources