【Android】MemoryLeakMonitor.jar is not exist!

发布于 2022-09-11 16:04:05 字数 9586 浏览 17 评论 0

根据ARM GPUs in Huawei phones,猜测是华为自身ARM GPU造成的,目前这个错误对app并不影响。尝试在另一台非华为手机上测试app,并未出现该错误。但目前未找出解决方案。

在真机测试上出现Error级报错:

2018-12-08 01:22:50.705 25680-25699/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
2018-12-08 01:22:50.706 25680-25680/? E/Minikin: Could not get cmap table size!

gradle环境

android {
    compileSdkVersion 27
    defaultConfig {
        applicationId "com.minram.fucloud_android"
        minSdkVersion 27
        targetSdkVersion 27
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

开发环境

  • Android Studio 3.2.1
  • Build #AI-181.5540.7.32.5056338, built on October 9, 2018
  • JRE: 1.8.0_152-release-1136-b06 amd64
  • JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  • Windows 10 10.0

真机环境

  • Android 8.1.0
  • EMUI 8.2.0
  • Huawei INE-AL00 8.2.0.142

个人补充

个人觉得是代码内存泄漏问题,查了些帖子,就删除android:screenOrientation="portrait"方法无效。自己仍在定位问题,希望诸位指点方向。

另附全部日志

2018-12-08 02:01:28.036 30822-30822/? I/zygote64: Late-enabling -Xcheck:jni
2018-12-08 02:01:28.058 30822-30822/? I/zygote64: Reinit property: dalvik.vm.checkjni= false
2018-12-08 02:01:28.084 30822-30822/? D/ActivityThread: Attach thread to application
2018-12-08 02:01:28.152 30822-30822/? D/HwFLClassLoader: get used feature list :/feature/used-list failed!
2018-12-08 02:01:28.152 30822-30822/? D/HwFLClassLoader: USE_FEATURE_LIST had not init! 
2018-12-08 02:01:28.154 30822-30838/? I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.minram.fucloud_android#10259#256
2018-12-08 02:01:28.155 30822-30838/? I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.minram.fucloud_android#10259#0
2018-12-08 02:01:28.192 30822-30822/? E/Minikin: Could not get cmap table size!
2018-12-08 02:01:28.192 30822-30838/? E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
2018-12-08 02:01:28.273 30822-30822/? D/HwRTBlurUtils: check blur style for HwPhoneWindow, themeResId : 0x7f0c0114, context : com.minram.fucloud_android.SplashScreenActivity@c79fed5, Nhwext : 0, get Blur : disable with , null
2018-12-08 02:01:28.274 30822-30822/? D/HwRTBlurUtils: check blur style for HwPhoneWindow, themeResId : 0x7f0c0114, context : com.minram.fucloud_android.SplashScreenActivity@c79fed5, Nhwext : 0, get Blur : disable with , null
2018-12-08 02:01:28.317 30822-30822/? D/ActivityThread: add activity client record, r= ActivityRecord{6f94745 token=android.os.BinderProxy@22caade {com.minram.fucloud_android/com.minram.fucloud_android.SplashScreenActivity}} token= android.os.BinderProxy@22caade
2018-12-08 02:01:28.333 30822-30822/? I/hwaps: HwAps: JNI_OnLoad
2018-12-08 02:01:28.337 30822-30822/? D/OpenGLRenderer:   HWUI Binary is  enabled
2018-12-08 02:01:28.339 30822-30847/? D/OpenGLRenderer: HWUI GL Pipeline
2018-12-08 02:01:28.402 30822-30847/? I/zygote64: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2018-12-08 02:01:28.404 30822-30847/? I/OpenGLRenderer: Initialized EGL, version 1.4
2018-12-08 02:01:28.404 30822-30847/? D/OpenGLRenderer: Swap behavior 2
2018-12-08 02:01:28.411 30822-30847/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2018-12-08 02:01:28.468 30822-30822/? I/ViewRootImpl: jank_removeInvalidNode jank list is null
2018-12-08 02:01:28.469 30822-30822/? W/InputMethodManager: startInputReason = 1
2018-12-08 02:01:28.973 30822-30822/com.minram.fucloud_android W/InputMethodManager: startInputReason = 5
2018-12-08 02:01:29.904 30822-30822/com.minram.fucloud_android D/HwRTBlurUtils: check blur style for HwPhoneWindow, themeResId : 0x7f0c0114, context : com.minram.fucloud_android.MainActivity@7eaf03e, Nhwext : 0, get Blur : disable with , null
2018-12-08 02:01:29.905 30822-30822/com.minram.fucloud_android D/HwRTBlurUtils: check blur style for HwPhoneWindow, themeResId : 0x7f0c0114, context : com.minram.fucloud_android.MainActivity@7eaf03e, Nhwext : 0, get Blur : disable with , null
2018-12-08 02:01:29.908 30822-30822/com.minram.fucloud_android D/[MainActivity](setFullScreenAdaptWithStatus): start to initial screen
2018-12-08 02:01:29.915 30822-30822/com.minram.fucloud_android D/[fragmentViewPager](onCreateView): fragment create...
2018-12-08 02:01:29.932 30822-30822/com.minram.fucloud_android D/HwGalleryCacheManagerImpl: mIsEffect:false
2018-12-08 02:01:29.959 30822-30822/com.minram.fucloud_android I/MainActivity: The radioItem selected! [id:2131165322]
2018-12-08 02:01:29.961 30822-30822/com.minram.fucloud_android D/ActivityThread: add activity client record, r= ActivityRecord{e4605a1 token=android.os.BinderProxy@25353c0 {com.minram.fucloud_android/com.minram.fucloud_android.MainActivity}} token= android.os.BinderProxy@25353c0
2018-12-08 02:01:29.971 30822-30847/com.minram.fucloud_android D/OpenGLRenderer:   HWUI Binary is  enabled
2018-12-08 02:01:29.980 30822-30847/com.minram.fucloud_android D/OpenGLRenderer:   HWUI Binary is  enabled
2018-12-08 02:01:30.011 30822-30822/com.minram.fucloud_android D/MainFragment: status bar height:90
2018-12-08 02:01:30.019 30822-30822/com.minram.fucloud_android D/DiscoverFragment: status bar height:90
2018-12-08 02:01:30.056 30822-30822/com.minram.fucloud_android D/CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
2018-12-08 02:01:30.056 30822-30822/com.minram.fucloud_android D/CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
2018-12-08 02:01:30.057 30822-30822/com.minram.fucloud_android D/CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.23, mControlPoint1y = 0.06, mControlPoint2x = 0.09, mControlPoint2y = 0.97
2018-12-08 02:01:30.057 30822-30822/com.minram.fucloud_android D/CubicBezierInterpolator: CubicBezierInterpolator  mControlPoint1x = 0.6, mControlPoint1y = 0.9, mControlPoint2x = 0.8, mControlPoint2y = 1.0
2018-12-08 02:01:30.100 30822-30822/com.minram.fucloud_android D/[CircleImageView](init): mBorderColor:2147483647
2018-12-08 02:01:30.100 30822-30822/com.minram.fucloud_android D/[CircleImageView](init): mFillColor:-1
2018-12-08 02:01:30.100 30822-30822/com.minram.fucloud_android D/[CircleImageView](init): mStrokeWidth:10
2018-12-08 02:01:30.101 30822-30828/com.minram.fucloud_android I/zygote64: Do partial code cache collection, code=25KB, data=29KB
2018-12-08 02:01:30.101 30822-30828/com.minram.fucloud_android I/zygote64: After code cache collection, code=25KB, data=29KB
2018-12-08 02:01:30.101 30822-30828/com.minram.fucloud_android I/zygote64: Increasing code cache capacity to 128KB
2018-12-08 02:01:30.175 30822-30828/com.minram.fucloud_android I/zygote64: Do partial code cache collection, code=29KB, data=46KB
2018-12-08 02:01:30.175 30822-30828/com.minram.fucloud_android I/zygote64: After code cache collection, code=29KB, data=46KB
2018-12-08 02:01:30.175 30822-30828/com.minram.fucloud_android I/zygote64: Increasing code cache capacity to 256KB
2018-12-08 02:01:30.176 30822-30828/com.minram.fucloud_android I/zygote64: Compiler allocated 4MB to compile void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int)
2018-12-08 02:01:30.187 30822-30822/com.minram.fucloud_android D/MeFragment: status bar height:90
2018-12-08 02:01:30.258 30822-30828/com.minram.fucloud_android I/zygote64: Compiler allocated 8MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
2018-12-08 02:01:30.296 30822-30828/com.minram.fucloud_android I/zygote64: Do full code cache collection, code=121KB, data=86KB
2018-12-08 02:01:30.297 30822-30828/com.minram.fucloud_android I/zygote64: After code cache collection, code=118KB, data=66KB
2018-12-08 02:01:30.298 30822-30847/com.minram.fucloud_android D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2018-12-08 02:01:30.327 30822-30828/com.minram.fucloud_android I/zygote64: Do partial code cache collection, code=122KB, data=69KB
2018-12-08 02:01:30.327 30822-30828/com.minram.fucloud_android I/zygote64: After code cache collection, code=122KB, data=69KB
2018-12-08 02:01:30.327 30822-30828/com.minram.fucloud_android I/zygote64: Increasing code cache capacity to 512KB
2018-12-08 02:01:30.342 30822-30822/com.minram.fucloud_android W/InputMethodManager: startInputReason = 1
2018-12-08 02:01:30.395 30822-30847/com.minram.fucloud_android W/libEGL: EGLNativeWindowType 0x7acaf64010 disconnect failed
2018-12-08 02:01:30.526 30822-30822/com.minram.fucloud_android D/ActivityThread: Remove activity client record, r= ActivityRecord{6f94745 token=android.os.BinderProxy@22caade {com.minram.fucloud_android/com.minram.fucloud_android.SplashScreenActivity}} token= android.os.BinderProxy@22caade

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

感情旳空白 2022-09-18 16:04:05

请问楼主找到解决方案了吗

↘人皮目录ツ 2022-09-18 16:04:05

求大佬,我的错误是E/Minikin: Could not get cmap table size!以及E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!怎么解决啊啊!急求大神急救

唯憾梦倾城 2022-09-18 16:04:05

哈哈,可能和我犯了同样错误

https://blog.csdn.net/geek123520/article/details/116949589
忘你却要生生世世 2022-09-18 16:04:05

activity添加属性就解决了
android:screenOrientation="portrait"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文