Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old September 21st, 2010, 05:53 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Can't install SDK

I'm running Win7 64bit and have followed the instrucitons for installing the Android SDK at Installing the SDK | Android Developers, however I can't start a new Android project because I get an error saying that a SDK target must be specified.

I've run the android.bat file in my C:\Android SDK\tools folder but also get an error saying ' C:\Android SDK\platforms is missing'. All the fixes I've found for this say use the 'Android SDK and AVD Manager' option within Eclipse but when I select this option it says 'Location of Android SDK has not been setup'. When I attempt to set it up I don't get any platforms to choose from.

I've downloaded the Android SDK from Android SDK | Android Developers and extracted to C:\Android SDK.

I've downloaded Eclipse IDE for C/C++ Developers and extracted to C:\Eclipse

I'm in need of some desperate help

Lintz is offline  
Reply With Quote
sponsored links
Old September 21st, 2010, 08:17 AM   #2 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

Did you set up an Android SDK location at Eclipse->Window->Preferences->Android?
vladimirov is offline  
Last edited by vladimirov; September 21st, 2010 at 08:28 AM.
Reply With Quote
Old September 21st, 2010, 06:24 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by vladimirov View Post
Did you set up an Android SDK location at Eclipse->Window->Preferences->Android?
Yes, I have as per screen shot but as you'll see I get the error about missing platforms.

How can I download the missing platforms?
Attached Images
File Type: jpg sdk.jpg (119.8 KB, 27 views)
Lintz is offline  
Reply With Quote
Old September 22nd, 2010, 09:50 PM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Surely there is a simple solution?
Lintz is offline  
Reply With Quote
Old September 23rd, 2010, 02:10 AM   #5 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

Try to reinstall all, because a solution finding take a lot of time.
vladimirov is offline  
Reply With Quote
Old September 23rd, 2010, 05:21 AM   #6 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

I've already deleted everything and started again but I get the same error messages. I even attempted to install on another computer (Win7 32bit) but get exactly the same messages.

To confirm, does the Android SDK zip file contain the 'platorms'? If not, how do you download them as Eclipse won't allow access to the Android SDK and AVD Manager until at least 1 platform is selected?
Lintz is offline  
Reply With Quote
Old September 23rd, 2010, 06:33 AM   #7 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

There is a setup.exe in android SDK directory. Run it, select some update, and download them.

And check that you have the last version of Android SDK, Eclipse and Eclipse plugin.
vladimirov is offline  
Reply With Quote
Old September 23rd, 2010, 07:22 AM   #8 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by vladimirov View Post
There is a setup.exe in android SDK directory. Run it, select some update, and download them.
Not in the zip file I downloaded from Android SDK | Android Developers (android-sdk_r07-windows.zip). Gotta ask, is that the right file to download?
Lintz is offline  
Reply With Quote
Old September 23rd, 2010, 09:19 AM   #9 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

Now it named SDK Manager.exe.
vladimirov is offline  
Reply With Quote
Old September 24th, 2010, 04:50 AM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

When I run that I get a dos box for about a second and then it disappears...nothing else happens. When I do as the SDK readme says and run tools\android.bat update sdk from the command line I again get an error saying 'platforms is missing'.

Has anyone got this installed and running on Win7 32bit or 64bit?
Lintz is offline  
Reply With Quote
sponsored links
Old September 24th, 2010, 05:37 PM   #11 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

Try run it as winxp application.
Compatibility Mode - Windows 7 Forums
vladimirov is offline  
Reply With Quote
Old September 24th, 2010, 05:42 PM   #12 (permalink)
Junior Member
 
Join Date: Apr 2010
Posts: 17
 
Device(s):
Carrier: Not Provided

Thanks: 12
Thanked 2 Times in 2 Posts
Default

I'm just installed Ubuntu, I like it, I put all needed enviroment for android development in an hour!
vladimirov is offline  
Reply With Quote
Old September 25th, 2010, 04:54 AM   #13 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Tried running as Xp SP3 but came message about missing platforms.

If someone has ALL the required files installed can they zip them up and give me a link so I can at least get started?
Lintz is offline  
Reply With Quote
Old September 25th, 2010, 10:17 AM   #14 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

The SDK no longer contains the platforms, please see content of SDK Readme.txt (root of install). Shown below ...


Welcome to the Android SDK!
The Android SDK archive now only contains the tools. It no longer comes
populated with a specific Android platform or Google add-on. Instead you
use the SDK Manager to install or update SDK components such as platforms,
tools, add-ons, and documentation.
In order to start developing applications, you must install at least one
version of the Android platform using the SDK Manager.
This requires an Internet connection, so if you plan to use the SDK
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Manager.exe".
From the command-line you can also directly trigger an update by
executing:
tools\android.bat update sdk
For more information, please consult the Android web site at
Android Developers
mikeedw is offline  
Reply With Quote
The Following User Says Thank You to mikeedw For This Useful Post:
vladimirov (November 10th, 2010)
Old September 25th, 2010, 10:43 AM   #15 (permalink)
New Member
 
Join Date: Sep 2010
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Still been wrestling with this.

Solution is to create the directories platforms and add-ons manually under android-sdk-windows and then run sdk manager.exe
mikeedw is offline  
Reply With Quote
The Following User Says Thank You to mikeedw For This Useful Post:
Lintz (September 25th, 2010), vladimirov (November 10th, 2010)
Old September 25th, 2010, 11:16 PM   #16 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2010
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks mikeedw, that has solved my issue and I'm now downloading platforms
Lintz is offline  
Reply With Quote
Old October 7th, 2010, 01:16 AM   #17 (permalink)
New Member
 
Join Date: Oct 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

why is this so painfull?

I wasted 40 bucks to buy a book and naturally the install directions don't work, presumably because now, the platforms are not there any more?

How do I uninstall eclipse, jave etc from scratch if I need to? I really don't know what this installation is doing under the covers.

S/W used to be a lot easier to install. These days, it seems so hacky.
georgejo is offline  
Reply With Quote
Old September 26th, 2011, 09:53 PM   #18 (permalink)
New Member
 
Join Date: Sep 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default hi mikeedw : still i am facing the same issue

hi mikeedw,

I have 2 folders platforms and add-ons in the android sdk and tried clicking SDk Manager.exe, its not working fine, while clicking Sdk Manager.exe, its opening the screen then after 2 seconds, its get closed

i am using windows XP, and i tried downloading platforms from eclipse but the repository url is not working fine,

fyi, i have symantec antivirus intalled, is that the issue?

could you please help on this as i am very new to android and want to set up the environment and have to start learning....

Regards,
Sujai...
sujesh ramacha is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.