简体   繁体   English

Sencha cmd 6.1使应用程序尺寸更大

[英]Sencha cmd 6.1 makes app size bigger

I have a sencha touch-cordova app which supports ios and android. 我有一个支持ios和android的sencha touch-cordova应用程序。 I observed a weird thing - with exactly same code base and files if I use sencha cmd 6.0.2.14 the resulting app size is just 22.5 MB while if I build it using sencha cmd 6.1.1, the app size jumps to 77 MB. 我观察到一个奇怪的事情-如果使用sencha cmd 6.0.2.14,则使用完全相同的代码库和文件,结果应用程序大小仅为22.5 MB,而如果使用sencha cmd 6.1.1进行构建,则应用程序大小将跃升至77 MB。

I am new to sencha and am really curious to know how the cmd version affects the size of resulting app. 我是sencha的新手,真的很想知道cmd版本如何影响生成的应用程序的大小。

I am using sencha app build native command to build the app and the target platforms are mention in app.json as usual. 我正在使用sencha app build native命令来构建应用程序,并且像往常一样在app.json中提到了目标平台。

Would be great if someone points out the difference in the cmd version affecting the size. 如果有人指出cmd版本中影响大小的差异会很棒。

We have had build issues with 6.1.1 and 6.1.2. 我们在6.1.1和6.1.2中遇到了构建问题。

For 6.1.2 the generate app command will copy over all the example and template files into your application causing massive build times. 对于6.1.2,generate app命令将所有示例和模板文件复制到您的应用程序中,从而导致大量的构建时间。 Both versions have caused use issues during the slicing portion of the build process with Java heap and Array out of bounds errors. 这两个版本都在构建过程的切片部分中引起了使用问题,其中包括Java堆和数组超出范围错误。

As a result we have concluded 6.1.1 isn't usable and have rolled back to an older version of CMD. 结果,我们得出结论,6.1.1不可用,并已回滚到较旧的CMD版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM