-4

I am making a launcher. Currently it takes up about 20 mb. What can I use to drop it to at most 9 mb?

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
  • 1
    20 MB is nice! Seriously... – slanecek Jul 14 '16 at 21:49
  • Are you sure? I don't want it to eat up space. I'm trying to make it connect to a server where it can store the info there, and have the info backed up in case the user disconnects. Issue I'm having is publishing the server too. How can I publish my server (I use Ubuntu). – MCOM_Droid Jul 14 '16 at 21:51
  • 1
    I am not sure what you are asking, but 20 MB is definitely ok... I've seen apps taking about 250 MB (hello, Facebook). – slanecek Jul 14 '16 at 21:53
  • Lol that is true Facebook eats up storage like me in a buffet. – MCOM_Droid Jul 14 '16 at 21:54
  • What do you think of the name? Its called Samus (after the metroid character as she is the most popular female leads in games) – MCOM_Droid Jul 14 '16 at 22:02

2 Answers2

0

Compress all your images with pngquant. It will reduce the size significantly atleast 30% i think.

Faruk
  • 5,438
  • 3
  • 30
  • 46
0

Did you try to profile your apk?
I recommend you to figure out the problem by profiling apk.
Android Studio (2.2 Preview 1) has nice APK Analyzer.
http://android-developers.blogspot.jp/2016/05/android-studio-22-preview-new-ui.html

If the problem is classes.dex size, let's try Proguard to reduce the java classes. https://developer.android.com/studio/build/shrink-code.html

nshmura
  • 5,940
  • 3
  • 27
  • 46