搜索更新到com.google.android.gms之后停止工作:Play-Services:11.0.4



我想添加firebase,这就是为什么我从 com.google.android.gms.gms:play-services:7.3.0 更新源代码的原因11.0.4

但是,在解决了所有问题之后,我看到搜索栏在单击按钮

时不起作用

我的应用程序gradle:

dependencies
        {
            compile 'com.google.firebase:firebase-core:11.0.4'
            compile 'com.facebook.android:facebook-android-sdk:4.15.0'
            compile 'com.android.support:support-v4:21.0.3'
            compile 'com.android.support:appcompat-v7:23.0.1'
            compile 'com.android.support:cardview-v7:21.0.3'
            compile 'com.android.support:recyclerview-v7:21.0.3'
            compile 'com.google.android.gms:play-services:11.0.4'
            compile 'com.afollestad:material-dialogs:0.6.3.4@aar'
            compile 'com.bignerdranch.android:recyclerview-multiselect:0.1'
            compile 'com.j256.ormlite:ormlite-android:4.48'
            compile 'com.melnykov:floatingactionbutton:1.3.0'
            compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
            compile 'se.emilsjolander:StickyScrollViewItems:1.1.0'
            compile fileTree(include: ['*.jar'], dir: 'libs')
        }

android
        {
            compileSdkVersion 25
            buildToolsVersion "25.0.2"
            defaultConfig
                    {
                        minSdkVersion 21
                        targetSdkVersion 22
                        versionName "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}"
                        versionCode 2
                    }

我的搜索XML文件:

<?xml version="1.0" encoding="utf-8"?>
<searchable
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="@dimen/global_spacing_l"
    android:paddingLeft="@dimen/global_keyline_s"
    android:paddingRight="@dimen/global_keyline_s"
    android:orientation="vertical"
    android:gravity="center_vertical">
    <TextView
        android:id="@+id/search_suggestion_item_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:maxLines="1"
        android:textAppearance="@style/TextAppearance.Cookbook.Display1" />
</searchable >

预先感谢您

您有一个插件"插件:'com.google.gms.google-s.google-services'" in Gradle?

//end gradle
}
apply plugin: 'com.google.gms.google-services'

最新更新