详细问题描述
[内容] 金立M5手机运行Hello HTML5+,压缩图片时闪退
重现步骤
[步骤] ZIP->压缩图片
[结果] app闪退
[期望] 压缩图片成功
运行环境:金立M5手机
[系统版本] Amigo 3.0(基于Android 5.1)
[工程示例] 最新官方Hello HTML5+
联系方式
[QQ] 2955427025
crash日志:
2017/08/11 15:15:44 [crash] imei:867026023753871 md:M5 p:a os:22 net:6 vb:1.9.9.34035 mc: appid:iotas-elev-mobile appcount:1 wvcount:7 pn:cn.inovance.elev mem:254288kb etype:1 eurl: carsh_info:java.lang.OutOfMemoryError: Failed to allocate a 2764812 byte allocation with 2434448 free bytes and 2MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:812)
at android.graphics.Bitmap.createBitmap(Bitmap.java:789)
at android.graphics.Bitmap.createBitmap(Bitmap.java:720)
at io.dcloud.feature.pdr.a.a(CompressImage.java:124)
at io.dcloud.feature.pdr.a$1.run(CompressImage.java:75)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
1 个回复
1***@qq.com
解决了吗