Jul 28
I’ve had a problem after the update of the nbandroid plugin for NetBeans. After updating the debugging mode neither in emulator, nor on real device, doesn’t work anymore.
To fix this, put the following lines in build-impl.xml in the debugging section. Just remove the old part and paste in the new:
<target depends="init,-debug-start-debuggee" if="netbeans.home" name="-debug-start-debugger"> <androidproject1:nbjpdaconnect/> </target> <target depends="init,compile,-start-emulator,-wait-for-emulator,-install-app" name="-debug-start-debuggee"> <exec executable="${adb}"> <arg line="${android.target.device}"/> <arg value="shell"/> <arg value="am start -D -n ${main.component}/${main.class}"/> </exec> <getdebuggerport addressProperty="local.debug.port" app="${main.component}"/> </target> <target depends="init,compile,-debug-start-debuggee,-debug-start-debugger" description="Debug project in IDE." if="netbeans.home" name="debug"/> <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto"> <androidproject1:nbjpdastart stopclassname="${main.class}"/> </target> <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>