I've been trying to take some screenshots on my G1 for some time now but nothing seems to work. I followed the instructions on these two pages http://www.allshadow.com/forum/viewtopic.php?f=9&t=4739
http://soi.kd6.us/2008/11/06/so-i-took-a-screenshot-on-my-g1heres-the-howto/
But ddms won't launch. Every time I click on ddms in the android-sdk-windows-1.1_r1\tools folder a cmd prompt flashes and then nothing happens.
What am I doing wrong? Or is there something wrong with my phone?
Now windows didn't prompt me to install new hardware when I plugged in my phone so I had to open Control Panel | Administrative Tools | Computer Management | Device Manager, go down to Other Devices and choose the Android phone, then right click Properties, and choose Update Driver, then browse to the specific location.
Does that make a difference?
Also I'm running on windows vista on my computer and I'm running JFv1.42 on my G1
Any help would be greatly appreciated. Thanks :]
Instead of running the batch file, have you tried to run cmd prompt first? Goto Start > Run > type in 'cmd' and hit enter. Then type in ddms and hit enter.
It seems whatever is happening, it is throwing an error once you click the batch file, so at least instead of closing you can post the error message here then it'll be clearer as to what is happening.
I opened up the cmd prompt and typed in ddms and this is what I got:
" 'ddms' is not recognised as an internal or external command, operable program, or batch file"
Does that mean that its not installed properly?
And I forgot to mention in my original post, that none of the batch files in the tools folder launch when clicked on.
Sounds like you haven't installed the SDK properly, especially the step where you add the /tools directory in the system environments.
Try this though: Copy the ddms.bat file and put it in /system32/ folder on your pc, and then try to launch cmd and run again..see if that helps.
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
ChelseaO88 said:
Thanks
I figured out the problem. C:\WINDOWS\system32 wasn't in the system enviroments path
Click to expand...
Click to collapse
I'm having the same issue...how do I go about adding this?
Code3VW said:
I'm having the same issue...how do I go about adding this?
Click to expand...
Click to collapse
in windows, right click on my computer, go to properties, in one of the tabs, its in there.....
if you are running linux, and asking this, then you shouldn't be using linux....
Vista Home Premium...
I click on "Environment Variables" in the Advanced tab and it opens another menu, one with the option to add user variables, and one with system variables. Which one do I need to add, and what exactly do I need to add?
I tried creating a system variable with the variable name of test and the path as C:\Windows\System32 but it didn't solve the problem...
If I open cmd and cd to my sdk directory and type ddms I get:
Unable to access jarfile lib/archquery.jar
SWT folder '' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
its a hell of a lot easier using eclipse, just hit the ddms tab and click the icon that looks like a picture
nobody knows how to make this work without using yet another program??
still cant figure this out
Having the same problem, when I click ddms it flashes then disappears. Any idea how to add the file path in windows 7?
If you can't get this to work - There's a nice little program in the market, simply called "screenshot" (free), that'll let you make screenshots either with a timer or by shaking the phone.
Hi folks,
First time poster.
Just have some basic questions.
1. After running adb shell and closing the terminal, adb.exe is left running in task manager in windows. Is it best practice to kill it before closing the terminal?
2. I ran sdk setup.exe and it installed/updated some stuff but I don't see any
entries in add/remove programs. What is the best way to uninstall the sdk?
3. Does the updates install only inside the sdk folder contents since I don't see any traces of the sdk anywhere else?
Thanks for your help.
watatek said:
Hi folks,
First time poster.
Just have some basic questions.
1. After running adb shell and closing the terminal, adb.exe is left running in task manager in windows. Is it best practice to kill it before closing the terminal?
2. I ran sdk setup.exe and it installed/updated some stuff but I don't see any
entries in add/remove programs. What is the best way to uninstall the sdk?
3. Does the updates install only inside the sdk folder contents since I don't see any traces of the sdk anywhere else?
Thanks for your help.
Click to expand...
Click to collapse
1) It shouldn't matter. If you start adb again, it will start the service.
2) As far as I can tell, the sdk is all contained in one folder. Just delete the whole thing to 'uninstall' it.
3) Yes. Unless I'm missing something.
Thanks for the tip.
Hi!
I have a problem.
I'm just started working with SDK Manager, and Eclipse.
I made an AVD, but every time, I'm want to use it, even in the Sdk Manager, even in the Eclipse (by Run something as an android project), I got the same error.
emulator: ERROR: no search paths found in this AVD's configuration.
Weird, the AVD's config.ini file is malformed. Try re-creating it.
What could be the problem?
I done everything just like as it writted down in the android developers.
Thank you!
I'm not sure i have the right directory and i'm a newbie. sry.
But ive gotten to eclipse and preferences then android, but when i browse i dont know where my root directory is..
Once i thought i had it once but i was told that i was missing certain files..
I'd really like some help..
EDIT program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby- the directory that i think works-)
Also when i browse for the root directory i get this message:"Error Parsing the sdk-( program Files\Sun\JavaDB\javadoc\jdbc4\org\apache\derby\platforms is missing"
Then after i exit out of the notification i get this " SDK Platform Tools is missing! Please Use the SDK Manager to install it."
And then after that one i get this: Failed to get required ADT version number from the sdk. The android developer tool may not work properly.
To install the ADT tools plugin you need the link from the android site for the repository.. then you go to preferences in eclipse and set android to the android sdk location.
not sure, but i think thats what you were talking about.
This is my first post as an XDA member. I apologize in advance for any thing I may miss in communication. I also appreciate every thing about this website and the people in it, being that now there are endless opportunities paved for modifying my cell phone.
I install java and jdk, also the adt bundle, and apk manager and had everything up and running perfectly. I even went through and changed the logo of an app, and the name of the app through the projects folder, after decompiling apk. then successfully recompiled the app, signed it, put it on my phone and it runs great.
However, I tried to decompile an another apk at a later time, and it errored. Then afterward the apk manager no longer worked properly. It will open up, I can select option 22, then select whatever I have put in the modded folder, but whenever I try to decompile or extract the apk, the apk manger automatically closes. I have tried uninstalling all java, and adt bundle and apk manager, and going through and redo all the pat variales. Still same result.
Here is the log:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
Lost was unexpected at this time.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Here are my variables:
Variable Name: Variable Value:
ADB C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform-tools\adb
Path ;C:\Program Files\Java\jre7\bin
;C:\Program Files\Java\jdk1.7.0_10\bin
;C:\AndroidSDK
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\platform- tools
;C:\AndroidSDK\adt-bundle-windows-x86_64\adt-bundle-windows-x86_64\sdk\tools
;C:\Program Files (x86)\Java\jre7\bin
_______________________________________________________________________________________________________
My brain is racked, I have searched everywhere and no solution revealed to me, hence the post. Thank you in advance.