Closed 3210jr closed 6 years ago
i have the same problem
@yosa I thought I was going insane! its kicking my butt! Any ideas?
Hi, try this version for google-services and firebase-core
/android/app/build.grade:
implementation "com.google.firebase:firebase-core:15.0.2"
implementation "com.google.firebase:firebase-messaging:15.0.2"
/android/build.grade:
classpath 'com.google.gms:google-services:3.2.1'
It working fine for me!
Thanks @mbizplus it works. I ended up changing the version of firebase-crash to 15.0.2 as well and all is working fine.
@yosa is it working for you? if it is I can close the issue.
Hi all, I got the same error , I learn how to add Facebook Auth to react-native by RNfirebase from this video: https://www.youtube.com/watch?v=nYpm0xj0k2Q&t=6s
And in last step, he tell us that copy the code from "react-native-firebase-starter" with two file
/android/build.grade
/android/app/build.grade
I copy them and replace my code and I got error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.
Please tell me how to fix it ! Thanks !!
this is my repo: https://github.com/ChaoTzuJung/Dougo/tree/fb_login_on_firebase
Thanks for flagging this. Unfortunately Google released new versions of their Android libs on Thursday / Friday which completely broke our starter kit and installation instructions.
These have both now been updated to reflect the required changes.
I change version and it build sucessful in terminal however my android simulator got a strange error:
unfortunately , PROJECTNAME has stopped
android {
// because of firestore:
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 27 // 26 -> 27
defaultConfig {
applicationId "com.dougo"
//Debug failed for task ':app:processDebugManifest'. 15 -> 16 https://developer.android.com/studio/build/multidex
minSdkVersion 16
//26 -> 27
targetSdkVersion 27
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
// because of firestore:
multiDexEnabled true
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
}
dependencies {
implementation project(':react-native-fbsdk')
implementation(project(':react-native-firebase')) {
transitive = false
}
// RNFirebase required dependencies
implementation "com.google.firebase:firebase-core:15.0.2" // 15.0.0 -> 15.0.2 failed for task ':app:transformClassesWithMultidexlistForDebug'.
implementation "com.google.android.gms:play-services-base:15.0.1" // 15.0.0 -> 15.0.1
// RNFirebase optional dependencies
implementation "com.google.firebase:firebase-ads:15.0.0"
implementation "com.google.firebase:firebase-auth:15.0.0"
implementation "com.google.firebase:firebase-config:15.0.2" // 15.0.0 -> 15.0.2 failed for task ':app:transformClassesWithMultidexlistForDebug'.
implementation "com.google.firebase:firebase-database:15.0.0"
implementation "com.google.firebase:firebase-invites:15.0.1"
implementation "com.google.firebase:firebase-firestore:16.0.0" // 15.0.0 -> 16.0.0 failed for task ':app:transformClassesWithMultidexlistForDebug'.
implementation "com.google.firebase:firebase-messaging:15.0.2" // 15.0.0 -> 15.0.2 failed for task ':app:transformClassesWithMultidexlistForDebug'.
implementation "com.google.firebase:firebase-perf:15.1.0"
implementation "com.google.firebase:firebase-storage:15.0.2" // // 15.0.0 -> 15.0.2
implementation('com.crashlytics.sdk.android:crashlytics:2.9.1@aar') {
transitive = true
}
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:27.0.2"
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "com.android.support:multidex:1.0.1" // Degug failed for task ':app:transformClassesWithMultidexlistForDebug -- Enable Multidex for Apps with Over 64K Methods
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
apply plugin: 'com.google.gms.google-services'
@ChaoTzuJung Are you able to run the adb logcat
command from the command line. This should allow you to identify a stack trace corresponding to this error.
Thank for you repley I don't find anything solution from this method Can you help me read this log ? Thanks a lot!!
`
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_ERROR
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_SHUTTER
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_FOCUS
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_ZOOM
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_PREVIEW_FRAME
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_VIDEO_FRAME
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_POSTVIEW_FRAME
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_RAW_IMAGE
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_COMPRESSED_IMAGE
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_RAW_IMAGE_NOTIFY
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: CAMERA_MSG_PREVIEW_METADATA
05-07 05:10:46.293 243 243 V EmulatedCamera_CallbackNotifier: * Currently enabled messages:
05-07 05:10:46.293 579 626 E ConnectivityService: Failed to find Messenger in unregisterNetworkFactory
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: doStopPreview
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: cancelPicture
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: releaseCamera
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: doStopPreview
05-07 05:10:46.293 243 243 V EmulatedCamera_GenyDevice: disconnectDevice
05-07 05:10:46.293 243 243 I CameraFlashlight: Destroying camera 1
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: closeCamera
05-07 05:10:46.293 243 243 V EmulatedCamera_Camera: doStopPreview
05-07 05:10:46.293 579 626 D ConnectivityService: Got NetworkFactory Messenger for Telephony
05-07 05:10:46.293 579 626 D ConnectivityService: Ignoring this network
05-07 05:10:46.294 243 243 I CameraService: disconnect: Disconnected client for camera 1 for PID 243
05-07 05:10:46.294 243 243 D NuPlayerDriver: reset(0xf6159cc0)
05-07 05:10:46.294 243 243 D NuPlayerDriver: notifyListener_l(0xf6159cc0), (8, 0, 0)
05-07 05:10:46.294 243 1063 D NuPlayerDriver: notifyResetComplete(0xf6159cc0)
05-07 05:10:46.295 243 243 D NuPlayerDriver: reset(0xf6159d20)
05-07 05:10:46.295 243 243 D NuPlayerDriver: notifyListener_l(0xf6159d20), (8, 0, 0)
05-07 05:10:46.295 243 1068 D NuPlayerDriver: notifyResetComplete(0xf6159d20)
05-07 05:10:46.296 243 243 E CameraService: disconnect: Disconnect called on already disconnected client for device 1
05-07 05:10:46.298 243 641 V EmulatedCamera_Camera: getCameraInfo
05-07 05:10:46.299 243 641 V EmulatedCamera_BaseCamera: getCameraInfo
05-07 05:10:46.306 243 790 V EmulatedCamera_Camera: getCameraInfo
05-07 05:10:46.306 243 790 V EmulatedCamera_BaseCamera: getCameraInfo
05-07 05:10:46.321 849 1032 D libEGL : loaded /system/lib/egl/libEGL_emulation.so
05-07 05:10:46.321 849 1032 D libEGL : loaded /system/lib/egl/libGLESv1_CM_emulation.so
05-07 05:10:46.330 849 1032 D libEGL : loaded /system/lib/egl/libGLESv2_emulation.so
05-07 05:10:46.335 820 820 D CarrierConfigLoader: CarrierConfigLoader has started
05-07 05:10:46.336 820 820 E BluetoothAdapter: Bluetooth binder is null
05-07 05:10:46.338 849 1032 D : HostConnection::get() New Host Connection established 0xee9d2720, tid 1032
05-07 05:10:46.346 820 820 W TelecomManager: Telecom Service not found.
05-07 05:10:46.346 820 820 I Telephony: TtyManager: updateUiTtyMode -1 -> 0
05-07 05:10:46.365 849 1032 I OpenGLRenderer: Initialized EGL, version 1.4
05-07 05:10:46.367 668 1082 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
05-07 05:10:46.367 668 1082 D OpenGLRenderer: profile bars disabled
05-07 05:10:46.367 668 1082 D OpenGLRenderer: ambientRatio = 1.50
05-07 05:10:46.378 668 668 D : HostConnection::get() New Host Connection established 0xe07be930, tid 668
05-07 05:10:46.396 326 572 D : HostConnection::get() New Host Connection established 0xf7092ed0, tid 572
05-07 05:10:46.398 668 668 D PhoneStatusBar: disable: < EXPAND icons alerts system_info BACK HOME RECENT clock SEARCH quick_settings >
05-07 05:10:46.417 668 668 D PhoneStatusBar: heads up is enabled
05-07 05:10:46.428 668 668 D ViewRootImpl: changeCanvasOpacity: opaque=true
05-07 05:10:46.434 820 820 D TelephonyDebugService: TelephonyDebugService()
05-07 05:10:46.436 849 1032 W EGL_emulation: eglSurfaceAttrib not implemented
05-07 05:10:46.436 849 1032 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe9066aa0, error=EGL_SUCCESS
05-07 05:10:46.447 579 625 D WifiService: New client listening to asynchronous messages
05-07 05:10:46.462 820 820 D CarrierConfigLoader: mHandler: 12 phoneId: 0
05-07 05:10:46.507 820 820 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
05-07 05:10:46.515 820 820 W TelecomManager: Telecom Service not found.
05-07 05:10:46.521 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}
05-07 05:10:46.524 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:46.537 820 820 W TelecomManager: Telecom Service not found.
05-07 05:10:46.543 820 820 W TelecomManager: Telecom Service not found.
05-07 05:10:46.549 820 820 W TelecomManager: Telecom Service not found.
05-07 05:10:46.630 668 695 I art : Background sticky concurrent mark sweep GC freed 3040(129KB) AllocSpace objects, 0(0B) LOS objects, 2% free, 6MB/6MB, paused 30.839ms total 77.030ms
05-07 05:10:46.632 668 1082 D libEGL : loaded /system/lib/egl/libEGL_emulation.so
05-07 05:10:46.635 668 1082 D libEGL : loaded /system/lib/egl/libGLESv1_CM_emulation.so
05-07 05:10:46.646 579 598 W WindowManager: Timeout waiting for drawn: undrawn=[Window{d5c6a7 u0 KeyguardScrim}]
05-07 05:10:46.649 668 1082 D libEGL : loaded /system/lib/egl/libGLESv2_emulation.so
05-07 05:10:46.670 668 1082 D : HostConnection::get() New Host Connection established 0xe0712af0, tid 1082
05-07 05:10:46.762 668 1082 I OpenGLRenderer: Initialized EGL, version 1.4
05-07 05:10:46.847 579 598 I ActivityManager: Displayed com.android.launcher3/.Launcher: +1s727ms
05-07 05:10:47.021 668 1082 W EGL_emulation: eglSurfaceAttrib not implemented
05-07 05:10:47.022 668 1082 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xdf172fa0, error=EGL_SUCCESS
05-07 05:10:47.083 579 625 D WifiService: New client listening to asynchronous messages
05-07 05:10:47.141 579 624 D WIFI : Registering NetworkFactory
05-07 05:10:47.141 579 624 D WIFI_UT : Registering NetworkFactory
05-07 05:10:47.146 579 626 D ConnectivityService: Got NetworkFactory Messenger for WIFI
05-07 05:10:47.146 579 626 D ConnectivityService: Got NetworkFactory Messenger for WIFI_UT
05-07 05:10:47.146 579 626 D ConnectivityService: Ignoring this network
05-07 05:10:47.148 579 624 D WIFI : got request NetworkRequest [ id=1, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 0
05-07 05:10:47.210 579 598 W WindowManager: Window freeze timeout expired.
05-07 05:10:47.214 579 598 W WindowManager: Force clearing orientation change: Window{f00fc83 u0 StatusBar}
05-07 05:10:47.214 579 598 W WindowManager: Force clearing orientation change: Window{d5c6a7 u0 KeyguardScrim}
05-07 05:10:47.289 849 849 D Launcher: bindAppWidget: AppWidget(id=3)
05-07 05:10:47.289 849 849 D Launcher: bindAppWidget: id=3 belongs to component ComponentInfo{com.android.deskclock/com.android.alarmclock.AnalogAppWidgetProvider}
05-07 05:10:47.290 579 593 V KeyguardServiceDelegate: * Keyguard started
05-07 05:10:47.293 579 593 D Sensors : batch handle 1, but there is no batch sensor in genymotion
05-07 05:10:47.294 579 593 W KeyguardServiceDelegate: onScreenTurningOn(): no keyguard service!
05-07 05:10:47.305 668 668 I Choreographer: Skipped 52 frames! The application may be doing too much work on its main thread.
05-07 05:10:47.421 849 849 D Launcher: bound widget id=3 in 132ms
05-07 05:10:47.490 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:47.492 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:47.494 579 579 I DefaultPermGrantPolicy: Granting permissions to default sms app for user:0
05-07 05:10:47.497 579 579 I DefaultPermGrantPolicy: Granting permissions to default dialer app for user:0
05-07 05:10:47.502 579 579 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null
05-07 05:10:47.513 579 649 E WifiScanningService: could not start HAL
05-07 05:10:47.515 579 579 D RttService: SCAN_AVAILABLE : 3
05-07 05:10:47.515 579 650 D RttService: DefaultState got{ when=0 what=160512 target=com.android.internal.util.StateMachine$SmHandler }
05-07 05:10:47.535 579 579 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:47.552 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:47.563 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:47.589 579 579 I FusedLocation: engine started (com.android.location.fused)
05-07 05:10:47.612 668 668 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
05-07 05:10:47.625 579 579 I ActivityManager: Start proc 1110:com.android.deskclock/u0a30 for broadcast com.android.deskclock/com.android.alarmclock.AnalogAppWidgetProvider
05-07 05:10:47.625 668 668 W KeyguardUpdateMonitor: invalid subId in handleServiceStateChange()
05-07 05:10:47.628 579 579 V KeyguardServiceDelegate: * Keyguard connected (yay!)
05-07 05:10:47.660 1110 1110 E libprocessgroup: failed to make and chown /acct/uid_10030: Read-only file system
05-07 05:10:47.660 1110 1110 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:47.726 1110 1110 W System : ClassLoader referenced unknown path: /system/app/DeskClock/lib/x86
05-07 05:10:47.782 579 591 I ActivityManager: Start proc 1125:com.android.quicksearchbox/u0a53 for broadcast com.android.quicksearchbox/.SearchWidgetProvider
05-07 05:10:47.821 1125 1125 E libprocessgroup: failed to make and chown /acct/uid_10053: Read-only file system
05-07 05:10:47.821 1125 1125 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:47.838 1125 1125 W System : ClassLoader referenced unknown path: /system/app/QuickSearchBox/lib/x86
05-07 05:10:47.845 326 1090 D : HostConnection::get() New Host Connection established 0xf6bfe370, tid 1090
05-07 05:10:47.885 579 884 I ActivityManager: Start proc 1142:com.android.settings/1000 for broadcast com.android.settings/.sim.SimSelectNotification
05-07 05:10:47.914 1142 1142 E libprocessgroup: failed to make and chown /acct/uid_1000: Read-only file system
05-07 05:10:47.916 1142 1142 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:48.041 1142 1142 W System : ClassLoader referenced unknown path: /system/priv-app/Settings/lib/x86
05-07 05:10:48.153 820 1156 D SIP : [SipSharedPreferences] isReceivingCallsEnabled, option not set; use default value, exception: android.provider.Settings$SettingNotFoundException: sip_receive_calls
05-07 05:10:48.294 579 594 W WindowManager: Keyguard drawn timeout. Setting mKeyguardDrawComplete
05-07 05:10:49.336 326 353 I SurfaceFlinger: Boot is finished (9377 ms)
05-07 05:10:49.337 668 668 I Choreographer: Skipped 102 frames! The application may be doing too much work on its main thread.
05-07 05:10:49.338 579 590 V KeyguardServiceDelegate: ** SHOWN CALLED
05-07 05:10:49.356 579 598 D : HostConnection::get() New Host Connection established 0xd93a6c20, tid 598
05-07 05:10:49.368 421 460 E Surface : getSlotFromBufferLocked: unknown buffer: 0xf602d0e0
05-07 05:10:49.380 579 598 I SystemServiceManager: Starting phase 1000
05-07 05:10:49.382 579 579 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:49.391 579 1161 I ActivityManager: Start proc 1163:com.android.keychain/1000 for service com.android.keychain/.KeyChainService
05-07 05:10:49.398 668 668 D PhoneStatusBar: disable: < expand icons alerts system_info back home recent clock search* quick_settings >
05-07 05:10:49.406 579 1169 I RecoverySystem: No recovery log file
05-07 05:10:49.419 579 1169 I BootReceiver: Copying audit failures to DropBox
05-07 05:10:49.420 579 1169 I BootReceiver: Checking for fsck errors
05-07 05:10:49.430 579 590 I ActivityManager: Start proc 1171:com.android.dialer/u0a5 for broadcast com.android.dialer/.calllog.CallLogReceiver
05-07 05:10:49.430 1163 1163 E libprocessgroup: failed to make and chown /acct/uid_1000: Read-only file system
05-07 05:10:49.430 1163 1163 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.446 1163 1163 W System : ClassLoader referenced unknown path: /system/app/KeyChain/lib/x86
05-07 05:10:49.461 1171 1171 E libprocessgroup: failed to make and chown /acct/uid_10005: Read-only file system
05-07 05:10:49.461 1171 1171 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.480 1171 1171 W System : ClassLoader referenced unknown path: /system/priv-app/Dialer/lib/x86
05-07 05:10:49.497 1171 1171 D ExtensionsFactory: No custom extensions.
05-07 05:10:49.517 579 579 I ActivityManager: Start proc 1198:com.android.providers.calendar/u0a1 for broadcast com.android.providers.calendar/.CalendarReceiver
05-07 05:10:49.519 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:49.523 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:49.529 820 820 I Telephony: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:49.531 820 820 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
05-07 05:10:49.533 579 884 I Telecom : PhoneAccountRegistrar: New phone account registered: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ]
05-07 05:10:49.536 1198 1198 E libprocessgroup: failed to make and chown /acct/uid_10001: Read-only file system
05-07 05:10:49.536 1198 1198 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.543 579 884 I Telecom : : Sending phone-account intent as user
05-07 05:10:49.544 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}
05-07 05:10:49.544 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:49.549 820 820 I Telephony: TelecomAccountRegistry: Unregistering phone account ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e2f7d48dd2b5ca523e7313cf4ba0f6ea830b6281], UserHandle{0}.
05-07 05:10:49.573 668 668 W KeyguardUpdateMonitor: invalid subId in handleServiceStateChange()
05-07 05:10:49.575 579 811 W Telecom : : No account found for the calling user
05-07 05:10:49.596 1198 1198 W System : ClassLoader referenced unknown path: /system/priv-app/CalendarProvider/lib/x86
05-07 05:10:49.615 1198 1198 I CalendarProvider2: Created com.android.providers.calendar.CalendarAlarmManager@4c95b12(com.android.providers.calendar.CalendarProvider2@56772e3)
05-07 05:10:49.617 579 811 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:49.636 579 590 I ActivityManager: Start proc 1214:com.android.managedprovisioning/u0a9 for broadcast com.android.managedprovisioning/.BootReminder
05-07 05:10:49.660 1214 1214 E libprocessgroup: failed to make and chown /acct/uid_10009: Read-only file system
05-07 05:10:49.660 1214 1214 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.673 1214 1214 W System : ClassLoader referenced unknown path: /system/priv-app/ManagedProvisioning/lib/x86
05-07 05:10:49.783 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:49.784 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:49.793 579 892 I ActivityManager: Start proc 1264:com.android.onetimeinitializer/u0a11 for broadcast com.android.onetimeinitializer/.OneTimeInitializerReceiver
05-07 05:10:49.799 820 820 D MccTable: updateMccMncConfiguration mccmnc='310260' fromServiceState=true
05-07 05:10:49.799 820 820 D MccTable: updateMccMncConfiguration defaultMccMnc=
05-07 05:10:49.799 820 820 D MccTable: updateMccMncConfiguration: mcc=310, mnc=260
05-07 05:10:49.799 820 820 D MccTable: WIFI_COUNTRY_CODE set to us
05-07 05:10:49.799 579 707 I WifiService: WifiService trying to set country code to us with persist set to true
05-07 05:10:49.808 668 668 W KeyguardUpdateMonitor: invalid subId in handleServiceStateChange()
05-07 05:10:49.816 1264 1264 E libprocessgroup: failed to make and chown /acct/uid_10011: Read-only file system
05-07 05:10:49.816 1264 1264 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.823 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:49.823 668 668 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
05-07 05:10:49.824 820 820 I Telephony: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:49.825 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:49.827 820 820 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
05-07 05:10:49.829 579 707 I Telecom : PhoneAccountRegistrar: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}(icon: Icon(typ=BITMAP size=76x96) -> Icon(typ=BITMAP size=76x96))]
05-07 05:10:49.834 1264 1264 W System : ClassLoader referenced unknown path: /system/priv-app/OneTimeInitializer/lib/x86
05-07 05:10:49.835 1264 1264 V OneTimeInitializerRece: OneTimeInitializerReceiver.onReceive
05-07 05:10:49.841 579 707 I Telecom : : Sending phone-account intent as user
05-07 05:10:49.846 579 590 I ActivityManager: Start proc 1306:com.android.calendar/u0a24 for broadcast com.android.calendar/.alerts.AlertReceiver
05-07 05:10:49.850 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}
05-07 05:10:49.850 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:49.854 579 707 W Telecom : : No account found for the calling user
05-07 05:10:49.868 1306 1306 E libprocessgroup: failed to make and chown /acct/uid_10024: Read-only file system
05-07 05:10:49.868 1306 1306 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:49.882 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:49.882 668 668 W KeyguardUpdateMonitor: invalid subId in handleSimStateChange()
05-07 05:10:49.886 820 1071 E DcSwitchStateMachine-0: EVENT_DATA_DISALLOWED failed, com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
05-07 05:10:49.887 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:49.888 820 820 D MccTable: updateMccMncConfiguration mccmnc='310270' fromServiceState=false
05-07 05:10:49.889 820 820 D MccTable: updateMccMncConfiguration defaultMccMnc=
05-07 05:10:49.889 820 820 D MccTable: updateMccMncConfiguration: mcc=310, mnc=270
05-07 05:10:49.889 820 820 D MccTable: updateMccMncConfiguration updateConfig config={1.0 310mcc270mnc ?locale ?layoutDir ?swdp?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
05-07 05:10:49.889 579 591 I ActivityManager: Config changes=3 {1.0 310mcc270mnc en_US ldltr sw360dp w360dp h616dp 640dpi nrml long port finger qwerty/v/v dpad/v s.6}
05-07 05:10:49.897 326 353 D PermissionCache: checking android.permission.READ_FRAME_BUFFER for uid=1000 => granted (203 us)
05-07 05:10:49.902 1306 1306 W System : ClassLoader referenced unknown path: /system/app/Calendar/lib/x86
05-07 05:10:49.921 326 326 E EGL_emulation: tid 326: eglCreateSyncKHR(1215): error 0x3004 (EGL_BAD_ATTRIBUTE)
05-07 05:10:49.923 813 1229 W MediaScanner: Error opening directory '/oem/media/', skipping: No such file or directory.
05-07 05:10:49.957 849 1032 E Surface : getSlotFromBufferLocked: unknown buffer: 0xf2bb54f0
05-07 05:10:49.962 1306 1306 D ExtensionsFactory: No custom extensions.
05-07 05:10:49.964 849 849 W Launcher: setApplicationContext called twice! old=android.app.Application@56772e3 new=android.app.Application@56772e3
05-07 05:10:49.969 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:49.973 820 820 I Telephony: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:49.975 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:49.975 820 820 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
05-07 05:10:49.977 579 590 I Telecom : PhoneAccountRegistrar: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}(addr: tel:*** -> tel:)(icon: Icon(typ=BITMAP size=76x96) -> Icon(typ=BITMAP size=76x96))(subAddr: tel:*** -> tel:)]
05-07 05:10:49.982 1306 1306 D AlertReceiver: onReceive: a=android.intent.action.BOOT_COMPLETED Intent { act=android.intent.action.BOOT_COMPLETED flg=0x8000010 cmp=com.android.calendar/.alerts.AlertReceiver (has extras) }
05-07 05:10:49.991 579 590 I Telecom : : Sending phone-account intent as user
05-07 05:10:49.992 1110 1110 V AlarmClock: AlarmInitReceiver android.intent.action.BOOT_COMPLETED
05-07 05:10:50.003 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}
05-07 05:10:50.004 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:50.005 1306 1346 D AlertService: 0 Action = android.intent.action.BOOT_COMPLETED
05-07 05:10:50.006 1306 1346 D AlertService: Scheduling next alarm with AlarmScheduler. sEventReminderReceived: null
05-07 05:10:50.015 849 849 D Launcher: bindAppWidget: AppWidget(id=3)
05-07 05:10:50.015 849 849 D Launcher: bindAppWidget: id=3 belongs to component ComponentInfo{com.android.deskclock/com.android.alarmclock.AnalogAppWidgetProvider}
05-07 05:10:50.016 579 892 W Telecom : : No account found for the calling user
05-07 05:10:50.027 849 849 D Launcher: bound widget id=3 in 12ms
05-07 05:10:50.028 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:50.030 579 592 D GpsLocationProvider: SIM MCC/MNC is still not available
05-07 05:10:50.030 579 707 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.043 1110 1353 V AlarmClock: AlarmInitReceiver - Reset timers and clear stopwatch data
05-07 05:10:50.048 820 820 D TelephonyProvider: subIdString = -2 subId = -2
05-07 05:10:50.061 1306 1346 D AlarmScheduler: No events found starting within 1 week.
05-07 05:10:50.075 1110 1353 V AlarmClock: AlarmInitReceiver finished
05-07 05:10:50.083 579 591 I ActivityManager: Start proc 1358:com.android.email/u0a34 for broadcast com.android.email/.service.EmailBroadcastReceiver
05-07 05:10:50.095 849 1032 W EGL_emulation: eglSurfaceAttrib not implemented
05-07 05:10:50.095 849 1032 W OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xe9066aa0, error=EGL_SUCCESS
05-07 05:10:50.106 813 1229 V MediaScanner: pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@51e512f
05-07 05:10:50.106 813 1229 V MediaScanner: /pruneDeadThumbnailFiles... android.database.sqlite.SQLiteCursor@51e512f
05-07 05:10:50.114 820 820 V OtaStartupReceiver: onOtaspChanged: mOtaspMode=3
05-07 05:10:50.115 820 820 I Telephony: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:50.123 820 820 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: No UICC
05-07 05:10:50.124 1358 1358 E libprocessgroup: failed to make and chown /acct/uid_10034: Read-only file system
05-07 05:10:50.124 1358 1358 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:50.125 579 590 I Telecom : PhoneAccountRegistrar: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}(icon: Icon(typ=BITMAP size=76x96) -> Icon(typ=BITMAP size=76x96))]
05-07 05:10:50.140 579 590 I Telecom : : Sending phone-account intent as user
05-07 05:10:50.141 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e0184adedf913b076626646d3f52c3b49c39ad6d], UserHandle{0}
05-07 05:10:50.141 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:50.148 579 884 W Telecom : : No account found for the calling user
05-07 05:10:50.149 820 1071 E DcSwitchStateMachine-0: EVENT_DATA_DISALLOWED failed, com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
05-07 05:10:50.151 579 598 I WindowManager: Screen frozen for +261ms due to Window{86735c8 u0 com.android.launcher3/com.android.launcher3.Launcher}
05-07 05:10:50.166 1358 1358 W System : ClassLoader referenced unknown path: /system/app/Email/lib/x86
05-07 05:10:50.174 820 820 D MccTable: updateMccMncConfiguration mccmnc='310270' fromServiceState=false
05-07 05:10:50.177 820 820 D MccTable: updateMccMncConfiguration defaultMccMnc=310270
05-07 05:10:50.177 820 820 D MccTable: updateMccMncConfiguration: mcc=310, mnc=270
05-07 05:10:50.177 820 820 D MccTable: updateMccMncConfiguration updateConfig config={1.0 310mcc270mnc ?locale ?layoutDir ?swdp?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
05-07 05:10:50.326 579 884 I ActivityManager: Start proc 1373:com.android.exchange/u0a35 for service com.android.exchange/.service.EasService
05-07 05:10:50.330 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:50.336 820 820 D MccTable: updateMccMncConfiguration mccmnc='310270' fromServiceState=false
05-07 05:10:50.341 579 592 D GpsLocationProvider: SIM MCC/MNC is available: 310270
05-07 05:10:50.344 579 592 D GpsLocationProvider: Reset GPS properties, previous size = 8
05-07 05:10:50.344 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_HOST=supl.google.com
05-07 05:10:50.344 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_PORT=7275
05-07 05:10:50.344 579 592 D GpsLocationProvider: GpsParamsResource: NTP_SERVER=north-america.pool.ntp.org
05-07 05:10:50.344 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_VER=0x20000
05-07 05:10:50.344 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_MODE=1
05-07 05:10:50.345 579 592 D GpsLocationProvider: GPS properties reloaded, size = 8
05-07 05:10:50.345 579 592 E GpsLocationProvider: no AGPS interface in set_agps_server
05-07 05:10:50.345 579 590 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.345 579 590 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.348 1358 1379 D ActivityThread: Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
05-07 05:10:50.350 1358 1378 D ActivityThread: Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
05-07 05:10:50.354 820 820 D MccTable: updateMccMncConfiguration defaultMccMnc=310270
05-07 05:10:50.354 820 820 D MccTable: updateMccMncConfiguration: mcc=310, mnc=270
05-07 05:10:50.354 820 820 D MccTable: updateMccMncConfiguration updateConfig config={1.0 310mcc270mnc ?locale ?layoutDir ?swdp?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/?}
05-07 05:10:50.360 1373 1373 E libprocessgroup: failed to make and chown /acct/uid_10035: Read-only file system
05-07 05:10:50.360 1373 1373 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:50.363 1356 1356 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
05-07 05:10:50.370 1356 1356 D AndroidRuntime: CheckJNI is OFF
05-07 05:10:50.379 1358 1381 D ActivityThread: Loading provider com.android.email.provider;com.android.email.notifier: com.android.email.provider.EmailProvider
05-07 05:10:50.389 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:50.396 579 592 D GpsLocationProvider: SIM MCC/MNC is available: 310270
05-07 05:10:50.396 579 592 D GpsLocationProvider: Reset GPS properties, previous size = 8
05-07 05:10:50.396 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_HOST=supl.google.com
05-07 05:10:50.396 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_PORT=7275
05-07 05:10:50.396 579 592 D GpsLocationProvider: GpsParamsResource: NTP_SERVER=north-america.pool.ntp.org
05-07 05:10:50.396 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_VER=0x20000
05-07 05:10:50.396 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_MODE=1
05-07 05:10:50.397 1356 1356 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
05-07 05:10:50.397 579 592 D GpsLocationProvider: GPS properties reloaded, size = 8
05-07 05:10:50.397 579 592 E GpsLocationProvider: no AGPS interface in set_agps_server
05-07 05:10:50.451 1356 1356 E memtrack: Couldn't load memtrack module (No such file or directory)
05-07 05:10:50.456 1356 1356 E android.os.Debug: failed to load memtrack module: -2
05-07 05:10:50.456 579 591 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.457 579 707 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.457 1356 1356 I Radio-JNI: register_android_hardware_Radio DONE
05-07 05:10:50.464 1373 1373 W System : ClassLoader referenced unknown path: /system/app/Exchange2/lib/x86
05-07 05:10:50.464 778 778 I SystemBroadcastReceiver: Boot has been completed
05-07 05:10:50.464 778 778 I SystemBroadcastReceiver: toggleAppIcon() : FLAG_SYSTEM = true
05-07 05:10:50.471 579 592 D GpsLocationProvider: received SIM related action:
05-07 05:10:50.472 820 820 D CarrierConfigLoader: update config for phoneId: 0 simState: LOADED
05-07 05:10:50.472 820 820 D CarrierServiceBindHelper: update binding for phoneId: 0 simState: LOADED
05-07 05:10:50.474 1356 1356 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
05-07 05:10:50.479 579 592 D GpsLocationProvider: SIM MCC/MNC is available: 310270
05-07 05:10:50.479 579 592 D GpsLocationProvider: Reset GPS properties, previous size = 8
05-07 05:10:50.479 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_HOST=supl.google.com
05-07 05:10:50.479 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_PORT=7275
05-07 05:10:50.479 579 592 D GpsLocationProvider: GpsParamsResource: NTP_SERVER=north-america.pool.ntp.org
05-07 05:10:50.479 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_VER=0x20000
05-07 05:10:50.479 579 592 D GpsLocationProvider: GpsParamsResource: SUPL_MODE=1
05-07 05:10:50.479 579 592 D GpsLocationProvider: GPS properties reloaded, size = 8
05-07 05:10:50.479 579 592 E GpsLocationProvider: no AGPS interface in set_agps_server
05-07 05:10:50.480 579 884 W ActivityManager: Unable to start service Intent { cmp=com.android.email/.service.AttachmentService} U=0: not found
05-07 05:10:50.482 579 591 W ActivityManager: Unable to start service Intent { cmp=com.android.email/.service.AttachmentService} U=0: not found
05-07 05:10:50.497 579 591 I ActivityManager: Start proc 1404:com.genymotion.superuser/1000 for broadcast com.genymotion.superuser/com.koushikdutta.superuser.SuCheckerReceiver
05-07 05:10:50.501 579 892 W ActivityManager: Unable to start service Intent { cmp=com.android.email/.service.AttachmentService} U=0: not found
05-07 05:10:50.509 820 820 I Telephony: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:50.511 579 591 W ActivityManager: Unable to start service Intent { cmp=com.android.email/.service.AttachmentService} U=0: not found
05-07 05:10:50.520 579 811 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.521 579 884 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.521 1356 1356 I art : System.exit called, status: 0
05-07 05:10:50.521 1356 1356 I AndroidRuntime: VM exiting with result code 0.
05-07 05:10:50.529 1404 1404 E libprocessgroup: failed to make and chown /acct/uid_1000: Read-only file system
05-07 05:10:50.529 1404 1404 W Zygote : createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
05-07 05:10:50.531 1358 1409 I Email : Observing account changes for notifications
05-07 05:10:50.546 820 820 I Telephony: AccountEntry: updateVideoPauseSupport -- mcc/mnc for sub: {id=1, iccId=89014103211118510720 simSlotIndex=0 displayName=Android carrierName=Android nameSource=0 iconTint=-16746133 dataRoaming=0 iconBitmap=android.graphics.Bitmap@10cf11c mcc 310 mnc 270}
05-07 05:10:50.546 579 892 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.547 579 707 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.547 579 591 I Telecom : PhoneAccountRegistrar: New phone account registered: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e2f7d48dd2b5ca523e7313cf4ba0f6ea830b6281], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ]
05-07 05:10:50.547 1373 1373 I Exchange: EasService.onCreate
05-07 05:10:50.549 579 892 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.550 579 884 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
05-07 05:10:50.561 579 591 I Telecom : : Sending phone-account intent as user
05-07 05:10:50.561 820 820 I Telephony: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e2f7d48dd2b5ca523e7313cf4ba0f6ea830b6281], UserHandle{0} Capabilities: 54 Schemes: tel voicemail ] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [e2f7d48dd2b5ca523e7313cf4ba0f6ea830b6281], UserHandle{0}
05-07 05:10:50.561 820 820 I Telephony: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.gsm.GSMPhone) {bcdddff}
05-07 05:10:50.565 1358 1358 E ActivityThread: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@b970c41 that was originally bound here
05-07 05:10:50.565 1358 1358 E ActivityThread: android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@b970c41 that was originally bound here
05-07 05:10:50.565 1358 1358 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.
`
05-07 05:12:07.985 1609 1640 E FirebaseInstanceId: Google Play services missing or without correct permission.
You need to make sure Google Play Services are installed and updated on the device.
@chrisbianca Can you point me to where the updated instructions are available?
I'm getting these same errors when building on AppCenter. Here are my gradle files - https://gist.github.com/steverob/950bbb752e3af5b8fc6c63f4715dd8eb
Hope we can get some help here.
All our release notes have upgrade instructions where there are changes that need to be made
Are you talking about the v3 to v4 upgrade guide?
I’ve done that already. Can you check my grade files please?
-- Regards Steve Robinson
On 24-May-2018, at 5:50 PM, Chris Bianca notifications@github.com wrote:
All our release notes have upgrade instructions where there are changes that need to be made
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I configured according to the document But still an error
com.android.build.api.transform.TransformException: Error while generating the main dex list.
version: 4.1.0 rn version: 0.55.4
// <root>/build.gradle
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
jcenter()
maven { url "https://maven.google.com" }
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
google()
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.28.0'
}
}
}
}
// <root>/app/build.gradle
android {
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.myproject"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
multiDexEnabled true
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
}
}
}
}
dependencies {
implementation(project(':react-native-firebase')) {
transitive = false
}
// RNFirebase required dependencies
implementation "com.google.firebase:firebase-core:15.0.2"
implementation "com.google.android.gms:play-services-base:15.0.0"
implementation "com.google.firebase:firebase-messaging:15.0.2"
implementation project(':react-native-fast-image')
implementation project(':react-native-google-analytics-bridge')
implementation project(':react-native-zendesk-zopimchat')
implementation project(':react-native-paypal-wrapper')
implementation project(':react-native-fbsdk')
implementation project(':react-native-imei')
implementation project(':react-native-device-info')
implementation project(':react-native-picker')
implementation project(':react-native-splash-screen')
implementation project(':react-native-i18n')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:23.0.1"
implementation "com.android.support:multidex:1.0.1"
implementation "com.facebook.react:react-native:+" // From node_modules
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
apply plugin: 'com.google.gms.google-services'
I've been fighting the issue but didn't want to decrease the libs version as a solution. In order to overcome it, I just changed the minor version of the libs. Once I did it the Gradle fetched them and the issue was gone.
It makes me think that the problem was using the old version of Gradle global cache that was broken in some way. The solution that worked is no changing exactly to the 15.0.2
as was suggested but even minor change to any version.
In my case it was the change:
16.0.1
-> 16.0.2
16.0.0
-> 16.0.1
I don't using any of the google cloud API's like fire-base, play-services. But still an error.
Error Details
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':Platform:transformClassesWithMultidexlistForPlatformDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
any solution?
You can fix this issue by adding a project ext property googlePlayServicesVersion
to
app/App_Resources/Android/app.gradle
file like this:
project.ext {
googlePlayServicesVersion = "+"
}
I don't using any of the google cloud API's like fire-base, play-services. But still an error.
Error Details
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':Platform:transformClassesWithMultidexlistForPlatformDebug'. > com.android.build.api.transform.TransformException: Error while generating the main dex list. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org
In my case the issue went away by updating Google Guava
version to 26.0-android
from 25.1-android
With react-native-firebase version 5.0.0, Removing
implementation "com.google.firebase:firebase-crash:16.0.1"
and only keeping
implementation('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
transitive = true
}
fixed this issue for me
@tannera implementation "com.google.firebase:firebase-crash:16.0.1"
is for the old firebase crash reporting (firebase.crash()
) this has been removed and replaced with crashlytics - so that line definitely shouldn't be there :)
Go to android/build.gradle
buildscript{
ext {
googlePlayServicesVersion = "+"
built for me after this...
Paste this in app.gradle below defaultConfig{}.It worked for me compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }
Had a similar issue with react-native-firebase (5.2.0) and react-native (57.8).
Adding com.android.support:design:27.1.0
to ./android/app/build.gradle
worked for me:
dependencies {
...
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:design:27.1.0'
}
Link.
@shaunsaker Thank you!! That fixed my problem. Should this not be in the docs?!
Facing this issue:
com.android.build.api.transform.TransformException: Error while generating the main dex list. Any solution?
I got this error ...How can I resolve this...I just did frontend for login,signup,forgot Password
Hello I have same error
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.
Hello I have same error
* What went wrong: Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. > com.android.build.api.transform.TransformException: Error while generating the main dex list.
me too, anyone help?
Hi, I experienced this error today, but also before. I was able to fix by lower the version of the firebase module version, such as firebase-messaging. The error occurred on latest version - 17.5.0, but when I changed to lower one - 15.0.2, the app was able to compile.
Any solution for this? :confused: I'm so sad :disappointed:
I added a comment on another issue https://github.com/invertase/react-native-firebase/issues/752#issuecomment-480371637 which contains links to the firebase starter app updated on a fork and working correctly on Android API16+ and iOS with MLKit and MultiDex and RN0.59 and everything in debug and release. It is possible
@NativLouie you are probably victim to Google releasing AndroidX versions of all of their dependencies, and you are not pinning your dependencies correctly in android/build.gradle ext{} block.
It affects the whole react-native ecosystem, but is a project-specific problem
I recently made an article to address this AndroidX situation, you may find it useful.
@Yathousen interesting article - pretty good summary. As the maintainer of jetifier though, I have 2 thoughts:
1- the current version of jetifier is nearly instant, the core transformer was rewritten and released just yesterday, you should retest and if you confirm the 1.5.0 release is faster you could remove the performance notices perhaps, so as not to scare people off
2- I am unaware of transforms that don’t work. If react-native-navigation doesn’t work directly with nothing more than a call to npx jetify
in your package.json postinstall, please open a bug on jetifier or (even better) make a PR for rn-androidx-demo (the test suite for jetifier) to add react-native-navigation so we can see it break and figure out why
basically, npx jetify
should work and should be pretty blazing right now, lending more weight to the “DIY” solution and actually transforming it (since it should be easy) to “the community recommendation” vs “DIY” since it is what the community developed https://github.com/react-native-community/discussions-and-proposals/issues/129
try in android/build.gradle
buildscript {
ext {
minSdkVersion = 21
}
}
@x107 that is not sound advice. That avoids the problem at the cost of dropping support for API16-20. No reason to do that. Just have to integrate multidex correctly.
hi. I have the same problem, working to debug it for past hours with no success.
Can you please provide a solution?
> Task :app:transformClassesWithMultidexlistForDebug FAILED
D8: Program type already present: android.support.design.widget.CoordinatorLayout$1
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list:
Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Program type already present: android.support.design.widget.CoordinatorLayout$1
react-native-info: info React Native Environment Info: System: OS: macOS High Sierra 10.13.6 CPU: (8) x64 Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz Memory: 64.17 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 8.10.0 - /usr/local/bin/node Yarn: 1.5.1 - /usr/local/bin/yarn npm: 5.6.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3 Android SDK: API Levels: 21, 23, 25, 26, 27, 28, 29 Build Tools: 23.0.1, 25.0.1, 25.0.3, 26.0.2, 27.0.3, 28.0.3, 29.0.2 System Images: android-25 | Google Play Intel x86 Atom, android-27 | Google Play Intel x86 Atom IDEs: Android Studio: 3.5 AI-191.8026.42.35.5977832 Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild npmPackages: react: 16.2.0 => 16.2.0 react-native: 0.59.0 => 0.59.0 npmGlobalPackages: react-native-cli: 2.0.1 react-native-create-library: 3.1.2
in app/build.gradle: (following https://rnfirebase.io/docs/v5.x.x/releases/v5.3.x )
api 'com.google.android.gms:play-services-base:16.1.0'
//compile 'com.google.android.gms:play-services-places:11.8.0'
//compile 'com.google.android.gms:play-services-location:11.8.0'
api 'com.google.firebase:firebase-core:16.0.9'
api "com.google.firebase:firebase-ads:17.2.1"
api "com.google.firebase:firebase-auth:17.0.0"
api "com.google.firebase:firebase-config:17.0.0"
api "com.google.firebase:firebase-database:17.0.0"
api "com.google.firebase:firebase-functions:17.0.0"
api "com.google.firebase:firebase-invites:17.0.0"
api "com.google.firebase:firebase-firestore:19.0.0"
api "com.google.firebase:firebase-messaging:18.0.0"
api "com.google.firebase:firebase-perf:17.0.2"
api "com.google.firebase:firebase-storage:17.0.0"
api "com.crashlytics.sdk.android:crashlytics:2.9.9"
(i am not using invites, firestore, ads - can I not put them ?)
my react-native-firebase build:
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
}
}
apply plugin: 'com.android.library'
def DEFAULT_COMPILE_SDK_VERSION = 28
def DEFAULT_TARGET_SDK_VERSION = 28
def DEFAULT_SUPPORT_LIB_VERSION = "28.0.0"
android {
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
defaultConfig {
minSdkVersion 16
targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
}
}
productFlavors {
}
lintOptions {
disable 'GradleCompatible'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
rootProject.gradle.buildFinished { buildResult ->
if (buildResult.getFailure() != null) {
//noinspection GroovyUnusedCatchParameter
try {
String message = buildResult.getFailure().properties.get("reportableCauses").toString()
if (message.contains("com.android.dex.DexException: Multiple dex files define Lcom/google/") ||
message.contains("java.util.zip.ZipException: duplicate entry: com/google/android/gms/")) {
logger.log(LogLevel.ERROR, "")
logger.log(LogLevel.ERROR, " -----------------------------------------------------------")
logger.log(LogLevel.ERROR, "| REACT NATIVE FIREBASE |")
logger.log(LogLevel.ERROR, " ----------------------------------------------------------- ")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| This is a common build error when using libraries that |")
logger.log(LogLevel.ERROR, "| require google play services. |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| This error occurs because different versions of google |")
logger.log(LogLevel.ERROR, "| play services or google play services modules are being |")
logger.log(LogLevel.ERROR, "| required by different libraries. |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| A temporary fix would be to set: |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| android { multiDexEnabled true } |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| inside your build gradle, however it is recommended for |")
logger.log(LogLevel.ERROR, "| your prod build that you de-duplicate these to minimize |")
logger.log(LogLevel.ERROR, "| bundle size. |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, "| See http://invertase.link/dupe-dex for how to do this. |")
logger.log(LogLevel.ERROR, "| |")
logger.log(LogLevel.ERROR, " ----------------------------------------------------------- ")
}
} catch (Exception exception) {
}
}
}
repositories {
google()
jcenter()
def found = false
def parentDir = rootProject.projectDir
def androidSourcesName = 'React Native sources'
def androidPrebuiltBinaryName = 'React Native prebuilt binary'
1.upto(4, {
if (found) return true
parentDir = parentDir.parentFile
// Running React Native from sources locally or for ExpoKit
def androidSourcesDir = new File(
parentDir,
'node_modules/react-native'
)
// Official releases of React Native come with a prebuilt version of Android sources
// in ./android, e.g. react-native/android/**/react-native-0.57.1.aar
def androidPrebuiltBinaryDir = new File(
parentDir,
'node_modules/react-native/android'
)
if (androidPrebuiltBinaryDir.exists()) {
maven {
url androidPrebuiltBinaryDir.toString()
name androidPrebuiltBinaryName
}
println "${project.name}: using ${androidPrebuiltBinaryName} from ${androidPrebuiltBinaryDir.toString()}"
found = true
} else if (androidSourcesDir.exists()) {
maven {
url androidSourcesDir.toString()
name androidSourcesName
}
println "${project.name}: using ${androidSourcesName} from ${androidSourcesDir.toString()}"
found = true
}
})
if (!found) {
throw new GradleException(
"${project.name}: unable to locate React Native android sources or prebuilt binary. " +
"Ensure you have you installed React Native as a dependency in your project and try again."
)
}
}
def supportVersion = rootProject.hasProperty('supportLibVersion') ? rootProject.supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
dependencies {
//noinspection GradleDynamicVersion
api "com.facebook.react:react-native:+"
// implementation "com.google.firebase:firebase-common:16.1.0"
/* ----------------------------
* REACT NATIVE FIREBASE
* ---------------------------- */
// Required dependencies
//noinspection GradleCompatible
compileOnly "com.google.firebase:firebase-core:16.0.8"
compileOnly "com.google.android.gms:play-services-base:16.1.0"
/* -------------------------
* OPTIONAL FIREBASE SDKS
* ------------------------- */
// Ads
compileOnly('com.google.firebase:firebase-ads:15.0.1') {
// exclude `customtabs` as the support lib version is out of date
// we manually add it as a dependency below with a custom version
exclude group: 'com.android.support', module: 'customtabs'
}
// Authentication
compileOnly "com.google.firebase:firebase-auth:16.2.1"
// Analytics
compileOnly "com.google.firebase:firebase-analytics:16.4.0"
// Performance Monitoring
compileOnly "com.google.firebase:firebase-perf:16.2.5"
// Remote Config
compileOnly "com.google.firebase:firebase-config:16.5.0"
// Cloud Storage
compileOnly "com.google.firebase:firebase-storage:16.1.0"
// Invites
compileOnly "com.google.firebase:firebase-invites:16.1.1"
// Dynamic Links
compileOnly "com.google.firebase:firebase-dynamic-links:16.1.8"
// Real-time Database
compileOnly "com.google.firebase:firebase-database:16.1.0"
// Cloud Functions
compileOnly "com.google.firebase:firebase-functions:16.3.0"
// Cloud Firestore
compileOnly "com.google.firebase:firebase-firestore:18.2.0"
// Cloud Messaging / FCM
compileOnly "com.google.firebase:firebase-messaging:17.5.0"
// Crashlytics
compileOnly('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
transitive = true
}
/* --------------------------------
* OPTIONAL SUPPORT LIBS
* -------------------------------- */
// For Firebase Ads
compileOnly "com.android.support:customtabs:$supportVersion"
// For React Native Firebase Notifications
api "com.android.support:support-v4:$supportVersion"
// For React Native Firebase Notifications
compileOnly 'me.leolin:ShortcutBadger:1.1.21@aar'
}
This is a closed issue, open a new one following the whole template. As a guess in android/build.gradle you don't have library versions pinned correctly, so something is using v27 and something using v28 of the support or design libraries, meaning they include twice. Also you can look at cd android && ./gradlew :app:dependencies
to see who is including the library with the symbol, and at what versions. You can also try https://github.com/mikehardy/rnfbdemo/blob/master/make-demo-rn59.sh to generate a complete demo react-native-firebase app in just a few minutes. It successfully compiles debug and release with multidex enabled and can be useful to look at side-by-side with your project to see what's going on
This is a closed issue, open a new one following the whole template. As a guess in android/build.gradle you don't have library versions pinned correctly, so something is using v27 and something using v28 of the support or design libraries, meaning they include twice. Also you can look at
cd android && ./gradlew :app:dependencies
to see who is including the library with the symbol, and at what versions. You can also try https://github.com/mikehardy/rnfbdemo/blob/master/make-demo-rn59.sh to generate a complete demo react-native-firebase app in just a few minutes. It successfully compiles debug and release with multidex enabled and can be useful to look at side-by-side with your project to see what's going on
Hello, Thanks for replying, I have created the issue here, since I could not solve it thus far with your kind feedback: https://github.com/invertase/react-native-firebase/issues/2857
@yosa I thought I was going insane! its kicking my butt! Any ideas?
hey, I had the same problem.
My previous code in project.properties before I got the solution:
target=android-28 android.library.reference.1=CordovaLib android.library.reference.2=app cordova.system.library.1=com.android.support:support-v4:27.+ cordova.system.library.2=com.android.support:support-v4:27+ cordova.system.library.3=com.android.support:support-v4:27.+ cordova.system.library.4=com.android.support:support-annotations:27.+ cordova.system.library.5=com.mixpanel.android:mixpanel-android:5.6.5 cordova.system.library.6=com.google.android.gms:play-services-base cordova.system.library.7=com.google.firebase:firebase-messaging cordova.system.library.8=com.android.support:support-v4:24.1.1+0 cordova.gradle.include.1=cordova-support-google-services/coliving-build.gradle cordova.gradle.include.2=phonegap-plugin-multidex/coliving-multidex.gradle
my solution:
target=android-28 android.library.reference.1=CordovaLib android.library.reference.2=app cordova.system.library.1=com.android.support:support-v4:27.+ cordova.system.library.2=com.android.support:support-v4:27+ cordova.system.library.3=com.android.support:support-v4:27.+ cordova.system.library.4=com.android.support:support-annotations:27.+ cordova.system.library.5=com.mixpanel.android:mixpanel-android:5.6.5 cordova.system.library.6=com.google.android.gms:play-services-base:11.8.0 cordova.system.library.7=com.google.firebase:firebase-messaging:11.8.0 cordova.system.library.8=com.android.support:support-v4:24.1.1+0 cordova.gradle.include.1=cordova-support-google-services/coliving-build.gradle cordova.gradle.include.2=phonegap-plugin-multidex/coliving-multidex.gradle
Hope it will help your problem.
Issue
Hey, In my app/build.gradle file, if I comment out the "messaging" and the "crash" package, the app compiles, if I uncomment them, the app crashes with the following error:
Explanation in code:
Below does not work
But, the code below compiles:
Any help is appreciated. Thanks.
Environment