我收到>>> 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]
,RuntimeException
,InflateException
。
我的ClassNotFoundException
有
build.gradle
和compile 'com.android.support:appcompat-v7:24.2.1'
compile "com.google.firebase:firebase-auth:9.0.2"
是
Logcat log
答案 0 :(得分:3)
您需要添加此依赖项。它应该在您添加它并干净构建后工作:
compile 'com.android.support:design:24.2.1'
如果有任何改变,请告诉我。