How to reduce apk size when using play services gcm

前端 未结 3 728
故里飘歌
故里飘歌 2021-01-22 01:23

My generated signed apk size is 30kB, when I add play services gcm to gradle file the apk size increased to 800kB. by shrinking resource the apk size become 600

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-22 01:49

    from http://proguard.sourceforge.net/manual/examples.html#application

    -optimizationpasses 3

    -overloadaggressively

    -repackageclasses ''

    -allowaccessmodification

    these might help. (in particular the 3 passses)

提交回复
热议问题