I'm surprised that the debug version is working for you. You still might want to try building a proper release (gradlew assembleRelease but you'd need to set up signing keys first) to enable optimizations.
gradlew assembleRelease