javalue
javalue
testing all day i have found res in apk is very small,normal like 2-3mb, but now is 500kb in my test, when i set shrinkResources = false,it's ok
build/generate signed apk/.... it will crash gradle/android/tasks/install/installRelease..... it will ok
try to set different holder, and background be transparent. but when horizontal scroll, you only change item's height, and verizontal, you only change item's width. If you want both change...
好的,@yrom,我在后续开发中,又发现, 在gradle中的那个task,好像在2.2以后就失效了。大致搜了一下,好像是那个afterEvaluate的函数更新了,这是一个问题。然后是2.2打出来的apk好像精简掉了一些zip(apk)信息,会导致unzip失败,好像是报什么unzip 超过1980,请问有什么好的办法去解决吗。
@yrom 这个之前就有看到过,把channel写在zip的block里,有点不算是“正规”的方法,而且对apk安装和app的启动有一定的影响。
add ``` @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); } ``` in your Application