I'm testing an Android application. I used APKTOOL to decompile/recompile (with debug symbols). I performed a debug code sign, and then installed the APK. The program appears to run fine.
According to APKTOOL, I should be able to attach to the running process in NetBeans. But I'm only getting choices to attach to processes on localhost. DDMS is not showing a process tree and associated debug sockets as depicted in Figure 1 of Using DDMS. This is expected for all applications since I'm running a release kernel, but unexpected for the target process. I used DDMS to locate the PID on the device, but NetBeans claims "Not a valid PID" when I try to attach via PID. I also have the NBAndroid plugin installed.
How does one use NetBeans to attach to a process running on a device?
Jeff