NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Troubles debugging android development

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
M1ckX



Joined: 29 Dec 2011
Posts: 3

PostPosted: Thu Dec 29, 2011 3:30 am    Post subject: Troubles debugging android development Reply with quote

Hi, new to this, so please excuse any goofs I make.

Attempting to use NetBeans 7 to branch into Android development. I have a small learning project that compiles and I am attempting to debug on an emulator. I have installed Cygwin with gdb, gcc, make etc.

The application starts on the emulator and advertises that it is waiting for a connection to com.androidbook.droid1 process.

Using Powershell (My PC is Win7) I've been using Get-Process. No processes with the name com.androidbook.droid1!! There is however the processes for conhost and emulator-arm active whilst the emulator is running.

I have tried to connect both the Java debugger and gdb to the process. Whether attaching by process (PID or name) or to the emulator socket (port 5554) it fails to connect.

Attempts to connect via socket are partially successful - I can see from my firewall logs that the connection is made at the MAC level first, then the TCP level next, then three seconds later the connection is disconnected.??

Attempts to connect via process meet with varying results such as "jvm.dll not loaded by target process", or "Access is denied".

Any thoughts or help appreciated.

M1ckX
Back to top
M1ckX



Joined: 29 Dec 2011
Posts: 3

PostPosted: Thu Dec 29, 2011 12:38 pm    Post subject: Reply with quote

Another message I am getting when I attempt to connect to the emulator process by its PID is: "Unable to attach to 32-bit process running under WOW64"
Back to top
Nick Johnson



Joined: 28 Jun 2012
Posts: 5

PostPosted: Sat Aug 18, 2012 6:38 am    Post subject: Reply with quote

XXDLG4 Firmware .... It may be useful for you........
Back to top
Nick Johnson



Joined: 28 Jun 2012
Posts: 5

PostPosted: Sat Aug 18, 2012 7:22 am    Post subject: Reply with quote

It's quite a tricky problem... Need to take expert advice....
Back to top
M1ckX



Joined: 29 Dec 2011
Posts: 3

PostPosted: Sat Aug 18, 2012 12:35 pm    Post subject: Tricky problem Reply with quote

So, your solution is to download the firmware for the Samsung Galaxy S3!

What if I want to develop for a broader market? More the point - I did't think the emulator uses firmware.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo