Несовместимые типы: действие нельзя преобразовать в LifecycleOwner - PullRequest
0 голосов
/ 05 мая 2020

это мои зависимости

implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.2.0-beta01'
implementation "androidx.appcompat:appcompat-resources:1.2.0-beta01"
implementation 'com.android.support:multidex:1.0.3'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'com.google.firebase:firebase-core:17.3.0'
implementation 'com.google.firebase:firebase-analytics:17.3.0'
implementation 'com.google.firebase:firebase-auth:19.3.0'
implementation 'com.google.firebase:firebase-messaging:20.1.5'
implementation 'com.firebaseui:firebase-ui-auth:4.2.0'
implementation 'com.google.firebase:firebase-ml-vision:24.0.1'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:19.0.0'
implementation 'com.google.firebase:firebase-ml-vision-barcode-model:16.0.2'
implementation 'com.google.firebase:firebase-ml-vision-image-label-model:19.0.0'
implementation 'com.google.firebase:firebase-ml-common:22.0.1'
implementation 'com.rmtheis:tess-two:9.1.0'
testImplementation 'junit:junit:4.13'''

Я обновил androidx.appcompat: appcompat до последней версии (1.2.0-beta01), но проблема все еще не решена. Может кто-нибудь помочь мне? Я могу предоставить дополнительную информацию, поскольку понятия не имею, какая часть кода вызывает эту ошибку. Заранее спасибо

...