Ricco
Ricco
java.lang.OutOfMemoryError: Failed to allocate a 9585228 byte allocation with 6982829 free bytes and 6MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(Native Method) at android.graphics.BitmapFactory.nativeDecodeStream(Native Method) at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:773) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:749) at top.zibin.luban.d.a(Engine.java:73) at top.zibin.luban.f.a(Luban.java:186)...
我在使用的时候,需求初始的max是500,current是300,当我在xml设置完成后显示的是0%,后来我查看了源码并且修改了原来的构造方法,将setMax和setProgress执行顺序交换,解决了我的问题,正常显示60%,我想问的是,为什么要先执行setProgress后执行setMax,他们会产生bug吗?
单独的cn.com.analysys:analysys-arkanalysys:4.5.10 已经成功,并且可以build成功,也有日志输出。 在集成全埋点模式的时候,添加 classpath 'cn.com.analysys:analysys-allgro-plugin:1.1.3' build的时候就会提示 app/build/intermediates/transforms/Analysys_ASMTransform/debug/304.jar Cannot constrain type: INT for value: v62 by constraint: OBJECT