More problems installing Android SDK and Eclipse - android

My first issue is: I cannot seem to find an executable for the Android SDK! I have downloaded and installed via the Android SDK Manager the necessarie files, at least I hope I have. To start the ball rolling I download: API 15, Android SDK tools and platform tools plus Android 3.2. Am I missing something? The problem is I cannot find any executable file to run my `Android SDK! Where is it?
I then went on to download Eclipse Java IDE, thinking that now I have my Android SDK installed it will surely run, the problem here is that when I try to run the executable of the download file it comes back with message:
'The Eclipse executable launcher was unable to locate it's companion shared library'
Any help as to what I could do to finally run my Android SDK or Eclipse Java IDE would much be appreciated.

Download eclipse 'Eclipse IDE for Java Developers' from:
http://www.eclipse.org/downloads/
Then download SDK from:
http://developer.android.com/sdk/index.html
This video can help you:
http://www.youtube.com/watch?v=BLLX9EtG6CI

In fact the SDK has several executables: adb, android, etc. You will access these via Eclipse and/or command line. Setting up the Android development environment is surprisingly painful. It's more or less described here. Try that, and when you run into your next roadblock, you let us know.

An alternative, if you're having troubles getting everything set up, is MOTODEV Studio from Motorola. It's a free product, but requires registration. One of the use cases we pay attention to is new developers who are having trouble with Eclipse and/or the Android SDK.
Disclaimer: it's my team's product.

Related

Android studio not opening (windows)

when i open studio.exe it say
updating components
the following components not installed
But today only i downloaded standalone installer of android studio from offical website Please Help me
The only thing I can tell you is delete everything you have related to studio and try again. A large reason Android Studio is so great is that it is generally very easy to set up. Just download and open - everything, including the SDK, comes preinstalled.
Make sure you use this link to get Android Studio - it is the official link: http://developer.android.com/sdk/index.html

Create my own android app/ launcher

First of all, what software would be the best to use and where can i download it?
Is there any program that lets me work more by visual rather than working with a bunch of code?
I looked at the information Android has for developers and i download Eclipse Classic. However i get this error when i try to run it.
" A java runtime environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:
C:\users\administrator\desktop\eclipse…
If this turn out to be the best program to use....how can i fix this?
Actually Eclipse is the best tool to develop Android applications. And with the Android Development Tool (ADT) plugin for eclipse, you can create a simple interface graphically.
Use this tutorial to set up eclipse and ADT http://developer.android.com/sdk/index.html
The error you are facing is because you don't have the Java Development Kit (JDK) or it's not installed properly. Download it from here.
You're missing the JDK.
See Android SDK and, in particular, step 1 and the link to download the JDK

IntelliJ IDEA is not correctly forming Android project hierarchy?

I posted this question on the IntelliJ community forums but it seems as if they aren't very active so I'll just post it right here on S/O. I'm new to IntelliJ and I'm switching to use it from Eclipse which was really buggy and not useful to my needs. However, I'm attempting to build an Android project in IntelliJ Idea and it is only creating a .idea folder and the src directory without any inner files in them like it should. I've got the Android-SDK properly installed and I'm using JDK 1.7 and I'm even following the directions to properly start an Android project from the IntelliJ Wiki (found here) but it still leads me to no success. It seems as if I've got the Android Support plugin already installed with my program but then again I'm not really sure. Can I get some help please so I don't have to revert back to Eclipse again? Thanks.
Try to delete Android SDK and install it again, then download at least one Platform. IDEA runs SDK tools to create Android project template, for some reason it's failing on your system.
Check if it works better with JDK 1.6.
See the screencast that I've just recorded.

Which version of Eclipse to use with Android

I'm an old developer (Active since the Z80 days) starting fresh with Android.
The Android Developers page recommends installing Eclipse before installing the Android SDK.
It also states "There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice."
The Eclipse download page seems to offer 11 different flavors of the package. None mention Android and all seem to be the Version 3.6 that the Android Developers pages recommends avoiding. - What does one do?
Comments welcome
Joe Cullity
Get version 3.5 of Eclipse for Java Developers (you can reach this page via the "Older versions" link on the main download page). One of the problems I had with 3.6 was that autocomplete would freeze up for seconds at a time, trying to look up Android source. Until they fix that, 3.5 is better.
Once you've installed Eclipse, then you can follow the instructions to install the Android plugin.
What I'm running is Eclipse Galileo 3.5.0 and works great for me.
You want to download the "flavor" labeled Eclipse IDE for Java Developers from eclipse.org
I got MotoDev which is a complete Eclipse install with the Android SDK. It has emulators for all Moto phones. Perferct start in my opinion. Plus it's all Eclipse so you can all all the other options you want.
If you are interested download here:
http://developer.motorola.com/docstools/motodevstudio/download/
have fun, I am.

New to android dev

I am new to android dev, own an HTC Eris Droid (OS = 1.5 or 1.6 I believe). I am primarily a Microsoft .NET developer and am trying to figure out where to start.
What dev IDEs are suggested. I've seen the droid dev site and they suggest Eclipse. But which one?
Will installing Eclipse and the JRE interfere with .NET development?
What else will I need to get started? My OS is Win7.
TIA
As a .NET developer who has recently been looking at Android development, I can give you the steps I used:
Download Eclipse Classic 32-bit (as recommend by the Android docs) and extract it to a folder where it has write permissions (I use %homepath%\applications\eclipse\3.5\)
Download and extract the Android SDK to a permanent home and run SDK Setup.exe. Let it download/install all the packages
Add ANDROID_SDK_HOME\tools (expanded, obviously) to your %PATH% system environment variable in System Properties (WIN+BREAK)
Install the ADT (Android/Eclipse integration) plugin for Eclipse
Then to checkout the samples:
Create a workspace and a new Android project
Copy the contents of one of the samples (ANDROID_SDK_HOME\platforms\android-x.x\samples) into your project directory
Refresh your Eclipse view
I also strongly recommend checking out the Android Developer Guide and, in particular, reading the Application Fundamentals. It really gives a good overview of the terms used and the lifecycle of an application.
After that you can dive into the samples (installed by the SDK) with a little bit of clarity.
For development you will need*:
Java JDK - the JRE is not enough for Java development.
Eclipse - it doesn't really matter which "package" you choose, but for your needs the basic (smallest) one should be enough.
Android SDK + ADT
This should have no effect on .Net development, or on anything for that matter.
You don't actually need Eclipse and ADT, but since you asked about IDEs...
The android developer site system requirements says any version of Eclipse after 3.3.
Eclipse uses plugins to support different configurations that's why www.eclipse.org/downloads/ has so many different versions - they're the core IDE with different plugin configurations.
I'd recommend the 'Eclipse IDE for Java Developers' as this will have what you need without too many bits you don't - you can install additional plugins easily.
Of course, you'll also need to add the Android SDK once you have Eclipse - this is a set of tools and plugins that work with Eclipse.
Installing Eclipse and the JRE (Although you want the JDK - The Development Kit rather than just the runtime) will not interfere with your .Net development.
This version of Eclipse should work fine. Just select a download mirror.
You probably already have the JRE installed, but you should install the JDK from here.
Then you need to get the Android SDK, and ADT
After you install the Android SDK, it may be useful to create multiple virtual devices using the included Android emulator running different versions of Android. This will help you to learn features included in Android up to version 2.1 instead of being limited to your current device running 1.x.

Categories

Resources