Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android export Apk expansion does not works #53333

Closed
SnailRabbids opened this issue Oct 2, 2021 · 9 comments
Closed

Android export Apk expansion does not works #53333

SnailRabbids opened this issue Oct 2, 2021 · 9 comments

Comments

@SnailRabbids
Copy link

Godot version

3.3.4

System information

Windows 10

Issue description

Hello all,
I try to start application that was splited to apk and obb files and it fails right before start. W/o apk expansion it works perfectly.

Salt is set as some string. (I don't know exactly what it's for)
Public key is a key I used to release the application.

Is somewhere manual for Apk Expansion? I didn't find.

Steps to reproduce

Open project -> export -> Android -> Move to Apk Expansion -> Enable checkbox -> Salt set as some string (I dont know what is it) -> public key is a key I'm using for release -> click export project button -> move apk file to your phone -> create in android/obb folder new folder with the name use used in "Package : Unique Name" -> move .obb file in this folder -> run application

Minimal reproduction project

No response

@akien-mga
Copy link
Member

As far as I know you have to use Android App Bundle for Google Play now, so APK expansion is no longer supported. There will be support for Play Assets Delivery in Godot 3.4.

@SnailRabbids
Copy link
Author

@akien-mga So, right now I cannot create the application large than 150mb? Because Play Assets Delivery is not supported yet and APK expansion is no longer supported?

@akien-mga
Copy link
Member

For Godot 3.3.4, I fear that's correct.

You could try the new support for Play Assets Delivery in Godot 3.4 beta 5: https://godotengine.org/article/dev-snapshot-godot-3-4-beta-5

See #48636 (comment)
CC @m4gr3d

@SnailRabbids
Copy link
Author

@akien-mga
I have no problem to use 3.4 beta 5, do you have some manual or docs for Play Assets Delivery or some example? How to use that?

I'll be very happy if it works :)

@m4gr3d
Copy link
Contributor

m4gr3d commented Oct 2, 2021

@SnailRabbids While obb is no longer supported by Google play, the APK expansion logic hasn't been removed/modified yet, so it should work as it had in the past.

Unfortunately the logic was added before I start contributing so we may need someone else to provide directions on how to set it up and use it correctly.

@akien-mga Do we have contributors or users that have used APK expansion successfully?

As mentioned though, play asset delivery is another path to export especially if planning to upload to the play store.

@akien-mga
Copy link
Member

Do we have contributors or users that have used APK expansion successfully?

It's not a very popular option AFAIK, and not well documented. I think @volzhs might have used it in the past?

According to #28214 (comment) it might require the READ_EXTERNAL_STORAGE permission, which might no longer be possible on Google Play with using scoped storage?

@SnailRabbids
Copy link
Author

@m4gr3d @akien-mga I dont really care which of methods (apk expansion or Play Assets Delivery) I will use, I prefer Play Assets Delivery, because, as you said, Google Play Games will not support the apk+obb method, so I'll happy to use Play Assets Delivery, I just need to know "how". Give me some manual/tutorial/example/docs for that. Or it is used somewhere inside Godot and I just need to export my application as aab and thats all?

@SnailRabbids
Copy link
Author

Works for me with Godot 3.4 beta 5. Closing the issue.

@Calinou Calinou modified the milestones: 3.3, 3.4 Oct 15, 2021
@Atem1995
Copy link

据我所知,您现在必须使用Android App Bundle进行Google Play,因此不再支持APK扩展。Godot 3.4 中将支持游戏素材资源交付。

Hello, I would like to ask how to use obb of Android in 4.0 beta export, and how to check the application permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants