Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by TahaInc · Mar 27, 2018 at 04:34 AM · androidsizeapkobb

Size too big for android

Ok so for my school project, i did a android platformer game. I've been working on it for a few months and now that I want to publish it, I realise that the max size for the Google play store is 100mb.

At the begining, my game was 1 gb which is crazy but whatever, I realised that i could split my app binary (adding a obb file). After spliting, my obb was big but somehow, my apk too which was 200mb. When I knew that the apk contains the data for the first scene, i made a blank loading screen, which in my output log is nearly 0kb. I also changed the texture compression to ETC2 and my device filter to ARMv7 only. After all of those changes, my obb is at 550mb while my apk is still at 128mb which is still too much for the Google play store (100mb).

Heres my output log here because I have no idea what to remove. The dlls take 3.9mb and the script all take 1 mb and as far as i know, that's the only thing (including the first scene which is 0kb for me or almost) that ares included in the apk while the rest (like the textures) are in the obb. Even if sounds were included, they only occupie 13mb totale which still doesnt explain the 128mb.

I know my textures are big but i dont care, i just want to have my apk 100mb so i can publish on the google play store.

editor.txt (483.5 kB)
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
1
Best Answer

Answer by kskjadav007 · Mar 27, 2018 at 05:27 AM

alt text

Textures need to be reduce .

link text


screen-shot-2018-03-27-at-105507-am.png (36.1 kB)
Comment
Add comment · Show 2 · 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 TahaInc · Mar 28, 2018 at 08:59 PM 0
Share

I compressed most of my texture to smaller resolution and everything lowered.

thanks

avatar image kskjadav007 TahaInc · Apr 06, 2018 at 10:13 AM 0
Share

Good luck with your game

avatar image
0

Answer by TauseefCVS · Mar 27, 2018 at 05:28 AM

your game textures are very high and have too much space in apk that why you game size 550 MB, you compress the texture with the minimum resolution and your game texture have 27md its too much size you converted in compression.

Comment
Add comment · Show 2 · 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 TahaInc · Mar 27, 2018 at 05:47 AM 0
Share

true lemme try

avatar image TahaInc · Mar 27, 2018 at 08:55 PM 0
Share

I tried to delete some texture and compress some other but all that did is reduce the size of the obb. The apk actually increased like 50kb which is weird because i didnt add anything.

The textures are still probably the problem so do you know which ones affect the apk. Like is it the textures in the 3 first scenes or is it completely random.

Thanks

avatar image
0

Answer by Koen-Matthijs · Apr 06, 2018 at 12:43 PM

Hi

When you split the build in an APK and an OBB, the following applies:

  • The APK contains only the executable files (dll's compiled c#, java) and all the data related to the first scene. Be careful: this is the scene with index 0 !

  • The OBB contains everything else (gfx / sound / object data / ...).

If you've added an empty scene 0 (which then loads the actual first scene) you should have little to no data related to that scene in your APK. The rest should be very small (+- 12 MB from the standard binaries + 20 MB from your compiled code [deducted from your output log].

If the APK remains large, you should extract it to see what's inside. An APK is acutally a ZIP file. So just give it the extension .ZIP and extract it. This will give you the manifest file, potential included resources and the compiled code as a .dex file. This way you should be able to tell what makes it so big.

Hope this helps

Kind regards

Koen Matthijs

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

173 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 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 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 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 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 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 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 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 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 avatar image avatar image

Related Questions

My build size randomly doubled Andriod 1 Answer

Android / Split apk / obb can't load a scene 1 Answer

Android APK Expansion Files Process? 3 Answers

Size of apk too big 1 Answer

50mb limit with Unity 3.5 + Android license (not! pro) 0 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