簡體   English   中英

Android 應用程序在三星中運行流暢,但在華為手機中無法運行

[英]Android app working smoothly in Samsung but not working in Huawei phones

我有一個 Andriod 應用程序,它在三星手機中運行良好,但在華為等手機中運行速度很慢。 它非常慢,一段時間后它崩潰了。

我的 logcat 中最常見的錯誤是:

  • E/IPCThreadState:binder 線程池(15 個線程)餓死了 1149 毫秒
  • E/LocationManager:死回調,清除wakeLock
  • ZrHungImpl:sendAppFreezeEvent 失敗!

我在清單中的構建類型是: buildTypes { release { minifyEnabled true

        shrinkResources true

        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

依賴是

依賴{

implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
implementation 'androidx.preference:preference:1.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.googlecode.json-simple:json-simple:1.1'
implementation 'com.github.hotchemi:permissionsdispatcher:4.5.0'
implementation 'pub.devrel:easypermissions:1.0.1'
implementation 'com.squareup.picasso:picasso:2.5.2'
annotationProcessor 'com.google.auto.value:auto-value:1.5.2'
implementation 'com.facebook.network.connectionclass:connectionclass:1.0.1'
implementation 'fr.bmartel:jspeedtest:1.31.3'

//QR-Code
implementation 'com.google.android.gms:play-services-vision:19.0.0'
implementation 'com.google.zxing:core:3.3.0'
implementation 'me.dm7.barcodescanner:zxing:1.9'
//to implement vertical expansion on floating action bar
implementation 'com.getbase:floatingactionbutton:1.10.1'
//    implementation "org.apache.httpcomponents:httpcore:4.4.1"
//     compile "org.apache.httpcomponents:httpmime:4.3"
testImplementation 'junit:junit:4.12'
//For Google API location
implementation 'com.google.android.gms:play-services-location:17.0.0'
//compile 'com.android.support:support-annotations:27.0.1'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
// RecyclerView
implementation 'androidx.recyclerview:recyclerview:1.1.0'
// CardView
implementation 'androidx.cardview:cardview:1.0.0'
//Progress-Bar
implementation 'com.github.d-max:spots-dialog:0.7@aar'

//OkHttp
implementation 'com.squareup.okhttp3:mockwebserver:3.11.0'
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-scalars:2.1.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
//Logging
implementation 'com.squareup.okhttp3:logging-interceptor:3.9.0'

// Bottom Navigational Bar
implementation 'com.aurelhubert:ahbottomnavigation:2.1.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'

// Firebase Crashlytics SDK
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
//Firebase SDK
implementation 'com.google.firebase:firebase-core:17.2.2'
implementation 'com.google.firebase:firebase-messaging:20.1.0'
// Admin SDK

//Shortcut badger - balloon notification
implementation "me.leolin:ShortcutBadger:1.1.22@aar"

//AVLoadingIndicatorView Animation
implementation 'com.wang.avi:library:2.1.3'

// Fabric answers
implementation('com.crashlytics.sdk.android:answers:1.4.7@aar') {
    transitive = true
}

// Calendar API URL: https://github.com/SundeepK/CompactCalendarView
implementation 'com.github.sundeepk:compact-calendar-view:3.0.0'

// In-app update
//http://revisitingandroid.blogspot.com/2016/12/programmatically-check-play-store-for.html
implementation 'org.jsoup:jsoup:1.12.1'
implementation 'com.google.android.play:core:1.6.4'


// Android architecture components
// Room components
implementation "androidx.room:room-runtime:$rootProject.roomVersion"
annotationProcessor "androidx.room:room-compiler:$rootProject.roomVersion"
androidTestImplementation "androidx.room:room-testing:$rootProject.roomVersion"

// Lifecycle components
implementation "androidx.lifecycle:lifecycle-extensions:$rootProject.archLifecycleVersion"
implementation "android.arch.lifecycle:viewmodel:1.1.1"
annotationProcessor "androidx.lifecycle:lifecycle-common-java8:$rootProject.archLifecycleVersion"

// UI
implementation "com.google.android.material:material:$rootProject.materialVersion"

// Testing
androidTestImplementation "androidx.arch.core:core-testing:$rootProject.coreTestingVersion"

// Modbus Library
implementation files('libs/modbus4Android-1.2.jar')
//implementation 'com.infiniteautomation:modbus4j:3.0.3'

}

日志貓:

    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/FA: Activity resumed, time: 25896368
    I/NetworkSchedulerService: onStartCommand
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    W/InputMethodManager: startInputReason = 1
    W/libEGL: EGLNativeWindowType 0x7e00294010 disconnect failed
    D/ViewRootImpl[ApplicationSettings]: surface should not be released
    D/ActivityThread: Remove activity client record, r= ActivityRecord{f6dd67a token=android.os.BinderProxy@a2fb554 {**.***.****/**.***.****.settings.ApplicationSettings}} token= android.os.BinderProxy@a2fb554
    D/ActivityThread: Remove activity client record, r= ActivityRecord{457e195 token=android.os.BinderProxy@aca1f82 {**.***.****/**.***.****.commonData.LoginActivity}} token= android.os.BinderProxy@aca1f82
    D/ZrHung.AppEyeUiProbe: stop checker.
    V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 857
    V/FA: Activity paused, time: 25897224
    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/FA: Activity resumed, time: 25897236
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    W/InputMethodManager: startInputReason = 1
    W/libEGL: EGLNativeWindowType 0x7e13a1f010 disconnect failed
    D/ViewRootImpl[MainMenu]: surface should not be released
    D/ActivityThread: Remove activity client record, r= ActivityRecord{4991fca token=android.os.BinderProxy@661e1fa {**.***.****/**.***.****.commonData.MainMenu}} token= android.os.BinderProxy@661e1fa
    W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    V/HiTouch_HiTouchSensor: User setup is finished.
    V/AudioManager: playSoundEffect   effectType: 0
    V/AudioManager: querySoundEffectsEnabled...
    D/ZrHung.AppEyeUiProbe: stop checker.
    V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 790
    V/FA: Activity paused, time: 25898025
    W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5995a94
    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/ActivityThread: Skipping new config:{1.0 ?mcc?mnc [en_GB] ldltr sw360dp w360dp h679dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2037) mAppBounds=Rect(0, 81 - 1080, 2118) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.11}, config:{1.0 ?mcc?mnc [en_GB] ldltr sw360dp w360dp h679dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2037) mAppBounds=Rect(0, 81 - 1080, 2118) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.11} for app:**.***.****
    E/CursorResourceWrapper: context is wrong!
    V/ActivityThread: callActivityOnCreate
    V/FA: onActivityCreatedt.
    V/FA: Activity resumed, time: 25898239
    D/OpenGLRenderer:   HWUI Binary is  enabled
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=2, mHiTouchRestricted=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=1, mHiTouchRestricted=false
    I/HwPhoneWindow: updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=true, mIsFloating=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    I/NetworkSchedulerService: onStopJob
    D/OpenGLRenderer:   HWUI Binary is  enabled
    I/NetworkSchedulerService: onStartCommand
    D/OpenGLRenderer:   HWUI Binary is  enabled
    W/libEGL: EGLNativeWindowType 0x7e00294010 disconnect failed
    D/ViewRootImpl[MainActivity]: surface should not be released
    I/NetworkSchedulerService: onStartJob**.***.****.services.internetStateChange.ConnectivityReceiver@e571a8c
    I/pumps.caretake: Waiting for a blocking GC ProfileSaver
    I/pumps.caretake: Background concurrent copying GC freed 110663(4MB) AllocSpace objects, 40(2MB) LOS objects, 50% free, 5MB/11MB, paused 268us total 121.081ms
    I/pumps.caretake: WaitForGcToComplete blocked ProfileSaver on HeapTrim for 117.801ms
    W/System: A resource failed to call close. 
    W/System: A resource failed to call close. 
    W/libEGL: EGLNativeWindowType 0x7e0352a010 disconnect failed
    W/InputMethodManager: startInputReason = 1
    V/FA: Inactivity, disconnecting from the service
    W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    V/HiTouch_HiTouchSensor: User setup is finished.
    V/AudioManager: playSoundEffect   effectType: 0
    V/AudioManager: querySoundEffectsEnabled...
    D/ZrHung.AppEyeUiProbe: stop checker.
    V/FA: Recording user engagement, ms: 5670
    V/FA: Connecting to remote service
    V/FA: Activity paused, time: 25903905
    W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@3d07ebe
    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/ActivityThread: Skipping new config:{1.0 ?mcc?mnc [en_GB] ldltr sw360dp w360dp h679dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2037) mAppBounds=Rect(0, 81 - 1080, 2118) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.11}, config:{1.0 ?mcc?mnc [en_GB] ldltr sw360dp w360dp h679dp 480dpi nrml long hdr port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 1080, 2037) mAppBounds=Rect(0, 81 - 1080, 2118) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.11} for app:**.***.****
    V/ActivityThread: callActivityOnCreate
    V/FA: onActivityCreated
    I/HwPhoneWindow: updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false
    I/HwPhoneWindow: updateLayoutParamsColor true mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=false, mIsFloating=false
    V/FA: Connection attempt already in progress
    I/Window: window add KeepScreenOnFlag for **.***.****
    I/HwPhoneWindow: updateLayoutParamsColor true mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=true, mIsFloating=true
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@1c10fec,android.view.ContextThemeWrapper@8be9b45
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@2a53ed8,android.view.ContextThemeWrapper@8be9b45
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@68f506d,android.view.ContextThemeWrapper@8be9b45
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@75d8669,android.view.ContextThemeWrapper@8be9b45
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    D/OpenGLRenderer:   HWUI Binary is  enabled
    D/ActivityThread: add activity client record, r= ActivityRecord{7ca25fa token=android.os.BinderProxy@3d07ebe {**.***.****/**.***.****.settings.ApplicationSettings}} token= android.os.BinderProxy@3d07ebe
    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/FA: Activity resumed, time: 25904022
    D/OpenGLRenderer:   HWUI Binary is  enabled
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=2, mHiTouchRestricted=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    V/FA: Connection attempt already in progress
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=1, mHiTouchRestricted=false
    V/FA: Connection attempt already in progress
    I/HwPhoneWindow: updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=true, mIsFloating=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    D/OpenGLRenderer:   HWUI Binary is  enabled
    D/FA: Connected to remote service
    V/FA: Processing queued up service tasks: 4
    W/libEGL: EGLNativeWindowType 0x7e00216010 disconnect failed
    D/ViewRootImpl[MainMenu]: surface should not be released
    W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    V/HiTouch_HiTouchSensor: User setup is finished.
    V/AudioManager: playSoundEffect   effectType: 0
    V/AudioManager: querySoundEffectsEnabled...
    W/libEGL: EGLNativeWindowType 0x7e003ff010 disconnect failed
    D/OpenGLRenderer: endAllActiveAnimators on 0x7e01584d00 (RippleDrawable) with handle 0x7e00281480
    W/InputMethodManager: startInputReason = 1
    W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    V/HiTouch_HiTouchSensor: User setup is finished.
    V/AudioManager: playSoundEffect   effectType: 0
    V/AudioManager: querySoundEffectsEnabled...
    D/ZrHung.AppEyeUiProbe: stop checker.
    V/FA: Recording user engagement, ms: 1479
    W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@da39505
    I/HwPhoneWindow: updateLayoutParamsColor true mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=false, mIsFloating=false
    D/ActivityThread: add activity client record, r= ActivityRecord{993ea8a token=android.os.BinderProxy@da39505 {**.***.****/**.***.****.settings.RegisteringDevice}} token= android.os.BinderProxy@da39505
    D/ZrHung.AppEyeUiProbe: notify runnable to start.
    V/FA: Activity resumed, time: 25905580
    D/OpenGLRenderer:   HWUI Binary is  enabled
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=1, mHiTouchRestricted=false
    I/HwPhoneWindow: updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=true, mIsFloating=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    D/OpenGLRenderer:   HWUI Binary is  enabled
    W/InputMethodManager: startInputReason = 1
    W/libEGL: EGLNativeWindowType 0x7e0143a010 disconnect failed
    D/ViewRootImpl[ApplicationSettings]: surface should not be released
    W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
    V/HiTouch_HiTouchSensor: User setup is finished.
    D/HwAutofillHelper: recordCurrentInfo:0
    D/HwAutofillHelper: inputType = 97
    W/InputMethodManager: startInputReason = 4
    I/InputMethodManager: showSoftInput
    I/InputMethodManager: mServedView =**.***.****;view =**.***.****;flags =0
    I/HwSecImmHelper: mSecurityInputMethodService is null
    E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
    E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
    E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
    E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
    V/FA: Inactivity, disconnecting from the service
    W/System: A resource failed to call close. 
    W/System: A resource failed to call close. 
    I/Choreographer: Skipped 244 frames!  The application may be doing too much work on its main thread.
    D/ZrHung.AppEyeUiProbe: message delay warning
    D/ZrHung.AppEyeUiProbe: message delay warning
    D/ZrHung.AppEyeUiProbe: message delay warning
    E/ZrHungImpl:  sendAppFreezeEvent failed!
    I/Choreographer: Skipped 405 frames!  The application may be doing too much work on its main thread.
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@88332c3,android.view.ContextThemeWrapper@f263740
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@8d7876c,android.view.ContextThemeWrapper@f263740
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@d6bae58,android.view.ContextThemeWrapper@f263740
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/OpenGLRenderer:   HWUI Binary is  enabled
    I/HwSecImmHelper: mSecurityInputMethodService is null
    I/Choreographer: Skipped 1012 frames!  The application may be doing too much work on its main thread.
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=2, mHiTouchRestricted=false
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    D/OpenGLRenderer:   HWUI Binary is  enabled
    W/pumps.caretake: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (light greylist, reflection)
    W/pumps.caretake: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (light greylist, reflection)
    W/pumps.caretake: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (light greylist, reflection)
    W/pumps.caretake: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->setAlpnProtocols([B)V (light greylist, reflection)
    W/pumps.caretake: Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (light greylist, reflection)
    D/OkHttp: <-- 200 OK https://******.com/****I/api/device/details/12345678 (149ms)
    D/OkHttp: Cache-Control: no-cache
    D/OkHttp: [{"DeviceSerialNumber":"321","Allocated":"","ProductID":"1"}]
    D/OkHttp: <-- END HTTP (201-byte body)
    V/AudioManager: playSoundEffect   effectType: 0
    V/AudioManager: querySoundEffectsEnabled...
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@3ec14ac,android.view.ContextThemeWrapper@7b07080
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@419157b,android.view.ContextThemeWrapper@7b07080
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    I/FLTAG_FM: loadFeature class:com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    I/FLTAG_SFM: getRequireClassLoader() succ ! className: com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() : com.huawei.featurelayer.systemfeature.HwWidget.IHwSplineOverScrollerEx
    D/FeatureFactory: loadFeature() new IHwSplineOverScrollerEx()
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl paras: android.widget.OverScroller$SplineOverScroller@6e7e3f1,android.view.ContextThemeWrapper@7b07080
    D/HwSplineOverScrollerExImpl: initSplineOverScrollerImpl: mScrollerVelocity is 0, value is 0
    D/OpenGLRenderer:   HWUI Binary is  enabledhttps://******.com/******I/api/device/details/12345678 (295ms)
    D/OkHttp: Cache-Control: no-cache
    D/OkHttp: Pragma: no-cache
    D/OkHttp: Content-Length: 201
    D/OkHttp: Content-Type: application/json; charset=utf-8
    D/OkHttp: Expires: -1
    D/OkHttp: Server: Microsoft-IIS/8.5
    D/OkHttp: X-AspNet-Version: 4.0.30319
    D/OkHttp: X-Powered-By: ASP.NET
    D/OkHttp: Date: Wed, 05 Feb 2020 16:30:55 GMT
    D/OkHttp: [{"DeviceSerialNumber":"321","Allocated":"","ProductID":"1"}]
    D/OkHttp: <-- END HTTP (201-byte body)
    E/IPCThreadState: binder thread pool (15 threads) starved for 104 ms
    E/IPCThreadState: binder thread pool (15 threads) starved for 113 ms
    E/IPCThreadState: binder thread pool (15 threads) starved for 159 ms
    I/Choreographer: Skipped 2201 frames!  The application may be doing too much work on its main thread.
    I/OpenGLRenderer: Davey! duration=36717ms; Flags=0, IntendedVsync=25953684181735, Vsync=25990367513601, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=25990383801242, AnimationStart=25990383985096, PerformTraversalsStart=25990386659054, DrawStart=25990387214262, SyncQueued=25990389656971, SyncStart=25990389901762, IssueDrawCommandsStart=25990390053846, SwapBuffers=25990400487700, FrameCompleted=25990402086137, DequeueBufferDuration=3998000, QueueBufferDuration=648000, 
    I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
    D/HiTouch_PressGestureDetector: onAttached, package=**.***.****, windowType=2, mHiTouchRestricted=false
    I/OpenGLRenderer: Davey! duration=36739ms; Flags=0, IntendedVsync=25953684181735, Vsync=25990367513601, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=25990383801242, AnimationStart=25990383985096, PerformTraversalsStart=25990386659054, DrawStart=25990412849158, SyncQueued=25990415849679, SyncStart=25990416158533, IssueDrawCommandsStart=25990416515304, SwapBuffers=25990420740304, FrameCompleted=25990424410096, DequeueBufferDuration=419000, QueueBufferDuration=683000, 
    D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
    E/IPCThreadState: binder thread pool (15 threads) starved for 177 ms
    E/IPCThreadState: binder thread pool (15 threads) starved for 141 ms
    E/IPCThreadState: binder thread pool (15 threads) starved for 177 ms
    W/libEGL: EGLNativeWindowType 0x7e03547010 disconnect failed
    D/OpenGLRenderer:   HWUI Binary is  enabled
    E/IPCThreadState: binder thread pool (15 threads) starved for 266 ms

請幫忙,我是android新手。

華為手機中的所有活動、鍵盤和所有服務都運行得很慢。

任何幫助將不勝感激。

部分安卓軟件無法在華為手機上運行的原因有很多。 雖然華為手機現在使用的是安卓系統,但它是一款深度定制的安卓。 許多底層代碼已更改。 一些不太流行的應用程序無法運行也是一種普遍現象。

當應用無法在華為手機上運行時,需要判斷應用是否是系統版本導致的。 由於Android系統更新較快,每次大版本升級后系統代碼都會有所變化。 所以一些舊版本的應用程序可能無法在新版本系統中運行。 甚至一些可以在Android 9上正常運行的應用,在Android 10上也無法正常打開。 華為手機的旗艦產品基本都會搭載最新的Android系統。 比如華為mate 30 Pro搭載的是Android 10,如果系統版本太新,應用版本太舊,兩者不兼容。

這個問題的解決方法很簡單,就是下載最新版本的應用程序。 一般應用只要升級維護正常,很快就可以適應新系統。 如果應用程序長時間無人看管且版本過低,華為等品牌的Android手機可能無法正常使用。

第二種情況是破解版應用在華為手機上運行困難。 這是因為華為emui系統的安全管理很嚴格。 它將安裝的應用程序的特征數據與雲數據進行比較。 破解應用的特征數據與正版應用肯定不同,所以無法被華為系統識別,自然無法安裝。 解決這個問題的主要方法是點擊手機管家右上角的小齒輪,然后關閉“智能維護”選項。 不過,有華為手機用戶表示,即使關閉該功能,大部分破解應用也無法安裝。

第三種情況是一些需要谷歌服務框架才能正常運行的軟件,比如Gmail、谷歌地圖等,因為這些應用都依賴谷歌GMS服務,無法獨立運行。 由於華為被谷歌屏蔽,新的華為手機很難安裝谷歌GMS服務。 不過網絡上也有一些教程,有需要的用戶可以自行搜索。

總的來說,部分安卓軟件無法在華為手機上運行的原因有很多。 華為手機用戶在使用應用時,最好從華為自己的應用商店下載安裝,這樣出問題的幾率最小,也相對安全。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM