standard error dialog

hi
I use acra for accounting errors
when a standard error dialog, the log file is on the server
is an error if cocos2d-x (assert error), then the log file is not a server
how to disable assert error?

I added in the jni / Android.mk
LOCAL_CFLAGS + =~~DCOCOS2D_DEBUG = 0
or in the jni/Application.mk
APP_CPPFLAGS +=~~DCOCOS2D_DEBUG=0
no effect

I use cocos2d-2.0-x-2.0.2

how to disable debug to android
somebody help

  1. If an assert error occur - you should fix your code, because it’s critical application error. Why you try to disable it?
  2. If you provide more information about an assert, I think your problem become more clear for others

Dmitriy Kovalenko wrote:

  1. If an assert error occur - you should fix your code, because it’s critical application error. Why you try to disable it?
  2. If you provide more information about an assert, I think your problem become more clear for others

When a standard error dialog, logcat sent me an email and I can find error.
I understand it’s debug mode cocos2d-x
But I don’t know how to disable debug mode