lujun525
lujun525
楼主好: 我的是10.0版本手机,在启动页快速切换到后台,发现onRequestPermissionsResult不回调了
作者你好,看到不少人提了内存泄露,你这边也修改了,onCallBack加了mMessenger = null;mRequest = null;这两行代码,我用的是support2.0.1包,我也加了这两行代码,可是还是会有内存泄露,请问这是啥原因啊
我试了二三级页面生命周期报错,没问题。首页生命周期报错,会黑屏,卡死
Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 4326412 byte allocation with 1792408 free bytes and 1750KB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.Bitmap.nativeCreate(Bitmap.java) at android.graphics.Bitmap.createBitmap(Bitmap.java:975) at android.graphics.Bitmap.createBitmap(Bitmap.java:946) at android.graphics.Bitmap.createBitmap(Bitmap.java:913) at androidx.vectordrawable.graphics.drawable.VectorDrawableCompat$VectorDrawableCompatState.createCachedBitmapIfNeeded(BL:2)...
SmartRefreshLayou用的版本是2.0.5 下面是崩溃异常 Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 2433612 byte allocation with 1440512 free bytes and 1406KB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.Bitmap.nativeCreate(Bitmap.java) at android.graphics.Bitmap.createBitmap(Bitmap.java:825) at android.graphics.Bitmap.createBitmap(Bitmap.java:802) at android.graphics.Bitmap.createBitmap(Bitmap.java:769)...
android-studio build,can run,but generate ajcore file,What is the reason for this
大佬,你好,我在drawable放了张svg图片,然后在编译生成的apk看到,会在xxxhdpi、xxhdpi、xhdpi、hdpi都会生成对应的png图片,那这样不是让包体积变大了吗?没搞明白啊
我这个图片浏览支持双指放大,一般我是两个手指同时放屏幕上,比较容易触发成拖拽了,这个该怎么解啊,我看今日头条图片预览不会有这个问题