Software Archive
Read-only legacy content
17061 Discussions

large APK size when building with Cordova CLI

Edo_F_
Beginner
645 Views

AFTER update 3900 , im trying to build APK using cordova-cli with package from intel xdk, and im shocked with size APK.

see the screenshot : http://prnt.sc/ekymic

0 Kudos
5 Replies
PaulF_IntelCorp
Employee
645 Views

Edo -- those two numbers do not make sense. It looks to me like one is a Crosswalk build and one is not. To check that theory, unzip each into separate folders (an APK file is a ZIP file) and see what's inside the "lib" folder in the unzipped output. If you see Crosswalk libraries in one, but not the other, my theory is correct. If not, something else is going on.

Did you want to build for Crosswalk?

f151d7f64ff74603b2f3a61d6af8335c_0.png

p.s. I've also changed the title of this post to be more descriptive of the issue.

0 Kudos
Edo_F_
Beginner
645 Views

i guess that , because im type 'cordova build' or 'cordova build android' thats same, i got big size apk.

another way build without crosswalk at CLI ?

0 Kudos
Edo_F_
Beginner
645 Views

i wont build for crosswalk sir , thats why im uncheck 'crosswalk' at intel xdk when im build with cloud.

0 Kudos
PaulF_IntelCorp
Employee
645 Views

Could you share the config.xml in your Cordova CLI project?

0 Kudos
PaulF_IntelCorp
Employee
645 Views

Edo -- I've confirmed that there is a problem with the exported config.xml file that is adding in the Crosswalk plugin, regardless of the state of the Crosswalk optimization choice in your Build Settings. See this thread for more details > https://software.intel.com/en-us/forums/intel-xdk/topic/720917 < I'm closing this thread and in favor of that other thread.

0 Kudos
Reply