Skip to content

COCOS2D_DEBUG is still set to 1 in release on android #19787

@ijm700

Description

@ijm700

I had a if(COCOS2D_DEBUG == 1) { do something } and on iOS it's not defined in release but on Android it is and even if you build in release mode it still runs the if statement pretty much saying that COCOS2D_DEBUG is equal to 1

more info:
https://discuss.cocos2d-x.org/t/how-to-build-an-apk-in-in-release-mode-from-android-studio/25906
https://discuss.cocos2d-x.org/t/cocos2d-debug-in-release-builds/23434

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions