Android端末でassertを有効にする
以下のやりかたでできました (Android 4.1.1 GenyMotion)。わりと簡単にできるので、検証端末は常にenabledでよさそう。
adb shell setprop debug.assert 1 # enable assert adb shell setprop debug.assert 0 # disable assert
以下のやりかたでできました (Android 4.1.1 GenyMotion)。わりと簡単にできるので、検証端末は常にenabledでよさそう。
adb shell setprop debug.assert 1 # enable assert adb shell setprop debug.assert 0 # disable assert