“Failed to attach to the remote VM” connecting jdb to the android emulator on Windows

后端 未结 4 1755
粉色の甜心
粉色の甜心 2020-12-29 10:26

I’ve been trying to connect jdb to the android emulator for a little while, and have been met repeatedly with:

jdb -sourcepath ./src -attach localhost:8700

java.         


        
4条回答
  •  清歌不尽
    2020-12-29 11:03

    Answer #1: Map localhost in your hosts file, as I linked to earlier. Just to be sure.

    Answer #2: If you're using shared memory, bit-size could easily become an issue. Make sure you're using the same word width everywhere.

提交回复
热议问题