Resolve an Android release packaging failure with a duplicate classes.dex entry by identifying stale outputs, cleaning Gradle build directories and rebuilding the package.
Fix Android Entry Name classes.dex Collided by Cleaning Build Outputs
Resolve an Android release packaging failure with a duplicate classes.dex entry by identifying stale outputs, cleaning Gradle build directories and rebuilding the package.
Create a custom Cocos Creator 3.7.2 shader and material, render a moving light band across a Sprite, and animate its properties with TypeScript.
Connect the Cocos Creator native JavaScript debugger to an Android build by checking Debug mode, device networking, debugger port, script settings, and logs.
Fix Android Studio's build type isn't debuggable error by opening Build Variants and switching the affected module from release to a debug variant.
Fix a Cocos Creator getGFXTexture null error by inspecting the failing SpriteFrame, searching its UUID in Assets, and repairing invalid texture references.
Fix stale Cocos Creator Label dimensions after changing Label.string by waiting for the next frame or calling updateRenderData(true) before reading UITransform contentSize.
Fix checkReleaseDuplicateClasses in a Cocos Creator Android export by enabling AndroidX and Jetifier and checking duplicate Gradle dependencies.
Understand why the timeRecords is at its maximum size 64 warning appears during Android or Cocos Creator tests, when it is harmless, and when to investigate.
Subscribe to Cocos Creator Game.EVENT_HIDE and EVENT_SHOW for background and foreground transitions, then remove both callbacks with game.off during cleanup.
Fix the Android warning that an app was built for an older version by updating targetSdkVersion and checking behavior changes, permissions, and SDK compatibility.