Клавиатура не отображается при входе в активность (firebaseUI) с помощью kitkat - PullRequest
0 голосов
/ 05 июня 2019

Я новичок в Android и у меня проблема с аутентификацией.Мое приложение работает нормально для других версий Android, но я только что попробовал его с kitkat и в активности входа (я использую Firebase UI) клавиатура не отображается.Понятия не имею почему.Может быть, это проблема библиотек?Вот две ошибки, которые я получил, но приложение не падает.

E / EGL_emulation: tid 5437: eglSurfaceAttrib (1199): ошибка 0x3009 (EGL_BAD_MATCH)

E / dalvikvm: Не удалось найти класс 'android.support.v4.app.ActivityCompatCalbackbackImplImpmentClaybackEmpment $ SharedElementСсылка на метод android.support.v4.app.ActivityCompat.setExitSharedElementCallback

Вот мои зависимости:

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:support-v4:27.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso- 
core:3.0.2'

androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation 'androidx.test:core:1.1.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.0'
androidTestImplementation "com.android.support:support-annotations:27.1.1"
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test:rules:1.0.2'


implementation 'com.android.support:design:27.1.1'
implementation "com.android.support:recyclerview-v7:27.1.1"
implementation "com.android.support:percent:27.1.1"

implementation('android.arch.lifecycle:extensions:1.1.1')

implementation 'com.google.code.gson:gson:2.8.2'

implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-messaging:17.6.0'
implementation 'com.google.firebase:firebase-database:16.1.0'
implementation 'com.firebaseui:firebase-ui-storage:4.1.0'
implementation 'com.firebaseui:firebase-ui-auth:4.1.0'
implementation 'com.firebaseui:firebase-ui-firestore:4.1.0'

implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'

implementation 'com.facebook.android:facebook-android-sdk:4.42.0'

implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'

implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.android.gms:play-services-places:16.0.0'

implementation 'com.google.android.libraries.places:places:1.0.0'

implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.7'

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'

implementation 'pub.devrel:easypermissions:1.1.1'

implementation 'com.android.support:cardview-v7:27.1.1'

implementation 'com.android.support:support-annotations:27.1.1'

implementation 'com.android.support:multidex:1.0.3'

и вот запуск активности входа:

private void startSignInActivity() {
    startActivityForResult(
            AuthUI.getInstance()
                    .createSignInIntentBuilder()
                    .setTheme(R.style.LoginTheme)
                    .setAvailableProviders(
                            Arrays.asList(
                                    new 
           AuthUI.IdpConfig.EmailBuilder().build(),
                                    new 
           AuthUI.IdpConfig.GoogleBuilder().build(),
                                    new 
           AuthUI.IdpConfig.FacebookBuilder().build()))
                    .setIsSmartLockEnabled(false, true)
                    .setLogo(R.drawable.ic_logo_lunch)
                    .build(),
            RC_SIGN_IN);
}

Если у кого-то есть идея, это было бы здорово!Спасибо

...