使用带有firebase的协调器布局时的ClassNotFoundException

时间:2016-09-26 12:21:47

标签: android android-coordinatorlayout

我收到>>> queryset = [{'x':'1', 'y':'a'}, {'x':'2', 'y':'b'}] >>> result = [(q['x'], q['y']) for q in queryset] >>> result [('1', 'a'), ('2', 'b')] >>> # or if x and y are actually the correct names/vars for the keys ... result = [(q[x], q[y]) for q in queryset] RuntimeExceptionInflateException

我的ClassNotFoundException

build.gradle

compile 'com.android.support:appcompat-v7:24.2.1' compile "com.google.firebase:firebase-auth:9.0.2"

Logcat log

1 个答案:

答案 0 :(得分:3)

您需要添加此依赖项。它应该在您添加它并干净构建后工作:

compile 'com.android.support:design:24.2.1'

如果有任何改变,请告诉我。