Hey guys, I am new to this forum so apologies if I'm posting in the wrong category. I want to run some psd files I have through drawPatch9 but I can only seem to get as far as the android-sdk-windows folder in command prompt (windows 7). I have the correct jdk and can run eclipse with no probs, just can't navigate to android-sdk-windows/tools. I get "system cannot find specified path" when I try "cd tools". I also tried tabbing through android-sdk-windows folder and I only get add-ons, docs, SDK Manager, SDK Readme and uninstall, no tools or platform-tools directories. I couldn't find a solution here or elsewhere, hoping someones ran into this before. Thanks in advance.
I can't believe no one's answered this. The SDK tools were moved to android/platform-tools, and you will need to open the SDK Manager and install the platform-tools package.
u can also add the directory to your path environment variables.
Assuming your running windows rightclick mycomputer>properties>advanced system settings>environment variables.
system variables box find path click edit and add the complete path use ; as a seperator
this way you can execute the tools from any directory
Sent from my LG-P999 using XDA
Related
okay, so there is a bug in the custom ROM that i put on my phone and it requires some ADB commands to fix
i am trying to install Android SDK to get ADB, but it tells me that i need to install Java JDK
so i've downloaded the 6u23 version of JDK for my windows x64, and installed it ... and i ran the Android SDK installer again, and it still says that i dont have Java JDK installed
how do i install the Android SDK?
right, so i've downloaded the Android SDK zip file , and adb.exe is not under the /tools folder
where can i get adb.exe??
use path to find java
I think you need to add to your environmental variables in the line "path" append to the back end of it < ;path to java>. The path to java may be like C:\Program Files\Java.
You get to environmental variables by going Control Panel > System > Advanced Settings.
donob09 said:
I think you need to add to your environmental variables in the line "path" append to the back end of it < ;path to java>. The path to java may be like C:\Program Files\Java.
You get to environmental variables by going Control Panel > System > Advanced Settings.
Click to expand...
Click to collapse
I've got the same issue. No matter what I try I can not get SDK to recognize the fact that JDK 6u23 is on the Vista_64 I'm running.
I've tried to edit the system variable path, but I must be missing something. I'm not really sure of the proper commnad string, and there are even a couple of places that look attempt worthy, so that is what I did, I edited the path, rebooted and still nothing, undid that change and tried it uncer environment variables, still nothing. So I've gone back and undone the changes. Any details on the editing process you suggest might just to the trick. Thanks for helping a nub.
EDIT: Ok, here is what worked for me: In the advanced system settings, environment variables, I noticthed that the CLASSPATH had the path string commenced with "." and ";" thats a dot and a colon. i.e. .;C:\Program Files\Java... This was something that windows or oracle or some sub-routine must have put in place. I certainly didn't them there. I decided to delete the two special charaters so the string for my is set thus: CLASSPATH C:\Program Files\Java\jre 1.6.0... After I changed it, I ran the windows installer and the program went right through, reported finding JDK and intalled the components in SDK. What a relief cuz I was high centered on a rock. Glad I noticed that and deciede to take a hack at it. Just lucky I guess.... Cheers all!
(GUIDE) Automated Root (well kinda lol)<MAC ONLY>(GUIDE)
Hi everyone ,
I am VERY new here but would like to publish a project that I am working on right now. Basically what i am going to show you is a *half* done project on a auto rooter. This does not use a exploit of any kind but will do most of the commands for you, using the applescript program.
Now if you will, *applause* (LOL) I will tell you the instructions to get root!!!!!!!! *more applause*
1. Search on Google "android sdk". Then download mac version of the sdk. Put it on your desktop and rename it:
android-sdk-mac_x86
2. Next i will use part of siedkins's awesome guide to show you what you should do next! You can find it here
Now launch Terminal - ⌘ + space then type Terminal or Applications>Utilities>Terminal
Now drag and drop the file called "android" in the "tools" folder into your terminal window and you should see something like:
/Users/siedkins/android-sdk-mac_86/tools/android
Then hit enter - this should load Android SDK
Next go to Available Packages on the left and Android Repository > Android SDK Platform-tools, revision 1 -tick the box and hit "Install Selected"
It should download and install the Platform Tools which includes ADB !!!!
Now quit Android SDK after it has downloaded and go back into Finder. Now you should see a new folder "platform-tools" in the "android-sdk-mac_86" folder. Open that and you can now see a file called adb.
Now .... I am going to show you how to make your life a lot easier in Terminal to run ADB without having to navigate to the folder every time you want to launch it.
Go back to your Terminal window and type (or copy & paste):
Code:
cd ~
The screen should then look like
NAME_OF_YOUR_MACHINE:~ USERNAME$
For me I have:
Mac-Pro:~ siedkins$
Next, type
Code:
touch .bash_profile
to create your new bash / path file
Next, type
Code:
open -e .bash_profile
to open it in TextEdit.
Now into Text Edit please copy:
Code:
export PATH=${PATH}:
Then go into Finder and navigate your your "android-sdk-mac_86" folder. Then click on the "platform-tools" folder and drag and drop this into TextEdit at the end of the code above that you copied. Mine looks like:
export PATH=${PATH}:/Users/siedkins/android-sdk-mac_86/platform-tools/
Yours should look like:
export PATH=${PATH}:insert your path to the "platform-tools" folder in your Android SDK here
All you need is that one line. Then Save and exit TextEdit and then very importantly QUIT TERMINAL.
Click to expand...
Click to collapse
3. What you should do now is to turn on USB Debugging in your phone (Settings > Applications > Development > USB Debugging) Now once you have done this download the zip and open "See if adb works" . What you should see is your unique id number in terminal....
5. Next
NOOOOOOOOOOOOTTTTTTTTTTTTTT DONEE
What is this I don't even
Hi everyone!
I have Nexus S. Currently installed ICS ROM. Now I'm trying to root it, but I cannot access the folder where fastboot.exe is located.
I open CMD and type cd \nexussrootICS
nexussrootICS is a name of the folder where fastboot.exe is located.
but when I type that, it says that "system cannot find the path specified".
I've checked many times the path. It is C:\user\myname\ + nexussrootICS
but I cannot access it from CDM.
What am i supposed to do? maybe some changes are required in environment variables???
Thanx in advance!
Do you have latest sdk installed? I always cd android-sdk-windows/tools (which is where fastboot.exe is), but I think it taken out in some of the most recent updates to the sdk so I'm just usin an older fastboot
Sent from my Nexus S 4G using Tapatalk
is this the guide your using if not this guide worked for me http://nexusshacks.com/nexus-s-root/how-to-root-nexus-s-or-nexus-s-4g-on-ics-or-gingerbread/
Thanks guys, already fixed! It was about semicolon in environment variable>> path.
Could someone update this thread (http://forum.xda-developers.com/showthread.php?t=736491) with the following information?
I think it would be extremely helpful to noobs like me. As it took me several hours to search and figure out this extra step. Thank you!
-----------------------------------------------------------------------------
You need Android SDK (http://developer.android.com/sdk/index.html) before you start.
After downloading Android SDK - run the SDK Manager - check the box next to Android SDK Platform-tools - then click Install Packages button at bottom of screen.
This installs the 'platform-tools' folder which contains the ADB file that "has_been_moved" from the 'tools' folder to this now installed 'platform-tools' folder.
So, step #4 from post #1 would change from this:
4. Type in: cd _____PATH TO ANDROID SDK FOLDER______\tools
Example: cd C:\Users\USERNAME\Desktop\android-sdk-windows\tools
to this:
4. Type in: cd _____PATH TO ANDROID SDK FOLDER______\platform-tools
Example: cd C:\Users\USERNAME\Desktop\android-sdk-windows\platform-tools
-----------------------------------------------------------------------------
If these changes could be made to the original post, I think that would be best but if it could at least be added to the thread I think it would be very helpful to other noobs. Being a noob myself I cannot post to the thread.
Thanks!!
*note* The first time I downloaded Android SDK, I used the 'installer_r16-windows.exe' file which was "recommended" but no matter how many times I tried, the SDK Manager would not download the platform-tools file, it always failed. I uninstalled Android SDK and downloaded the .zip file and extracted to a folder of my choice and it worked fine. May just be my experience.
bnjmnalan said:
Could someone update this thread (http://forum.xda-developers.com/showthread.php?t=736491) with the following information?
I think it would be extremely helpful to noobs like me. As it took me several hours to search and figure out this extra step. Thank you!
-----------------------------------------------------------------------------
You need Android SDK (http://developer.android.com/sdk/index.html) before you start.
After downloading Android SDK - run the SDK Manager - check the box next to Android SDK Platform-tools - then click Install Packages button at bottom of screen.
This installs the 'platform-tools' folder which contains the ADB file that "has_been_moved" from the 'tools' folder to this now installed 'platform-tools' folder.
So, step #4 from post #1 would change from this:
4. Type in: cd _____PATH TO ANDROID SDK FOLDER______\tools
Example: cd C:\Users\USERNAME\Desktop\android-sdk-windows\tools
to this:
4. Type in: cd _____PATH TO ANDROID SDK FOLDER______\platform-tools
Example: cd C:\Users\USERNAME\Desktop\android-sdk-windows\platform-tools
-----------------------------------------------------------------------------
If these changes could be made to the original post, I think that would be best but if it could at least be added to the thread I think it would be very helpful to other noobs. Being a noob myself I cannot post to the thread.
Thanks!!
*note* The first time I downloaded Android SDK, I used the 'installer_r16-windows.exe' file which was "recommended" but no matter how many times I tried, the SDK Manager would not download the platform-tools file, it always failed. I uninstalled Android SDK and downloaded the .zip file and extracted to a folder of my choice and it worked fine. May just be my experience.
Click to expand...
Click to collapse
or you could bypass all that and just use SuperOneClick......
you could should have just PM'd the author of that thread.
or flash any custom rom with it enabled... or update to ATT gingerbread (official stock has it enabled)... or read newer posts.
It seems it is not an easy thing to start android development. I followed the official instruction and tried to run the MyFirstApp example from developer.android.com on my Windows 7 64bit machine with AVD. But after 2 days effort, I am still cannot make it work for me in Eclipse and in adb command line.
The best I reached in command line approach is the following -- the second block with italic words shows the error I got:
Code:
E:\Workspace\MyFirstApp>ls bin
AndroidManifest.xml build.prop
AndroidManifest.xml.d classes
MyFirstApp-debug-unaligned.apk classes.dex
MyFirstApp-debug-unaligned.apk.d classes.dex.d
MyFirstApp-debug.apk dexedLibs
MyFirstApp.ap_ proguard.txt
MyFirstApp.ap_.d res
[I][B]E:\Workspace\MyFirstApp>adb install bin\MyFirstApp-debug.apk
failed to copy 'bin\MyFirstApp-debug.apk' to '/data/local/tmp/MyFirstApp-debug.a
pk': No such file or directory
rm failed for /data/local/tmp/MyFirstApp-debug.apk, No such file or directory[/B][/I]
I hope somebody can help me about these:
1. I am in Windows with AVD, why adb want to find /data/local/tmp, which is linux style location?
2. where does the adb try to copy the apk file to? My SDK is installed under "C:\Users\myname\AppData\Local\Android\android-sdk". There is no space in the address path. The source apk file is ready and should not be the cause of that error, I think.
3. Any configuration of the installed SDK needs to be modified in Windows machine? I think the SDK manager should be able to figure out what the machine is and download/install appropriate components for the user. Is that right?
I have similar or the same issue by using Eclipse.
thanks,