Thursday, 15 March 2012

Standard google drive android-demo is not working -



Standard google drive android-demo is not working -

i have downloaded demo from: https://github.com/googledrive/android-demos added necessary credential in google cloud console. have created oath cliendid , mentioned sha1 signature.

the application loading on clicking of links giving error in mobile app

unknown issue google play services

also in logcat messages follows:

10-16 00:27:57.915 17648-17648/com.google.android.gms.drive.sample.demo e/googleplayservicesutil﹕ internal error occurred. please see logs detailed info 10-16 00:27:59.305 17648-17648/com.google.android.gms.drive.sample.demo d/gesturedetector﹕ [surface touch event] msweepdown false, mlrsdcnt : -1 mtouchcnt : 3 mfalsesizecnt:0 10-16 00:28:00.240 17648-17648/com.google.android.gms.drive.sample.demo e/spannablestringbuilder﹕ span_exclusive_exclusive spans cannot have 0 length 10-16 00:28:00.240 17648-17648/com.google.android.gms.drive.sample.demo e/spannablestringbuilder﹕ span_exclusive_exclusive spans cannot have 0 length 10-16 00:28:01.370 17648-17648/com.google.android.gms.drive.sample.demo d/gesturedetector﹕ [surface touch event] msweepdown false, mlrsdcnt : -1 mtouchcnt : 2 mfalsesizecnt:0 10-16 00:28:01.845 17648-17648/com.google.android.gms.drive.sample.demo e/spannablestringbuilder﹕ span_exclusive_exclusive spans cannot have 0 length 10-16 00:28:01.845 17648-17648/com.google.android.gms.drive.sample.demo e/spannablestringbuilder﹕ span_exclusive_exclusive spans cannot have 0 length 10-16 00:28:02.645 17648-17648/com.google.android.gms.drive.sample.demo i/basedriveactivity﹕ googleapiclient connection failed: connectionresult{statuscode=internal_error, resolution=null} 10-16 00:28:02.650 17648-17648/com.google.android.gms.drive.sample.demo e/googleplayservicesutil﹕ internal error occurred. please see logs detailed info

please help me debug further.

ps:

i added line in basedemoactivity.onresume() method:

showmessage("isgoogleplayservicesavailable:" + googleplayservicesutil.isgoogleplayservicesavailable(getapplicationcontext()));

and returning 0, represent success

android google-drive-sdk

No comments:

Post a Comment