Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't native debug

I was able to use the native debug functionality until recently. I've been coding in java and went back to the native code but now I can't native debug. It will run and with the previously working debug config but I get a Null Pointer error on launch right when it would be attaching:

'Launching [debug config]' has encountered a problem.

An internal error occurred during 'Launching [debug config]'.

java.lang.NullPointerException

The app will run on the device, but won't hit breakpoints. Anyone seen this, it's driving me nuts?

like image 820
Anthony Avatar asked Oct 05 '22 06:10

Anthony


1 Answers

Turns out this was due to the manifest "debuggable" being set to false. When you don't run native it tells you exactly that. With native, you get the absolutely useless error. I'll put in an enhancement request.

like image 55
Anthony Avatar answered Oct 10 '22 02:10

Anthony