Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 0.57 Android crash on launch #21925

Closed
3 tasks done
DanGDroid opened this issue Oct 24, 2018 · 7 comments
Closed
3 tasks done

Upgrade to 0.57 Android crash on launch #21925

DanGDroid opened this issue Oct 24, 2018 · 7 comments
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.

Comments

@DanGDroid
Copy link

DanGDroid commented Oct 24, 2018

Environment

React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz
Memory: 2.71 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.7.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.1.0 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 22.0.1, 23.0.1, 23.0.3, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 27.0.0, 27.0.1, 27.0.2, 27.0.3
API Levels: 19, 21, 22, 23, 24, 25, 26, 27
IDEs:
Android Studio: 3.1 AI-173.4670197
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.1 => 16.5.1
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
react-native-cli: 2.0.1

Description

Ios runs fine,
Android builds successfully lunches Lunch screen and then crashes with 'App has stoped message'
and no js crash log

Logcat:
java.lang.AbstractMethodError abstract method "com.facebook.drawee.controller.AbstractDraweeControllerBuilder com.facebook.drawee.controller.AbstractDraweeControllerBuilder.getThis()" AbstractDraweeControllerBuilder.java:106 com.facebook.drawee.controller.AbstractDraweeControllerBuilder.reset ReactImageView.java:509 com.facebook.react.views.image.ReactImageView.maybeUpdateView ReactImageManager.java:209 com.facebook.react.views.image.ReactImageManager.onAfterUpdateTransaction ReactImageManager.java:29 com.facebook.react.views.image.ReactImageManager.onAfterUpdateTransaction ViewManager.java:33 com.facebook.react.uimanager.ViewManager.updateProperties NativeViewHierarchyManager.java:269 com.facebook.react.uimanager.NativeViewHierarchyManager.createView UIViewOperationQueue.java:200 com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute UIViewOperationQueue.java:1085 com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations UIViewOperationQueue.java:1056 com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded GuardedFrameCallback.java:29 com.facebook.react.uimanager.GuardedFrameCallback.doFrame ReactChoreographer.java:134 com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame ChoreographerCompat.java:105 com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame Choreographer.java:909 android.view.Choreographer$CallbackRecord.run Choreographer.java:723 android.view.Choreographer.doCallbacks Choreographer.java:655 android.view.Choreographer.doFrame Choreographer.java:897 android.view.Choreographer$FrameDisplayEventReceiver.run Handler.java:789 android.os.Handler.handleCallback Handler.java:98 android.os.Handler.dispatchMessage Looper.java:164 android.os.Looper.loop ActivityThread.java:6541 android.app.ActivityThread.main Method.java:-2 java.lang.reflect.Method.invoke Zygote.java:240 com.android.internal.os.Zygote$MethodAndArgsCaller.run ZygoteInit.java:767 com.android.internal.os.ZygoteInit.main

cannot figure it out!?

my dependencies:

"dependencies": {
    "apisauce": "^0.14.3",
    "buffer": "^5.0.8",
    "bugsnag-react-native": "^2.8.0",
    "bugsnag-sourcemaps": "^1.0.1",
    "currency-symbol-map": "^4.0.4",
    "format-json": "^1.0.3",
    "libphonenumber-js": "^1.0.24",
    "lodash": "^4.17.2",
    "prop-types": "^15.6.0",
    "querystringify": "1.0.0",
    "ramda": "^0.24.1",
    "react": "16.5.1",
    "react-native": "0.57.0",
    "react-native-animatable": "^1.2.4",
    "react-native-app-link": "^0.4.0",
    "react-native-autogrow-textinput": "^5.0.0",
    "react-native-blur": "^3.2.2",
    "react-native-check-app-install": "^0.0.4",
    "react-native-check-box": "^2.1.0",
    "react-native-collapsible": "^0.10.0",
    "react-native-config": "^0.11.5",
    "react-native-country-picker-modal": "^0.5.1",
    "react-native-device-info": "^0.16.0",
    "react-native-drawer": "^2.5.0",
    "react-native-elements": "^0.19.0",
    "react-native-fast-image": "^5.0.11",
    "react-native-fbsdk": "^0.8.0",
    "react-native-firebase": "^4.2.0",
    "react-native-fused-location": "^0.2.1",
    "react-native-geolocation-service": "^1.0.3",
    "react-native-hyperlink": "^0.0.14",
    "react-native-i18n": "2.0.10",
    "react-native-image-crop-picker": "^0.21.2",
    "react-native-keyboard-aware-scroll-view": "^0.4.3",
    "react-native-languages": "^1.0.6",
    "react-native-map-clustering": "^1.2.8",
    "react-native-maps": "0.22.0",
    "react-native-maps-super-cluster": "^1.5.0",
    "react-native-masked-text": "^1.6.5",
    "react-native-material-textfield": "^0.12.0",
    "react-native-modal": "^4.1.1",
    "react-native-modal-dropdown": "^0.6.0",
    "react-native-picker-select": "^4.2.0",
    "react-native-sha256": "^1.1.1",
    "react-native-star-rating": "^1.1.0",
    "react-native-swiper": "^1.5.13",
    "react-native-uuid": "^1.4.9",
    "react-native-vector-icons": "^4.6.0",
    "react-native-version": "^2.3.1",
    "react-navigation": "^2.18.1",
    "react-navigation-redux-helpers": "^2.0.6",
    "react-redux": "^5.0.2",
    "redux": "^4.0.1",
    "redux-enhancer-react-native-appstate": "^0.3.1",
    "redux-logic": "^0.12.3",
    "redux-persist": "^4.1.0",
    "redux-saga": "^0.16.2",
    "reduxsauce": "0.4.1",
    "safe-buffer": "^5.1.1",
    "seamless-immutable": "^7.0.1",
    "url-parse": "^1.4.1"
  },
  "devDependencies": {
    "@babel/runtime": "7.0.0",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^23.6.0",
    "babel-plugin-ignite-ignore-reactotron": "^0.3.0",
    "babel-preset-es2015": "^6.24.1",
    "enzyme": "^3.7.0",
    "husky": "^1.1.1",
    "ignite-animatable": "^1.0.0",
    "ignite-dev-screens": "^2.3.0",
    "ignite-i18n": "^1.1.1",
    "ignite-ir-boilerplate": "^2.3.3",
    "ignite-standard": "^1.0.0",
    "ignite-vector-icons": "^1.1.0",
    "jest": "^23.6.0",
    "metro-react-native-babel-preset": "^0.45.0",
    "mockery": "^2.1.0",
    "react-addons-test-utils": "^15.6.2",
    "react-dom": "^16.5.1",
    "react-test-renderer": "^16.5.1",
    "reactotron-react-native": "^2.1.0",
    "reactotron-redux": "^2.1.0",
    "reactotron-redux-saga": "^2.1.0",
    "schedule": "0.4.0",
    "snazzy": "^8.0.0",
    "standard": "^12.0.1"
  },
  "jest": {
    "testMatch": [
      "**/Tests/**/*.js",
      "**/?(*.)(spec|test).js?(x)"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/",
      "Tests/Setup.js"
    ],
    "setupFiles": [
      "./Tests/Setup"
    ],
    "preset": "react-native"
  },
  "config": {},
  "standard": {
    "parser": "babel-eslint",
    "globals": [
      "describe",
      "test",
      "jest",
      "expect",
      "fetch",
      "navigator",
      "__DEV__",
      "XMLHttpRequest",
      "FormData",
      "React$Element"
    ]
  },
  "rnpm": {
    "assets": [
      "./App/fonts"
    ]
  }

Reproducible Demo

Let us know how to reproduce the issue. Include a code sample, share a project, or share an app that reproduces the issue using https://snack.expo.io/. Please follow the guidelines for providing a MCVE: https://stackoverflow.com/help/mcve

@bauti-defi
Copy link

Have you tried moving to react-native version 0.57.1?

@react-native-bot react-native-bot added the Platform: Android Android applications. label Oct 24, 2018
@DanGDroid
Copy link
Author

No,
Is there any fixes related on 0.57.1?

@DanGDroid
Copy link
Author

DanGDroid commented Oct 24, 2018

the same in 0.57.1

logcat:

10-23 23:30:37.291 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolylineManager 10-23 23:30:37.296 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapPolygonManager 10-23 23:30:37.300 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapCircleManager 10-23 23:30:37.304 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapManager 10-23 23:30:37.309 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapLiteManager 10-23 23:30:37.309 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapUrlTileManager 10-23 23:30:37.318 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapLocalTileManager 10-23 23:30:37.323 4262 4309 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.airbnb.android.react.maps.AirMapOverlayManager 10-23 23:30:37.333 4262 4309 I RNFusedLocation: RNFusedLocation initialized 10-23 23:30:37.335 4262 4309 D RNFirebaseAnalytics: New instance 10-23 23:30:37.342 4262 4309 D ReactNative: Initializing React Xplat Bridge. 10-23 23:30:37.351 4262 4309 D ReactNative: Initializing React Xplat Bridge before initializeBridge 10-23 23:30:37.356 4262 4309 D ReactNative: Initializing React Xplat Bridge after initializeBridge 10-23 23:30:37.356 4262 4309 D ReactNative: CatalystInstanceImpl.runJSBundle() 10-23 23:30:37.364 4262 4325 D ReactNative: ReactInstanceManager.setupReactContext() 10-23 23:30:37.364 4262 4325 D ReactNative: CatalystInstanceImpl.initialize() 10-23 23:30:37.365 4262 4325 D ReactNative: ReactInstanceManager.attachRootViewToInstance() 10-23 23:30:37.365 4262 4325 D SoLoader: About to load: libyoga.so 10-23 23:30:37.366 4262 4325 D SoLoader: libyoga.so not found on /data/data/com....../lib-main 10-23 23:30:37.366 4262 4325 D SoLoader: libyoga.so found on /data/app/com......==/lib/x86 10-23 23:30:37.366 4262 4325 D SoLoader: Not resolving dependencies for libyoga.so 10-23 23:30:37.373 4262 4325 D SoLoader: Loaded: libyoga.so 10-23 23:30:37.375 4262 4324 W ResourceType: No package identifier when getting value for resource number 0x00000000 10-23 23:30:37.397 4262 4325 D SoLoader: init exiting 10-23 23:30:37.397 4262 4308 E EGL_emulation: tid 4308: eglSurfaceAttrib(1210): error 0x3009 (EGL_BAD_MATCH) 10-23 23:30:37.397 4262 4308 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xcf2929a0, error=EGL_BAD_MATCH 10-23 23:30:37.425 499 521 I ActivityManager: Displayed .../.MainActivity: +3s505ms 10-23 23:30:37.427 4262 4262 W unknown:ReactNative: Packager connection already open, nooping. 10-23 23:30:37.431 499 499 I Binder:499_1: type=1400 audit(0.0:53614): avc: denied { write } for name="timerslack_ns" dev="proc" ino=16356 scontext=u:r:system_server:s0 tcontext=u:r:priv_app:s0:c512,c768 tclass=file permissive=1 10-23 23:30:37.443 363 363 I surfaceflinger: type=1400 audit(0.0:53615): avc: denied { sendto } for path="/dev/socket/logdw" scontext=u:r:surfaceflinger:s0 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1 10-23 23:30:37.451 6159 6159 I com.google.android.gms: type=1400 audit(0.0:53616): avc: denied { write } for comm=4D6561737572656D656E7420576F72 name="google_app_measurement.db-journal" dev="sdb3" ino=82194 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=file permissive=1 10-23 23:30:37.451 6159 6159 I com.google.android.gms: type=1400 audit(0.0:53617): avc: denied { open } for comm=4D6561737572656D656E7420576F72 path="/data/data/com.google.android.gms/databases/google_app_measurement.db-journal" dev="sdb3" ino=82194 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=file permissive=1 10-23 23:30:37.457 4262 4324 W InstanceID: Instance ID SDK is deprecated, com.... should update to use Firebase Instance ID 10-23 23:30:37.463 671 671 I lowpool[26]: type=1400 audit(0.0:53618): avc: denied { read } for name="databases" dev="sdb3" ino=82049 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=dir permissive=1 10-23 23:30:37.463 671 671 I lowpool[26]: type=1400 audit(0.0:53619): avc: denied { open } for path="/data/data/com.google.android.gms/databases" dev="sdb3" ino=82049 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=dir permissive=1 10-23 23:30:37.467 671 13044 E NetworkScheduler: Invalid component specified. 10-23 23:30:37.473 4262 4324 I WebViewFactory: Loading com.android.webview version 58.0.3029.125 (code 303012510) 10-23 23:30:37.487 4262 4324 I cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 5998-5999) 10-23 23:30:37.492 4262 4262 I chromium: [INFO:library_loader_hooks.cc(140)] Chromium logging enabled: level = 0, default verbosity = 0 10-23 23:30:37.492 4262 4262 I cr_LibraryLoader: Expected native library version number "58.0.3029.125", actual native library version number "58.0.3029.125" 10-23 23:30:37.509 4262 4262 I cr_BrowserStartup: Initializing chromium process, singleProcess=false 10-23 23:30:37.513 4262 4284 W cr_ChildProcLauncher: Create a new ChildConnectionAllocator with package name = com.android.webview, inSandbox = true 10-23 23:30:37.515 657 657 I main : type=1400 audit(0.0:53620): avc: denied { read } for path="/dev/socket/webview_zygote" scontext=u:r:webview_zygote:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 10-23 23:30:37.520 4262 4262 D : HostConnection::get() New Host Connection established 0xcd389280, tid 4262 10-23 23:30:37.523 4329 4329 E /system/bin/webview_zygote32: failed to make and chown /acct/uid_99064: Permission denied 10-23 23:30:37.523 4329 4329 E Zygote : createProcessGroup(99064, 0) failed: Permission denied 10-23 23:30:37.524 4329 4329 W /system/bin/webview_zygote32: Unexpected CPU variant for X86 using defaults: x86 10-23 23:30:37.529 499 636 I ActivityManager: Start proc 4329:com.android.webview:sandboxed_process0/u0i64 for webview_service com..../org.chromium.content.app.SandboxedProcessService0 10-23 23:30:37.539 4262 4262 W : Unrecognized GLES max version string in extensions: 10-23 23:30:37.543 4329 4329 I SamplingProfilerIntegration: Profiling disabled. 10-23 23:30:37.543 4262 4262 D EGL_emulation: eglCreateContext: 0xe1a41e60: maj 2 min 0 rcv 2 10-23 23:30:37.550 4343 4343 E asset : setgid: Operation not permitted 10-23 23:30:37.561 4329 4329 I LoadedApk: No resource references to update in package com.android.webview 10-23 23:30:37.563 4329 4329 I cr_ChildProcessService: Creating new ChildProcessService pid=4329 10-23 23:30:38.053 4262 4267 I zygote : Do partial code cache collection, code=60KB, data=44KB 10-23 23:30:38.053 4262 4267 I zygote : After code cache collection, code=58KB, data=43KB 10-23 23:30:38.053 4262 4267 I zygote : Increasing code cache capacity to 256KB 10-23 23:30:38.195 413 413 I healthd : type=1400 audit(0.0:53628): avc: denied { read } for name="capacity" dev="tmpfs" ino=12212 scontext=u:r:healthd:s0 tcontext=u:object_r:device:s0 tclass=fifo_file permissive=1 10-23 23:30:38.195 413 413 I healthd : type=1400 audit(0.0:53629): avc: denied { open } for path="/dev/pipe/battery/BAT0/capacity" dev="tmpfs" ino=12212 scontext=u:r:healthd:s0 tcontext=u:object_r:device:s0 tclass=fifo_file permissive=1 10-23 23:30:38.195 413 413 I healthd : type=1400 audit(0.0:53630): avc: denied { getattr } for path="/dev/pipe/battery/BAT0/capacity" dev="tmpfs" ino=12212 scontext=u:r:healthd:s0 tcontext=u:object_r:device:s0 tclass=fifo_file permissive=1 10-23 23:30:38.987 314 314 I netd : type=1400 audit(0.0:53631): avc: denied { getopt } for path="/dev/socket/fwmarkd" scontext=u:r:netd:s0 tcontext=u:r:init:s0:c512,c768 tclass=unix_stream_socket permissive=1 10-23 23:30:38.987 314 314 I netd : type=1400 audit(0.0:53632): avc: denied { read } for path="/dev/socket/fwmarkd" scontext=u:r:netd:s0 tcontext=u:r:init:s0:c512,c768 tclass=unix_stream_socket permissive=1 10-23 23:30:38.987 314 314 I netd : type=1400 audit(0.0:53633): avc: denied { write } for path="socket:[2014459]" dev="sockfs" ino=2014459 scontext=u:r:netd:s0 tcontext=u:r:init:s0:c512,c768 tclass=unix_stream_socket permissive=1 10-23 23:30:39.627 4262 4325 I bugsnag-react-native: Initialized Bugsnag React Native 2.11.0/Android 0.0 10-23 23:30:39.661 4262 4262 D AndroidRuntime: Shutting down VM 10-23 23:30:39.663 4262 4262 E AndroidRuntime: FATAL EXCEPTION: main 10-23 23:30:39.663 4262 4262 E AndroidRuntime: Process: com...., PID: 4262 10-23 23:30:39.663 4262 4262 E AndroidRuntime: java.lang.AbstractMethodError: abstract method "com.facebook.drawee.controller.AbstractDraweeControllerBuilder com.facebook.drawee.controller.AbstractDraweeControllerBuilder.getThis()" 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.drawee.controller.AbstractDraweeControllerBuilder.reset(AbstractDraweeControllerBuilder.java:106) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.views.image.ReactImageView.maybeUpdateView(ReactImageView.java:509) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.views.image.ReactImageManager.onAfterUpdateTransaction(ReactImageManager.java:209) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.views.image.ReactImageManager.onAfterUpdateTransaction(ReactImageManager.java:29) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:33) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:269) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:200) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.dispatchPendingNonBatchedOperations(UIViewOperationQueue.java:1085) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1056) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:134) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:105) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:909) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:723) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:655) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:789) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:98) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) 10-23 23:30:39.663 4262 4262 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) 10-23 23:30:39.708 4262 4262 I Bugsnag : Saved unsent payload to disk (/data/user/0/com.....) 10-23 23:30:39.711 499 19580 W ActivityManager: Force finishing activity com...../.MainActivity 10-23 23:30:39.719 499 499 I ActivityManager: type=1400 audit(0.0:53634): avc: denied { write } for name="timerslack_ns" dev="proc" ino=2013876 scontext=u:r:system_server:s0 tcontext=u:r:untrusted_app:s0:c512,c768 tclass=file permissive=1 10-23 23:30:39.719 499 515 I ActivityManager: Showing crash dialog for package com..... u0 10-23 23:30:39.743 6159 6159 I BOX_ENTRY_ADDED: type=1400 audit(0.0:53635): avc: denied { write } for name="shared_prefs" dev="sdb3" ino=82024 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=dir permissive=1 10-23 23:30:39.751 6159 6159 I BOX_ENTRY_ADDED: type=1400 audit(0.0:53640): avc: denied { setattr } for name="com.google.android.gms.safetynet.xml" dev="sdb3" ino=82426 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=file permissive=1 10-23 23:30:39.751 6159 6159 I BOX_ENTRY_ADDED: type=1400 audit(0.0:53641): avc: denied { unlink } for name="com.google.android.gms.safetynet.xml.bak" dev="sdb3" ino=82412 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0:c512,c768 tclass=file permissive=1 10-23 23:30:39.763 499 1255 I OpenGLRenderer: Initialized EGL, version 1.4 10-23 23:30:39.763 499 1255 D OpenGLRenderer: Swap behavior 1 10-23 23:30:39.797 499 1255 D EGL_emulation: eglCreateContext: 0xcb3e20e0: maj 2 min 0 rcv 2 10-23 23:30:39.845 499 1255 E EGL_emulation: tid 1255: eglSurfaceAttrib(1210): error 0x3009 (EGL_BAD_MATCH) 10-23 23:30:39.845 499 1255 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xcb3cce60, error=EGL_BAD_MATCH 10-23 23:30:40.024 499 515 W Looper : Dispatch took 225ms on android.ui, h=Handler (android.view.Choreographer$FrameHandler) {b6f6817} cb=android.view.Choreographer$FrameDisplayEventReceiver@8f08404 msg=0 10-23 23:30:40.215 499 514 W ActivityManager: Activity pause timeout for ActivityRecord{26eabeb u0 com...../.MainActivity t200 f} 10-23 23:30:40.263 1193 1193 I droid.launcher3: type=1400 audit(0.0:53642): avc: denied { sendto } for path="/dev/socket/logdw" scontext=u:r:priv_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1 10-23 23:30:40.340 4262 4325 D RNFirebaseMessaging: Firebase token: eUamDQuZ5xU:APA91bECTzOtCdcp38LyerrlMWMoKWurleFhgRna6lmxZGbHLtqueUQDfBOEPpWWaZx4DdtiiNzzTq-J0IHeC1_Lyw3JtQCnCg47T2mWDAnV-Iar2LoGok-rZMW2M94bQE1-v_QbrVAU 10-23 23:30:40.349 1193 1280 E EGL_emulation: tid 1280: eglSurfaceAttrib(1210): error 0x3009 (EGL_BAD_MATCH) 10-23 23:30:40.349 1193 1280 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xcfb3b080, error=EGL_BAD_MATCH 10-23 23:30:40.486 363 363 E EGL_emulation: tid 363: eglCreateSyncKHR(1881): error 0x3004 (EGL_BAD_ATTRIBUTE) 10-23 23:30:40.869 1193 1280 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer... 10-23 23:30:41.175 4378 4378 I adbd : type=1400 audit(0.0:53643): avc: denied { ioctl } for path="/dev/pts/3" dev="devpts" ino=6 ioctlcmd=540e scontext=u:r:init:s0 tcontext=u:object_r:devpts:s0 tclass=chr_file permissive=1 10-23 23:30:41.187 4378 4378 I adbd : type=1400 audit(0.0:53644): avc: denied { execute_no_trans } for path="/system/bin/sh" dev="sda6" ino=562 scontext=u:r:init:s0 tcontext=u:object_r:shell_exec:s0 tclass=file permissive=1 10-23 23:30:41.211 4378 4378 I sh : type=1400 audit(0.0:53645): avc: denied { getattr } for path="/dev/pts/3" dev="devpts" ino=6 scontext=u:r:init:s0 tcontext=u:object_r:devpts:s0 tclass=chr_file permissive=1 10-23 23:30:41.211 4378 4378 I sh : type=1400 audit(0.0:53646): avc: denied { execute_no_trans } for path="/system/bin/pm" dev="sda6" ino=523 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1 10-23 23:30:41.219 4378 4378 I app_process: type=1400 audit(0.0:53647): avc: denied { read write } for path="/dev/pts/3" dev="devpts" ino=6 scontext=u:r:zygote:s0 tcontext=u:object_r:devpts:s0 tclass=chr_file permissive=1 10-23 23:30:41.623 4378 4378 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:30:41.678 4378 4378 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:30:41.698 4378 4378 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:30:41.699 126 126 I servicemanager: type=1400 audit(0.0:53649): avc: denied { search } for name="4378" dev="proc" ino=2014654 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=dir permissive=1 10-23 23:30:41.699 126 126 I servicemanager: type=1400 audit(0.0:53650): avc: denied { read } for name="current" dev="proc" ino=2013178 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=file permissive=1 10-23 23:30:41.699 126 126 I servicemanager: type=1400 audit(0.0:53651): avc: denied { open } for path="/proc/4378/attr/current" dev="proc" ino=2013178 scontext=u:r:servicemanager:s0 tcontext=u:r:zygote:s0 tclass=file permissive=1 10-23 23:30:41.703 4378 4378 I app_process: System.exit called, status: 1 10-23 23:30:41.703 4378 4378 I AndroidRuntime: VM exiting with result code 1. 10-23 23:30:50.764 499 514 W ActivityManager: Activity destroy timeout for ActivityRecord{26eabeb u0 com..../.MainActivity t200 f} 10-23 23:30:54.426 4262 4282 D com.facebook.FacebookSdk: getGraphApiVersion: v3.0 10-23 23:30:54.423 4262 4262 I com....: type=1400 audit(0.0:53653): avc: denied { sendto } for comm=4173796E635461736B202331 path="/dev/socket/logdw" scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1 10-23 23:30:54.426 4262 4282 D com.facebook.FacebookSdk: getGraphApiVersion: v3.0 10-23 23:30:54.851 499 513 E memtrack: Couldn't load memtrack module 10-23 23:30:54.851 499 513 W android.os.Debug: failed to get memory consumption info: -1 10-23 23:30:54.950 4262 4303 W Bugsnag : Could not send previously saved error(s) to Bugsnag, will try again later 10-23 23:30:57.371 4389 4389 I app_process: type=1400 audit(0.0:53654): avc: denied { read write } for path="socket:[11272]" dev="sockfs" ino=11272 scontext=u:r:zygote:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 10-23 23:30:57.547 4389 4389 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:30:57.580 4389 4389 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:30:57.579 4389 4389 I main : type=1400 audit(0.0:53655): avc: denied { execmem } for scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=process permissive=1 10-23 23:30:57.580 4389 4389 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:30:57.595 4389 4389 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:30:57.599 499 499 I Binder:499_2: type=1400 audit(0.0:53656): avc: denied { transfer } for scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1 10-23 23:30:57.601 4389 4389 I app_process: System.exit called, status: 1 10-23 23:30:57.601 4389 4389 I AndroidRuntime: VM exiting with result code 1. 10-23 23:30:58.065 354 550 D Sensors : batch handle 6, but there is no batch sensor in genymotion 10-23 23:30:58.071 687 687 I Binder:687_2: type=1400 audit(0.0:53657): avc: denied { sendto } for path="/dev/socket/logdw" scontext=u:r:radio:s0 tcontext=u:r:init:s0 tclass=unix_dgram_socket permissive=1 10-23 23:30:58.186 354 354 D PressureSensor: pressure event 1013.000000 10-23 23:30:58.197 499 517 E BatteryStatsService: Power Hal not loaded 10-23 23:30:58.201 499 517 E BluetoothAdapter: Bluetooth binder is null 10-23 23:30:59.650 4262 4305 W Bugsnag : Leaving session payload for future delivery 10-23 23:30:59.653 4262 4305 W Bugsnag : Storing session payload for future delivery 10-23 23:30:59.655 4262 4305 I Bugsnag : Saved unsent payload to disk (/data/user/0/com..../cache/ 10-23 23:31:00.203 499 517 W BatteryStatsService: Timeout reading modem stats 10-23 23:31:01.672 499 703 D WificondControl: Scan result ready event 10-23 23:31:04.444 4262 4289 D com.facebook.FacebookSdk: getGraphApiVersion: v3.0 10-23 23:31:04.456 4262 4289 D com.facebook.FacebookSdk: getGraphApiVersion: v3.0 10-23 23:31:13.373 4400 4400 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:31:13.407 4400 4400 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:31:13.427 4400 4400 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:31:13.431 4400 4400 I app_process: System.exit called, status: 1 10-23 23:31:13.431 4400 4400 I AndroidRuntime: VM exiting with result code 1. 10-23 23:31:20.319 105 105 I ueventd : type=1400 audit(0.0:53659): avc: denied { read } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=netlink_kobject_uevent_socket permissive=1 10-23 23:31:20.319 314 314 I netd : type=1400 audit(0.0:53660): avc: denied { write } for path="socket:[15690]" dev="sockfs" ino=15690 scontext=u:r:netd:s0 tcontext=u:r:init:s0 tclass=unix_stream_socket permissive=1 10-23 23:31:20.323 499 513 E memtrack: Couldn't load memtrack module 10-23 23:31:20.323 499 513 W android.os.Debug: failed to get memory consumption info: -1 10-23 23:31:20.329 499 513 E memtrack: Couldn't load memtrack module 10-23 23:31:20.329 499 513 W android.os.Debug: failed to get memory consumption info: -1 10-23 23:31:20.340 499 513 E memtrack: Couldn't load memtrack module 10-23 23:31:20.340 499 513 W android.os.Debug: failed to get memory consumption info: -1 10-23 23:31:27.666 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: BlockingExecutor com.google.android.finsky.bo.ae@ee7dd28[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 6] 10-23 23:31:27.667 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: LightweightExecutor com.google.android.finsky.bo.ae@30b8a41[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 44] 10-23 23:31:27.667 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: bgExecutor com.google.android.finsky.bo.ae@f4fdbe6[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 8] 10-23 23:31:29.454 4411 4411 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:31:29.487 4411 4411 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:31:29.503 4411 4411 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:31:29.506 4411 4411 I app_process: System.exit called, status: 1 10-23 23:31:29.506 4411 4411 I AndroidRuntime: VM exiting with result code 1. 10-23 23:31:45.399 4422 4422 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:31:45.434 4422 4422 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:31:45.450 4422 4422 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:31:45.455 4422 4422 I app_process: System.exit called, status: 1 10-23 23:31:45.455 4422 4422 I AndroidRuntime: VM exiting with result code 1. 10-23 23:32:01.287 4433 4433 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:32:01.321 4433 4433 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:32:01.338 4433 4433 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:32:01.343 4433 4433 I app_process: System.exit called, status: 1 10-23 23:32:01.343 4433 4433 I AndroidRuntime: VM exiting with result code 1. 10-23 23:32:17.265 4444 4444 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:32:17.302 4444 4444 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:32:17.322 4444 4444 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:32:17.327 4444 4444 I app_process: System.exit called, status: 1 10-23 23:32:17.327 4444 4444 I AndroidRuntime: VM exiting with result code 1. 10-23 23:32:27.678 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: BlockingExecutor com.google.android.finsky.bo.ae@ee7dd28[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 6] 10-23 23:32:27.678 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: LightweightExecutor com.google.android.finsky.bo.ae@30b8a41[Running, pool size = 3, active threads = 0, queued tasks = 0, completed tasks = 44] 10-23 23:32:27.678 17224 17241 I Finsky : [556] com.google.android.finsky.bo.ad.run(6): Stats for Executor: bgExecutor com.google.android.finsky.bo.ae@f4fdbe6[Running, pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 8] 10-23 23:32:33.202 4455 4455 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 10-23 23:32:33.238 4455 4455 W app_process: Unexpected CPU variant for X86 using defaults: x86 10-23 23:32:33.256 4455 4455 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm 10-23 23:32:33.258 4455 4455 I app_process: System.exit called, status: 1 10-23 23:32:33.258 4455 4455 I AndroidRuntime: VM exiting with result code 1.

and metro bundler lunchPackager:
`
┌──────────────────────────────────────────────────────────────────────────────┐
│ │
│ Running Metro Bundler on port 8081. │
│ │
│ Keep Metro running while developing on any JS projects. Feel free to │
│ close this tab and run your own Metro instance if you prefer. │
│ │
https://github.com/facebook/react-native
│ │
└──────────────────────────────────────────────────────────────────────────────┘

Looking for JS files in
/Users/...

Loading dependency graph, done.
::ffff:127.0.0.1 - - [24/Oct/2018:17:15:15 +0000] "GET /launch-js-devtools HTTP/1.1" 200 - "-" "okhttp/3.10.0"
BUNDLE [android, dev] ../../index.android.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (2316/2316), done.

::1 - - [24/Oct/2018:17:15:21 +0000] "GET /index.android.delta?platform=android&dev=true&minify=false HTTP/1.1" 200 - "http://localhost:8081/debugger-ui/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
MAP [android, dev] ../../index.android.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (2316/2316), done.

::1 - - [24/Oct/2018:17:15:26 +0000] "GET /index.android.map?platform=android&dev=true&minify=false HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"
`

@DanGDroid
Copy link
Author

DanGDroid commented Oct 25, 2018

more information:
this is related to rn <Image/>
i changed my root view container to a demo
and with only <Text> or <View> its fine.
if i add <Image/> i get the crash above

when i click on one of warning yellow boxes i get the same crash

@DanGDroid
Copy link
Author

solved by removing a workaround i implemented in build.gradle - an old issue in Fresco used by react-native-maps
found a solution that worked at the time with RN 0.53 and Android apk 26

i removed:

allprojects {
    repositories {
        flatDir {
            dirs 'libs', './libs'
        }
    }
    configurations {
        all*.exclude  module: 'drawee'  // Doychev's suggested solution can be found over here
    }
}

and from android/app/libs
closing

@ashleyjsands
Copy link

I got this exact error.

It turns out that when I added resolutionStrategy.force 'com.facebook.fresco:drawee:1.3.0' to app/build.gradle file to fix a compiler error when creating my apk file, I inadvertently cause this error to occur when I would run the app. The solution for me was to remove the resolutionStrategy line.

@ghost
Copy link

ghost commented May 31, 2019

solved by removing a workaround i implemented in build.gradle - an old issue in Fresco used by react-native-maps
found a solution that worked at the time with RN 0.53 and Android apk 26

i removed:

allprojects {
    repositories {
        flatDir {
            dirs 'libs', './libs'
        }
    }
    configurations {
        all*.exclude  module: 'drawee'  // Doychev's suggested solution can be found over here
    }
}

and from android/app/libs
closing

Thank you very much, that worked for me after days of trying to migrate to RN 0.59. RN migration is a real mess. Thanks bro!!

@facebook facebook locked as resolved and limited conversation to collaborators Oct 25, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants