sorry for the delated replyhow to delete android sdk??just delete the folder?
yes un-install htc sync
and then just delete the sdk folder
then go to the tools folder where you have copied them in your pc
open a command prompt there
(hold shift + right click ->click "open command window here")
connect your device to pc..normally (lock screen/home screen)
then on the command prompt...type this
"adb devices"
this should show your device as a listed device
that means adb is working fine now...now run the script and follow the rest of steps
if its still not working then
click on the "IRC HELP CHANNEL" present in my signature
join it...and I'll be there....to help you further