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 devcor · Jun 15, 2015 at 05:02 AM · androidsizeapk

APK size question

Hello, guys. Here's the editor's log output about sizes:

 Textures      8.9 mb     51.7% 
 Meshes        7.2 kb     0.0% 
 Animations    2.2 kb     0.0% 
 Sounds        0.2 kb     0.0% 
 Shaders       1.3 mb     7.7% 
 Other Assets  50.7 kb     0.3% 
 Levels        74.9 kb     0.4% 
 Scripts       474.3 kb     2.7% 
 Included DLLs 6.4 mb     37.0% 
 File headers  35.8 kb     0.2% 
 Complete size 17.3 mb     100.0% 


But the final .apk size is ~55mb. Where does those additional 30mb come from?

Comment
Add comment · Show 6
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 supernat · Jun 15, 2015 at 05:05 AM 0
Share

Under Player Settings, what is your stripping level set to?

avatar image sandeepsmartest · Jun 15, 2015 at 05:49 AM 1
Share

Hi,have a look on below options 1.Check Stripping Level-Under player settings.This stripping can decrease 3 to 5mb(approx) depends on namespaces,Assemblies etc used 2.Check Device filter Configuration: If "Arm v7+ 86" Selected it increased around 5 to 8 mb(approx) of size If possible try using AR$$anonymous$$ v7(one of the popular, oldest Cpus and abundantly used in Android Powered Devices) can reduce. Below are the sizes of apk that were taken in unity 5 Empty Project

  1.  Both "Armv7+x86" Selected - 17.5$$anonymous$$b
  2. Only "Armv7" Selected     - 9.88$$anonymous$$b
  3. Only "X86" Selected       - 10.1$$anonymous$$B

Note:Above Apks were with "Stripping" Disabled

Edit: Stripping can reduce your apk size 3 to 5$$anonymous$$b(approx)

avatar image devcor · Jun 15, 2015 at 06:55 AM 0
Share

@supernat, it's set to 'disabled'.

@sandeepsmartest Device filter is set to AR$$anonymous$$7 only.

avatar image sandeepsmartest · Jun 15, 2015 at 07:10 AM 0
Share

Size increases if you mark gameobjects as static and that size that is being increased depends on the gameobject(polys,Vertices etc) Uncheck Static for all the gameobjects in your scene and have a look on apk size. Thank You

avatar image devcor · Jun 15, 2015 at 07:14 AM 0
Share

@sandeepsmartest What's the 'static' setting you're talking about? Not sure what you mean, sorry. But it's rather simple scene: I got a background 3D object (wall), another 3D object (lcd pad) and UI system. Here's a screenshot: http://i.imgur.com/fDDJHcj.png

Show more comments

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to keep apk size low when using large 2d animations? 2 Answers

Android APK size way too large 2 Answers

launching unity app from android 0 Answers

How to reduce size of android apk 5 Answers

Size of texture after building too big 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