Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I was trying to publish my game and I'm getting a message that the game is in debug mode (even after editing the AndroidManifest.xml file inside love-android-sdl2/original

Care to help me?


Amazing work btw man.

How did you sort this out?

I didn't

You need to change the .bat file. It replaces AndroidManifest to keep an uniform compilation.
I just removed this piece of the script and it worked:

rem rem make android ID and name unique so we can have multiple installs

rem restore original manifest and src subdir
copy tools\love-android-sdl2\original\AndroidManifest.xml tools\love-android-sdl2\
rd tools\love-android-sdl2\src\love /s/q
xcopy tools\love-android-sdl2\original\love tools\love-android-sdl2\src\love /e/i

rem replace id, name and src subdir
tools\sed-win\bin\sed -i "s/loveToAndroid Game/Game %datevar%/g" tools\love-android-sdl2\AndroidManifest.xml
tools\sed-win\bin\sed -i "s/love.to.android/love\.to\.android%datevar%/g" tools\love-android-sdl2\AndroidManifest.xml
tools\sed-win\bin\sed -i "s/love.to.android/love\.to\.android%datevar%/g" tools\love-android-sdl2\src\love\to\android\LtaActivity.java

Do it on make.apk