java - DDMS: unable to connect jdb to DDMS port -


i learning android, , developing application without using ide through ant. build applications ant debug, , deploy them on emulator adb. have marked app wait debugger attach developer settings. when try connect jdb ddms port, get

java.io.ioexception: shmembase_attach failed: system cannot find file specified          @ com.sun.tools.jdi.sharedmemorytransportservice.attach0(native method)         @ com.sun.tools.jdi.sharedmemorytransportservice.attach(sharedmemorytransportservice.java:90)         @ com.sun.tools.jdi.genericattachingconnector.attach(genericattachingconnector.java:98)         @ com.sun.tools.jdi.sharedmemoryattachingconnector.attach(sharedmemoryattachingconnector.java:45)         @ com.sun.tools.example.debug.tty.vmconnection.attachtarget(vmconnection.java:358)         @ com.sun.tools.example.debug.tty.vmconnection.open(vmconnection.java:168)         @ com.sun.tools.example.debug.tty.env.init(env.java:64)         @ com.sun.tools.example.debug.tty.tty.main(tty.java:1010)  fatal error: unable attach target vm. 

i tried

jdb -attach 8700  jdb -connect com.sun.jdi.socketattach:port=8700 

the app on emulator still shows dialog, waiting debugger connect.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -