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
0
Question by abhishekabz004 · Oct 23, 2015 at 02:38 PM · androidsizeapk

.apk file built is not compressing much of the original in latest version of unity.

Hey there. So, I have been practicing unity not for a while now. About a year ago i was working on creating an android game. I was using Unity version 4.5.0 back then. The game has got assets more than 100 mb. But it was compressed and built into an apk file of size 12 mb. That got dropped. Now I kick started my development again using Unity version 5.2.1. The assets of the present work does not even exceed 50 mb. But the apk file built takes 15 mb.

Both the projects have the device filter option as only AMD.

I don't understand whats going on. I might have done some mistakes. Please guide me through this size optimization. Also notify me if there are any other method to reduce the size of the apk in general.

Thanks in advance! :)

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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by SuperNovaDom94 · Oct 23, 2015 at 08:39 PM

@abhishekabz004 i'm going to give you a couple of suggestions you can try (i'm going on assumptions here and guessing you might have no used these)

  1. Try changing the Stripping level in player settings to micro mscorlib. this can shave a few mb's off if your extremely lucky.

  2. change your Api compatibility to net 2.0 subset if its set to net 2.0 and your not using all the net 2.0 functionality .

These are some advice tips below if your unsure on size optimization

  1. Always set your image sizes to be exactly what you need.

  2. on small images, 64x64 for example, disable mip mapping. The performance hit is almost nothing and you dont need to store mip maps.

  3. Remove any excess variables in scripts you are not using

Please let me know if this worked

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 abhishekabz004 · Oct 24, 2015 at 05:54 AM 0
Share

Thanks for the help :) I already had net2.0 subset option enabled. I tried stripping level and it reduced some 1 mb. I will also try the size optimization tricks and will let you know. :)

by the way , I am still not clear about compression method that i mentioned in the question. Do you have any lead on that.? Thanks again.

avatar image SuperNovaDom94 abhishekabz004 · Oct 24, 2015 at 06:03 PM 0
Share

@abhishekabz004 I'm not sure what you mean , which compression method you want to know about??

also, please choose my answer as the best answer because it looks bad on my profile if you don't . Thank you

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

37 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

Related Questions

android apk size not getting much smaller 1 Answer

Graphic resources size in builds 0 Answers

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

launching unity app from android 0 Answers

Android APK size way too large 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