我已經集成谷歌驅動器在我的Android應用程序,當我調試設備上的應用程序與Android版本2.3.6,我得到ClassNotFoundException的,當我把這個:谷歌驅動器爲gettoken類未發現異常
mCredential.getToken();
其中mCredential設置這樣的:
mCredential = GoogleAccountCredential.usingOAuth2(context, DriveScopes.DRIVE);
我看到在我的Debug標籤:
Thread [<13> Thread-15] (Suspended (exception ClassNotFoundException))
<VM does not provide monitor information>
PathClassLoader.findClass(String) line: 240
PathClassLoader(ClassLoader).loadClass(String, boolean) line: 551
PathClassLoader(ClassLoader).loadClass(String) line: 511
GoogleAuthUtil.f(Context) line: not available
GoogleAuthUtil.getToken(Context, String, String, Bundle) line: not available
GoogleAuthUtil.getToken(Context, String, String) line: not available
GoogleAccountCredential.getToken() line: 192
GoogleDrive.checkIfUserIsAuthenticated(Activity, boolean) line: 411
GoogleDrive.access$4(GoogleDrive, Activity, boolean) line: 403
GoogleDrive$1.run() line: 98
有人可以幫我嗎?