Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Can I compile only for ARM7 to reduce APK size ?

Author
Message
roser137
3
Years of Service
User Offline
Joined: 23rd Apr 2015
Location:
Posted: 13th Apr 2018 15:27
When I compile a empty project I got a 15mb APK file. I understand there is default runtime which increases apk size, but 15mb is a little high for me. Is it possible to ignore arm5, misp and x86 and only compile for arm7. I guess this would decrease apk size significantly.
Lucas Tiridath
AGK Developer
9
Years of Service
User Offline
Joined: 28th Sep 2008
Location: Kings Langley, UK
Posted: 18th Apr 2018 20:55
Are you building with Tier 1 or Tier 2? I'm fairly sure that Tier 2 only builds for ARMv7 and x86 by default. For Tier 2, I believe that removing x86 should be as simple as opening your Application.mk file and changing

to just


I don't know about Tier 1 though.

Login to post a reply

Server time is: 2018-04-24 13:25:42
Your offset time is: 2018-04-24 13:25:42