[android-developers] Re: Eclipse Error while adding ddms

2008-12-28 Thread Anonymous Anonymous
hi Jeff, i was having open jdk and later i have gone for sun-java6-jdk and got it solved. Thanks Binish On Sun, Dec 28, 2008 at 6:06 AM, jeff ssapu...@gmail.com wrote: Hi, what is the problem with the JDK if you dont mind sharing..I have the same problem recently... Thanks, On Dec 7,

[android-developers] Re: Eclipse Error while adding ddms

2008-12-27 Thread jeff
Hi, what is the problem with the JDK if you dont mind sharing..I have the same problem recently... Thanks, On Dec 7, 1:08 am, Anonymous Anonymous firewallbr...@googlemail.com wrote: Hi Xav, Ralf, Now am able to launch DDMS  and debug built in apps, pblm was with my JDK. Thanks a lot for

[android-developers] Re: Eclipse Error while adding ddms

2008-12-07 Thread Ralf
The bottom line for all this if that you never really needed to build the Eclipse plugin or DDMS yourself. You could just have used the one from the Android 1.0 SDK r1 or r2 (in the tools directory). As it is right now, the SDK tools work the same as the ones from git. As Xav stated, the only

[android-developers] Re: Eclipse Error while adding ddms

2008-12-07 Thread Anonymous Anonymous
Yes,Ralf, actually i got confused with documentation at 2 different places. Thanks Steve On Sun, Dec 7, 2008 at 11:39 PM, Ralf [EMAIL PROTECTED] wrote: The bottom line for all this if that you never really needed to build the Eclipse plugin or DDMS yourself. You could just have used the one

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
i have downlaoded swt(swt-3.2.2-gtk-linux-x86.ziphttp://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/download.php?dropFile=swt-3.2.2-gtk-linux-x86.zip ) again and replaced libs and jars in lib and framework folder and it seems the error reamins same !!!

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
*I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk...* You mean to say no need to start DDMS separately ! ( if not cannot connect to VM: connection refused error !) *You probably shouldn't have copied them. btw we

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Xavier Ducrohet
I want to debug an android application built with the SDK say (IM).. I think my understanding also wrong (sorry for being noobish),let me summarize the steps needed for debugging... 1.Latest source code compiled succesfully with a working emulator. 2.ddms plugin added in eclipse. 3.lauch

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full source code downloaded from source.android.com ...(not this one http://code.google.com/android/download_list.html -Linux one). I assume ADT plugin is used in such case , where we debug as Android Application??

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
Hi Xav, Ralf, Now am able to launch DDMS and debug built in apps, pblm was with my JDK. Thanks a lot for your help Steve On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, in trouble :( *I am trying to debug existing application. Am usign the full

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Xavier Ducrohet
Glad to hear you solved your JDK issue. The only reason you would want to add the ddms plugin source code to Eclipse is if you want to work on the plugin itself. To develop/debug application, using the standalone DDMS or _installing_ the plugin inside eclipse is enough. Xav On Sat, Dec 6,

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Anonymous Anonymous
Hi Ralf, Thanks again.. 1. Ran create_ddms_symlink.sh 2.In eclipse File - import-plugins and fragments -plugin location .../development/tools/eclipse/plugins..ide.eclipse.ddms 3.Added plugin succesfully 4.gettign the below error... :( am i doing something really stupid !! :( (*in the doc says

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Ralf
FYI I fixed the create_ddms_plugin script in the git repo, so the steps 1..3 below should work now. R/ On Fri, Dec 5, 2008 at 12:47 AM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Ralf, Thanks again.. 1. Ran create_ddms_symlink.sh 2.In eclipse File - import-plugins and fragments

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Anonymous Anonymous
Hi guys, Now no erros :) btw now ddms fails to load... :( i have created com.android.ide. eclipse.ddms/libs/ folder and copied the required *.jar files from /out/host/linux-x86/framework/ .. 2. now goto /out/host/linux-x86/bin and ran ./ddms gettign the below exception ! am i missing

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Xavier Ducrohet
I'm a bit confused here. After making the ddms _plugin_ compile in Eclipse, you are launching the standalone version from the sdk... On Fri, Dec 5, 2008 at 7:10 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi guys, Now no erros :) btw now ddms fails to load... :( i have created

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Xavier Ducrohet
What are you trying to debug? an android application built with the SDK or the ddms plugin? Xav On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi Xav, Sorry for the confusion let me explain once again. 1.using repo get full source 2.Add project in Eclipse

[android-developers] Re: Eclipse Error while adding ddms

2008-12-05 Thread Anonymous Anonymous
I am trying to debug IM application.Just to understand the current code flow.. Thanks Steve On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet [EMAIL PROTECTED] wrote: What are you trying to debug? an android application built with the SDK or the ddms plugin? Xav On Fri, Dec 5, 2008 at

[android-developers] Re: Eclipse Error while adding ddms

2008-12-04 Thread Xavier Ducrohet
On Wed, Dec 3, 2008 at 8:46 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Can you make sure you are setup

[android-developers] Re: Eclipse Error while adding ddms

2008-12-04 Thread Anonymous Anonymous
Hi Xav, Thank you, Now am clear with few of the errors(compiler compliance). I have synced to latest source, and for ddms i have added 3 projects(ddmlib,dddmuilib and app) by new project-new java project- browse to development/tools/ddms now remained with

[android-developers] Re: Eclipse Error while adding ddms

2008-12-04 Thread Ralf
Make sure to run development/tools/eclipse/script/create_ddms_symlink.sh and then only import the ddms-plugin project (from dev/tools/eclipse/plugins/com.android.blah.ddms) in Eclipse. You don't need the ddmlib and ddmuilib projects in Eclipse for ADT because they are symlinked under the

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Ralf
You need to add the AndroidPrefs and PingService as projects to your workspace or add their source to your classpath. You can find them in git under development/tools/. R/ On Wed, Dec 3, 2008 at 5:51 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Hi All, When ever i try to add ddms

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Xavier Ducrohet
Actually, you need to go into development/tools/eclipse/scripts and run ./create_all_symlinks.sh This will prebuild some libraries (like androidprefs.jar ping.jar, as well as others), and make them available to the plugin projects. Adding the projects to your plugin projects will not work as

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Anonymous Anonymous
Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't find :( *create_ddms_symlinks.sh and couple of others works fine , any thoughts? regards steve On Thu, Dec 4, 2008 at 7:52 AM, Xavier

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Anonymous Anonymous
Hi , That error gone, i separately executed all the scripts... Now few more errors are like assert cannot be resolved client.java ddmlib/src/com/android/ddmlib Button cannot be resolved to a type AllocationPanel.java ddmuilib/src/com/android/ddmuilib Can only iterate over

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Ralf
I uploaded a CL to fix this: http://r.android.com/5099 R/ On Wed, Dec 3, 2008 at 7:52 PM, Anonymous Anonymous [EMAIL PROTECTED] wrote: Thank you Xav, When i try to execute create_all_symlinks.sh gives Error: Please execute this from the device/tools/eclipse/script directory which couldn't

[android-developers] Re: Eclipse Error while adding ddms

2008-12-03 Thread Anonymous Anonymous
Hi Ralf, A running ubuntu on virtual machine.. ubuntu 8.04 Eclipse 3.4(ganymede) Java - sun-java6-jdk Thanks again steve On Thu, Dec 4, 2008 at 10:52 AM, Ralf [EMAIL PROTECTED] wrote: Hmm interesting, would you please be able to indicate: - Your host platform: linux, mac, windows - Your