hi need help on SDK MANAGER - Desire HD Q&A, Help & Troubleshooting

HI I HAVE INSTALLED SDK MANAGER ALONG WITH Java SE Development Kit (JDK) AND ECLIPSE . BUT WHEN I TRIED TO PUSH MY FRAMEWORK-RES.APK VIA SCRIPT IT SHOWS ME THIS ERROR ( 'java' is not recognized as an internal or external command,operable program or batch file. )
and in CMD its giving me ( The system cannot find message text for message number 0x2331 in the message file for Application. )
M I MISSING SOMETHING TO INSTALL HERE????

happy_:-) said:
HI I HAVE INSTALLED SDK MANAGER ALONG WITH Java SE Development Kit (JDK) AND ECLIPSE . BUT WHEN I TRIED TO PUSH MY FRAMEWORK-RES.APK IT SHOWS ME THIS ERROR ( 'java' is not recognized as an internal or external command,
operable program or batch file. )
M I MISSING SOMETHING TO INSTALL HERE????
Click to expand...
Click to collapse
Are you using linux or windows? What commands are you using to push? Did you set up ADB? More info for us will help us help you better.

TheJokah said:
Are you using linux or windows? What commands are you using to push? Did you set up ADB? More info for us will help us help you better.
Click to expand...
Click to collapse
IM USING WINDOWS AND "adb push framework-res.apk" command to push
i dont know how to setup ADB???

happy_:-) said:
IM USING WINDOWS AND "adb push framework-res.apk" command to push
i dont know how to setup ADB???
Click to expand...
Click to collapse
google installing ABD in windows

TheJokah said:
google installing ABD in windows
Click to expand...
Click to collapse
i installed adb and restart my pc but still same erorr.....

Download and start the advanced ace hack kit and adb should work fine :thumbup:
Sent from my HTC Desire HD using xda premium

Related

Adb help

Hi.i am trying to set up adb on my compaq laptop vista,i tried everything,youtube videos,guides
Still dont work,please help me if there,s any other metod.any help ill bappreciated,
Sent from my HTC Vision using XDA App
Have you tried this ?
http://forum.xda-developers.com/showthread.php?t=865685
Prob solvd thanks so much.
Sent from my HTC Vision using XDA App
Please help me on this one too
Hi,i am running vista trying to use gfree 2,seems to b everything working finr,adb starts fine,prob is when I run a cmd it says no file or directory found.please I m new on droid,please help me how to execute files through adb.
Sent from my HTC Vision using XDA App
imranbandial said:
Please help me on this one too
Hi,i am running vista trying to use gfree 2,seems to b everything working finr,adb starts fine,prob is when I run a cmd it says no file or directory found.please I m new on droid,please help me how to execute files through adb.
Click to expand...
Click to collapse
Have you been through the guide that I linked above, and done all the steps to get adb setup on your PC ?
If you're having a problem with the gfree procedure it would be best if you post up a question in it on that thread. Are you sure you're typing the commands exactly as it says there ?
the only thing i wanna know how to execute files,where should i put gfree on my comp and on my phone so the adb cmd recognize it,thanks once again .adb working fine it recognize my device the only thing it dont recognize any cmds,file or directory not found..
imranbandial said:
the only thing i wanna know how to execute files,where should i put gfree on my comp and on my phone so the adb cmd recognize it,thanks once again .adb working fine it recognize my device the only thing it dont recognize any cmds,file or directory not found..
Click to expand...
Click to collapse
When you are running adb, if for example you do "adb push gfree", where you are trying to copy (push) the file "gfree" from your PC to your phone, it will look in your current directory for gfree. So given you are usually doing this at the command prompt, in Windows do a "cd" (change directory) to change to the directory where you have put gfree.
For example, if gfree is in "\users\fred\desktop", then do "cd \users\fred\desktop", then run your "adb push gfree" and it will find the file.
If you do "adb shell" does that work, does it come up with a $ prompt ? If so, then it's working and has started a command "shell" on your phone.

(q) adb

I know this is a noob question but I installed the sdk on my windows vista 32bit PC I've read like everything I could about doing this but I can't seem to get adb working when I run cmd adb it says 'adb' is not recongnized as an internal or external command, operable program or batch file. I'm pretty new to this but want to be able to use this any help would be great thanks in advance..
Sent from my PC36100 using XDA App
Are you running adb from within the /platform-tools directory?
The basics of adb
http://forum.xda-developers.com/showthread.php?t=694250
You have to run the commands from wherever you extracted the sdk ex I put mine on the main c drive so I have to type this first:
cd c:/android-sdk-windows/tools
Sent from my PC36100 using XDA Premium App
bender1077 said:
Are you running adb from within the /platform-tools directory?
Click to expand...
Click to collapse
I tried it from the start menu and that was what it said I also tried it in platform-tools it just flashes the screen for a second and thats all..
Sent from my PC36100 using XDA App
You're getting that error because you're not in the folder where adb is. Look in the platform-tools folder. You can run it from that folder, or just copy it into the tools folder.
teh roxxorz said:
You can run it from that folder, or just copy it into the tools folder.
Click to expand...
Click to collapse
If all you are using from the SDK is ADB, then moving ADB to the /tools directory is not an issue. This will bork the functionality of other tools in the SDK though.
U can also add it to ur command lines so u don't have to always be in ur sdk folder to use it. Google adb and there r instructions on how to do this. Its very easy

[Q] Struggling to install Android SDK Tools :? [adb error]

hey y'all
I'm currently having issues installing Android SDK to my laptop (running Windows 7 32-bit)
I've downloaded Android SDK program but I try to install it says "Java SE Development Kit (JDK) not found", prompting me to download the kit from java.oracle.com
So off to Java, I download the kit under link ' jdk-6u25-windows-i586.exe'
Install the kit successfully and try to install Android SDK again...but same error message
Android SDK Tools: installer_r11-windows.exe
Java JDK: jdk-6u25-windows-i586.exe
I've even uninstalled and re-installed HTC Sync, copied the HTC_Driver_32 & extract in C:drive...
I've been following the instructions from these links:
How to install adb windows 7 32 and 64 and should work on XP
Workaround for HTC Hero Sync Problem in Windows 7
How To: Set Up ADB/USB Drivers for Android Devices
HELP!
herb1 said:
hey y'all
I'm currently having issues installing Android SDK to my laptop (running Windows 7 32-bit)
I've downloaded Android SDK program but I try to install it says "Java SE Development Kit (JDK) not found", prompting me to download the kit from java.oracle.com
So off to Java, I download the kit under link ' jdk-6u25-windows-i586.exe'
Install the kit successfully and try to install Android SDK again...but same error message
Android SDK Tools: installer_r11-windows.exe
Java JDK: jdk-6u25-windows-i586.exe
I've even uninstalled and re-installed HTC Sync, copied the HTC_Driver_32 & extract in C:drive...
I've been following the instructions from these links:
How to install adb windows 7 32 and 64 and should work on XP
Workaround for HTC Hero Sync Problem in Windows 7
How To: Set Up ADB/USB Drivers for Android Devices
HELP!
Click to expand...
Click to collapse
It's a known issue. If you have JDK when you install SDK and get that error juck click back and then forward.
'adb' is not recognized...
new problem...managed to follow laie's method to install adb up till the step where I must type adb devices
I get this error (attached):
'adb' is not recognized as an internal or external command, operable program or batch file.
MORE HELP?!
herb1 said:
new problem...managed to follow laie's method to install adb up till the step where I must type adb devices
I get this error (attached):
'adb' is not recognized as an internal or external command, operable program or batch file.
MORE HELP?!
Click to expand...
Click to collapse
Check the ../platform-tools in stead of ../tools directory.
In my tools directory, I noticed a txt file (adb_has_moved)
Open it and it says:
'The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.'
So I open Android SDK and AVD Manager, it immediately starts to look for updates and gives me this error message:
'Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect'
What now?
Even tried open Manager from cmd (using android.bat from tools directory), didn't immediately look for updates but eventually it did & gave same error!
HELP?
herb1 said:
In my tools directory, I noticed a txt file (adb_has_moved)
Open it and it says:
'The adb tool has moved to platform-tools/
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.'
So I open Android SDK and AVD Manager, it immediately starts to look for updates and gives me this error message:
'Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect'
What now?
Even tried open Manager from cmd (using android.bat from tools directory), didn't immediately look for updates but eventually it did & gave same error!
HELP?
Click to expand...
Click to collapse
It should update. Don't you have some firewall that precludes it to download updates ?
Edit: If you are using windows don't install Android SDK into the Program Files directory. You need special permissions to modify that folder so that's why you might have problems in the future. What you have reported first is a connection problem which has to be firewall related.
paul.c said:
It should update. Don't you have some firewall that precludes it to download updates ?
Click to expand...
Click to collapse
I think so (using work's PC)...any other way, maybe using my HTC?
herb1 said:
I think so (using work's PC)...any other way, maybe using my HTC?
Click to expand...
Click to collapse
Disable the firewall.
paul.c said:
Disable the firewall.
Click to expand...
Click to collapse
managed to download it via wireless on my HTC...thanks pal

[Q] problem with themeing

So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Omnicide said:
So everything gone fine till I try to push the framework-res.apk to my phone.
adb push framework-rez.apk /system/framework/
'adb' is not a recongnized as an internal or external command,
know I understand what that means but I installed SDK manager and had no cmd in there so I just used Command Prompt. If that is all of my problem how to I get SDK cmd? It didnt install when I installed the problem.
Click to expand...
Click to collapse
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
yoft1 said:
It's not enough to just install SDK manager, you also have to install ADB if you want to interface with your phone through your computer. You shouldn't have to go through SDK manager to use ADB once you have it installed, it should work straight through windows command prompt.
http://www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android/
That will walk you through installing adb. Good luck.
Click to expand...
Click to collapse
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Omnicide said:
Well thank you that helped me get pass that issue. Now how do I change the permissions on my phones framework-res.apk?
The error I have now is
"failed to copy 'framework-res.apk' to '/system/framework/framework-res.apl': Read-only file system."
I can't seem to figure a way around this.
Click to expand...
Click to collapse
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
yoft1 said:
I had that issue too, how I bypass it is to boot to CWM, go to "mounts and storage", then mount /system (and /data if that's relevant to what you're pushing). Others have used a line of code to mount the system from the PC end, but I find this easier to do through the phone.
Click to expand...
Click to collapse
Thank you that did the trick
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
Go to the system32 folder on your c drive and copy cmd from there to your tools folder in the sdk.
Now when you want to push, put the files you want to push in the tools folder and then open up the cmd that you placed in that folder, then run the push command.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Omnicide said:
Thanks ill give that a try in morning. That would be a better then how im doing it now my stuff is in all random folder and locations to get it to work.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Master&Slave™ said:
That's actually how I do it so it should work for you. Good luck
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
It worked for the file being in that folder and all. But I still have to do it in recovery and unmount system. I still get the read-only error

File recovery

Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
psuvette said:
Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
Click to expand...
Click to collapse
ADB (make sure adb.exe is in your path)
Click to expand...
Click to collapse
10chars
psuvette said:
Hi, I'm trying to follow theinstructions here:
http://forum.xda-developers.com/showthread.php?t=1994705&nocache=1
I have the SDK installed, the phone is rooted, CYGWIN is installed, etc. But I cannot get ADB to work in Cygwin. It doesn't respond as a command even though I know that the phone can connect using adb. Do you have any suggestions?
Click to expand...
Click to collapse
Why do you try adb in cygwin? Cygwin doesn't use the cmd of windows so adb won't work.
Sent from my GT-I9500 using xda app-developers app

Categories

Resources