Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
tripartist1
Old
(Last edited by tripartist1; 21st May 2012 at 04:25 AM.)
#1  
tripartist1's Avatar
Member - OP
Thanks Meter 13
Posts: 75
Join Date: Jan 2012
Location: Atlanta, GA
Default [Q] problems with android sdk

*RESOLVED*



ive searched to no prevail. id like to start developing apps but am having issues getting the environment set up. i have the jdk properly installed.

issue 1 (main \ major ):
ive installed the android sdk from multiple sources, but when i try to start sdk tools, the command prompt flashes/ opens briefly and i get this message:
"Failed to execute tools\android.bat:
The system cannot find the file specified."
do i need to change a PATH variable or something...

issue 2:
i cannot get eclipse to run. when i try to open the exe file ( because there is no short cut icon...?) it gives a message about not finding a companion library... ive try to change the properties in the file that is supposed to fix it, but it was already set the way its supposed to be. this is not major as i can use a different IDE.

so im completely lost as to th sdk tool. any help would be appreciated!


edit:
i just tried adding the file path to the android sdk ( PATH variable) and it still did not work... :/
i also just tried start the android,bat file and the cmd promt flashes briefly saying somthing about xcopy is not an operable command...etc couldnt read all of it...


btw im on windows 7 home premium
 
lufc
Old
#2  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1472
Posts: 9,442
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
 
RoberGalarga
Old
#3  
RoberGalarga's Avatar
Senior Member
Thanks Meter 210
Posts: 561
Join Date: Dec 2011
Location: In front of my laptop :D
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
The Following User Says Thank You to RoberGalarga For This Useful Post: [ Click to Expand ]
 
tripartist1
Old
#4  
tripartist1's Avatar
Member - OP
Thanks Meter 13
Posts: 75
Join Date: Jan 2012
Location: Atlanta, GA
Quote:
Originally Posted by RoberGalarga View Post
Check if this can help you.
Actually, you don't need to configure environment variables. You only need to install Java SE, and Eclipse and Android SDK should work fine.
well eclipse wont install either, it cant find some companion library.all i curently have is the java jdk and an IDE called intelliJ idea or something like that, nothing else will install...i had to add an environmental variable to get the java jdk to work on cmd. if you could give links to any files your using that would be of help. , that is if your on windows 7
 
RoberGalarga
Old
#5  
RoberGalarga's Avatar
Senior Member
Thanks Meter 210
Posts: 561
Join Date: Dec 2011
Location: In front of my laptop :D
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
The Following 2 Users Say Thank You to RoberGalarga For This Useful Post: [ Click to Expand ]
 
butler1970
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: May 2012
Location: Las Vegas, NV
Default Word of caution

I hate to discourage anyone from following their hearts desires especially when it comes to software development. But I wanted to share some advice with you coming from an experienced software engineer. I've been developing software for over 15 years. My experience comes mainly from developing Windows desktop applications in C/C++. I've also been developing software using Java for several years so I'm by no means new to Java technology or development tools.

I've only recently started to develop for the Android platform. It didn't take me long to get started (i.e. get the development environment setup and start developing using the AVD manager) but as I dig into it I'm finding that the Android platform has become very much like developing Windows applications which is interesting to find because I really haven't done a lot of user interface development using Java. In the past my Java development projects have always been more back end server integration related to App Servers and database integration (i.e. Apache/Tomcat, JSP, Oracle, etc.).

I have seen user interface development libraries in Java such as Swing in the past but haven't had a real need for them. So to tell you the truth I can't say how much better or worse the Android SDK user interface libraries are than the traditional JDK 1.4 libraries.

All of this is to say that when I say this you know it's coming from someone that isn't just learning how to program. My advice to you is that if you haven't done much Java development in the past that Android development is not the place to start. You might want to start with the basics first like just setting up a simple Java program and learning the technology first before you jump head long into something.

I've done that more times than I can count in my long career and I can tell you from experience it's the surest way to fail before you get started.
 
tripartist1
Old
#7  
tripartist1's Avatar
Member - OP
Thanks Meter 13
Posts: 75
Join Date: Jan 2012
Location: Atlanta, GA
Default thanks but...

Quote:
Originally Posted by RoberGalarga View Post
Sure...
Eclipse
Android SDK
Follow the indications of my previous link
i tried to use those files, but still the same problem, they wont launch/ install...in your post it says to launch them from the folder, correct...? the problem is, THEY WONT LAUNCH AT ALL...no UI for anything, just a quick flash of the cmd window for both of them and a pop up window for eclipse...

***i wasnt yelling, just frustrated...
 
elesbb
Old
#8  
elesbb's Avatar
Senior Member
Thanks Meter 1925
Posts: 4,288
Join Date: Jun 2010

 
DONATE TO ME
First. DELETE EVERYTHING FROM DOWNLOADED FILES TO EXTRACTED FILE GET RID OF ALL OF IT then clear trash can.

THen ensure the JDK is successfully installed by opening command prompt and typing "java -version" you should have build 1.7 or higher. If not, you may download it here http://www.oracle.com/technetwork/ja...s-1591156.html

Download this http://developer.android.com/sdk/index.html and pick the one that has "Recommended" next to it.

after you have that downloaded. FOLLOW THE STEPS BELOW TO A T! NO SHORTCUTS WHAT SO EVER!

Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.

Hope that helps and BE PATIENT you will get to play around soon enough
The Following User Says Thank You to elesbb For This Useful Post: [ Click to Expand ]
 
tripartist1
Old
#9  
tripartist1's Avatar
Member - OP
Thanks Meter 13
Posts: 75
Join Date: Jan 2012
Location: Atlanta, GA
Quote:
Originally Posted by elesbb View Post
...Then once everything is downloaded. simply FOLLOW ME again TO A T! and if you follow that you should get everything working. And seriously, FOLLOW IT TO A T! do not take shortcuts do not try to do more than one thing at a time just take it step by step. I had no problems getting it up and running by following that last link.

Hope that helps and BE PATIENT you will get to play around soon enough
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
 
elesbb
Old
#10  
elesbb's Avatar
Senior Member
Thanks Meter 1925
Posts: 4,288
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by tripartist1 View Post
thank you very much. i have what i need now, although i think i figured out my problem...stupid me was viewing the archive for eclipse instead of extracting the files to a separate folder, where the shortcut appeared!. thank you as it was your instructions that led me to my problem.
hahaha!! Sometimes all we need to do is slow down and look at whats infront of us xD glad you got it figured out!

 
Post Reply+
Tags
apps, development, environment variables, jdk, sdk
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...