I create a package for Android, works without any problems. But when i put the APK on my Phone then i cant start it. I become a black screen for a second and the app closed without any errors. Then i try the *batch-file and install the APK via “USB-Debug” - it works now…
But the Problem: when i try to upload the APK on “Play Store” then google say i have to disable the “Debug Mode”.
The package is selected with “Shipping”. But where i can disable the “Debug Mode” for APK?
For your deployment issue: Putting only the APK onto your Android device will not work; the app requires the OBB that is packaged with it, and it looks for it in a specific location. The batch file pushes the APK and OBB to your device in the locations required for the app to work.
For your Debug Mode issue: open the File > Package Project > Packaging Settings… window, expand the Project section, and enable “For Distribution.” The only major caveat there is that we have not tested uploading a For Distribution app to the Google Play store, so I can’t guarantee that it will work for now.
That… doesn’t sound right. The APK needs the OBB, since all of the game content is stored there. If you delete the app and OBB from your device, then redownload the APK from Google Play, does it still work?
When i search my device for the *.obb i cant found it… i found a lot of *.obb but not with this project. But when its invisible i understand now why a lot of big games use the “Update / Download”-Function in the App…
But how i can use the Play-Store for my APK? Sure i can create a download system to get the *.obb but without the *.obb you cant start the APK… what is the trick with this?
At this point, we’re in uncharted water as far as I’m concerned. We’re still ironing out how to package and deploy for distribution. We’re aiming to make this smoother in the future, but right now it’s rather use-at-your-own-risk.
I wouldn’t say no useful function. The current workflow allows you to build and test your game locally, which is very useful. The packaging for distribution workflow is platform agnostic (in terms of what you do with the editor UI), and it works as expected for iOS. Android is a newer platform for us, so we’re still working on getting it up to parity with iOS.
Once you’ve enabled USB debug mode, you will need to make sure your device is set to trust your PC (should pop up on your device when you first connect it after enabling debug mode). Also, make sure you have the ADB driver for your device installed.