Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by hollym16 · Aug 30, 2013 at 02:39 PM · androidpublishingappapk expansion files

APK expansion files

My Android APK will be bigger than 50mb when I come to put it up on the Google Developer Console. I understand I'll have to use Expansion Files but don't know how to go about it. Is there coding involved or can I literally just .zip the files? I'm a little lost

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by meat5000 · Aug 30, 2013 at 02:50 PM

The First APK file can simply be a 'Placeholder' which may handle the installation etc of the expansion file. The expansion will actually contain the game.

Buy Game. Download Game. Install. "GameX additional files required". Download Expansion APK. Install. Play Game....finally. Or something like that.

But on the whole the Second download might not be required

On most devices, when an application is installed, expansion files will be downloaded along with the APK and will be saved to the shared storage location (the SD card or the USB-mountable partition) on the device. On a few older devices, the expansion files may not automatically install with the APK. In these situations, it is necessary for the application to contain code that will download the expansion files when the user first runs the applications.

Taken from here

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hollym16 · Aug 30, 2013 at 02:59 PM 0
Share

Thanks for the reply.

Sorry I don't quite understand. What steps will I have to take in order to create expansion files?

avatar image meat5000 ♦ · Aug 30, 2013 at 03:04 PM 0
Share

The game IS the expansion file. Your original file (<50$$anonymous$$B) needs to be a Downloader/Installer probably not made in Unity.

Basically you will probably need to read through the Android docs to find out how to do the Google Play API expansion stuff. I think you might get lucky and someone will have made a template somewhere for you to follow/modify.

http://developer.android.com/google/play/expansion-files.html

http://stackoverflow.com/questions/17706064/expansion-file-download-feature-not-working

http://ankitthakkar90.blogspot.co.uk/2013/01/apk-expansion-files-in-android-with.html

avatar image hollym16 · Sep 02, 2013 at 02:36 PM 0
Share

I really appreciate the help but I'm completely confused by this. This is the first app i'm publishing. I see a lot of code but i'm completely in the dark about where to put it and if i need to be using another programme other than Unity. Help!

avatar image
0

Answer by sagago · Aug 02, 2015 at 08:02 AM

http://docs.unity3d.com/Manual/android-OBBsupport.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by sagago · Aug 01, 2015 at 08:35 PM

http://docs.unity3d.com/Manual/android-OBBsupport.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Resize GUI Button (linked to website) ?? 1 Answer

Update problem with Android Developers Console 0 Answers

Android download error "package not signed correctly 0 Answers

Android Build problem? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges