Godot games do not show up on android system backups

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kaushik
:warning: Old Version Published before Godot 3 was released.

Hi all. I need some help with android system backups.

I am trying to do a adb backup of my android device. I can see all the apps being included in the backup file, except for Godot games.

All the Godot games are release builds. I verified non inclusion of godot game apps through adb logcat as well as backup.ab extraction.

All help is much appreciated.

:bust_in_silhouette: Reply From: Kaushik

Answer:
Cracked it. In case anyone needs this, the android:allowBackup=“false” is set as default in platform/android/java/AndroidManifest.xml. This needs to be set as “true”.

Unfortunately, if you are not using any custom package, you cannot change this option to reflect directly in your game. In that case, you can maybe, create a dummy package, <as simple as a a+b java file>, and then change the AndroidManifest.xml file. The resulting custom apk generated can then be specified in the export options and engine.cfg.

That’s would be totally unnecessary though. Maybe, the creators can export this as an option in the UI editor??