Android版本失败并出现以下错误 -
<sideDrawer [title]="'category' | translate"></sideDrawer>
我无法弄清楚这个类属于哪个库。套餐是
com.google.api.client.googleapis.extensions.android.gms.authc.GoogleAccountCredential;
我尝试在构建依赖项中添加所有库。它现在看起来像下面 -
Error:(23, 68) error: package com.google.api.client.googleapis.extensions.android.gms.auth does not exist
Error:(60, 20) error: cannot find symbol class GoogleAccountCredential
Error:(79, 19) error: cannot find symbol class GoogleAccountCredential
Error:(218, 22) error: cannot find symbol variable GoogleAccountCredential
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
答案 0 :(得分:1)
必须添加以下依赖项才能使其正常工作 -
compile 'com.google.api-client:google-api-client-android:1.20.0'