Обновление Firebase 15.0.2 - ошибки тестового модуля Android - PullRequest
0 голосов
/ 07 мая 2018

Модульное тестирование завершается неудачно с приведенной ниже ошибкой после обновления до Firebase 15.0.2. Это работало нормально с firebase версии 15.0.0 и начало ломаться после обновления 2 мая, переход на 15.0.2 не решает проблему.

java.lang.VerifyError: Stack map does not match the one at exception handler 431
Exception Details:
  Location:
    com/google/firebase/iid/zzal.zze(Landroid/os/Bundle;)Landroid/os/Bundle; @431: pop
  Reason:
    Type 'android/os/Bundle' (current frame, locals[4]) is not assignable to 'android/support/v4/util/SimpleArrayMap' (stack map, locals[4])
  Current Frame:
    bci: @395
    flags: { }
    locals: { 'com/google/firebase/iid/zzal', 'android/os/Bundle', 'java/lang/String', 'com/google/android/gms/tasks/TaskCompletionSource', 'android/os/Bundle', top, top, top, top, top, 'com/google/firebase/iid/zzal', 'android/os/Bundle', 'java/lang/String', 'android/content/Intent', 'com/google/firebase/iid/zzal', 'android/content/Intent', 'java/lang/String' }
    stack: { 'java/lang/InterruptedException' }
  Stackmap Frame:
    bci: @431
    flags: { }
    locals: { 'com/google/firebase/iid/zzal', 'android/os/Bundle', 'java/lang/String', 'com/google/android/gms/tasks/TaskCompletionSource', 'android/support/v4/util/SimpleArrayMap', top, top, top, top, top, 'com/google/firebase/iid/zzal', 'android/os/Bundle', 'java/lang/String', 'android/content/Intent', 'com/google/firebase/iid/zzal', 'android/content/Intent', 'java/lang/String' }
    stack: { 'java/lang/Exception' }
  Bytecode:
    0x0000000: b800 784d bb00 2e59 b700 6e4e 2ab4 004b
    
    0x00001d0: 2ab4 004b 593a 08c2 2ab4 004b 2cb6 0069
    0x00001e0: 5719 08c3 a700 0b3a 0919 08c3 1909 bf19
    0x00001f0: 07bf                                   
  Exception Handler Table:
    bci [291, 322] => handler: 325
    bci [20, 33] => handler: 36
    bci [36, 41] => handler: 36
    bci [405, 417] => handler: 420
  
	at com.google.firebase.iid.zzl.<init>(Unknown Source)
	at com.google.firebase.iid.FirebaseInstanceId.<init>(Unknown Source)
	at com.google.firebase.iid.FirebaseInstanceId.<init>(Unknown Source)
	at com.google.firebase.iid.zzaf.create(Unknown Source)
	at com.google.firebase.components.zzi.zza(Unknown Source)
	at com.google.firebase.components.zzj.get(Unknown Source)
	at com.google.firebase.components.zzi.get(Unknown Source)
	at com.google.firebase.components.ComponentContainer$$CC.get(Unknown Source)
	at com.google.firebase.components.zzg.get(Unknown Source)
	at com.google.firebase.components.zzg.zzb(Unknown Source)
	at com.google.firebase.FirebaseApp.zzc(Unknown Source)

Обновлены зависимости Gradle:

implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.google.android.gms:play-services-auth:15.0.1'
implementation 'com.google.android.gms:play-services-gcm:15.0.1'
implementation 'com.google.android.gms:play-services-base:15.0.1'

implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'



implementation 'com.google.gms:google-services:3.3.0'
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...