我无法用错误解决问题:
incompatible types: no unique maximal instance exists for type variable T with upper bounds com.velocat.cmap.Preference,androidx.preference.Preference
Preference preference = findPreference("button");
^
where T is a type-var
无法确定任务:app:compileDebugJavaWithJavac.的依赖关系
> Could not resolve all task dependencies for configuration ':app:debugAnnotationProcessorClasspath'.
> Could not resolve androidx.databinding:databinding-compiler:3.4.2.
Required by:
project :app
> No cached version
我想有“与谷歌登录”按钮的白色背景和彩色图标,但当我使用这个谷歌图标总是被着色。
<android.support.design.button.MaterialButton
style="@style/Widget.MaterialComponents.Button.Icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Sign in with Google"