function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
crimson_squarecrimson_square 

Cloud Tunes sample Android App with salesforce sdk not working.

I have successfully set up the connected app with a published state as well as the cloud tunes android app on eclipse.

But i am now stuck with the following error:

 

01-17 20:35:45.765: I/ClientManager:getRestClient(436): No account of type com.salesforce.androidsdk.sample found
01-17 20:35:45.765: D/AccountManagerService(58): bind attempt failed for Session: expectLaunch true, connected false, stats (0/0/0), lifetime 0.0, addAccount, accountType com.salesforce.androidsdk.sample, requiredFeatures null
01-17 20:35:45.826: D/dalvikvm(436): GC_FOR_MALLOC freed 2308 objects / 535160 bytes in 53ms
01-17 20:35:45.885: I/ActivityManager(58): Displayed activity com.salesforce.androidsdk.sample/.AlbumListActivity: 3361 ms (total 27998 ms)
01-17 20:35:45.965: W/AccMgrCallback:run(436): android.accounts.AuthenticatorException: bind failure
01-17 20:35:45.965: W/AccMgrCallback:run(436): at android.accounts.AccountManager.convertErrorToException(AccountManager.java:1433)
01-17 20:35:45.965: W/AccMgrCallback:run(436): at android.accounts.AccountManager.access$400(AccountManager.java:134)
01-17 20:35:45.965: W/AccMgrCallback:run(436): at android.accounts.AccountManager$AmsTask$Response.onError(AccountManager.java:1279)
01-17 20:35:45.965: W/AccMgrCallback:run(436): at android.accounts.IAccountManagerResponse$Stub.onTransact(IAccountManagerResponse.java:69)
01-17 20:35:45.965: W/AccMgrCallback:run(436): at android.os.Binder.execTransact(Binder.java:288)
01-17 20:35:45.965: W/AccMgrCallback:run(436): at dalvik.system.NativeStart.run(Native Method)
01-17 20:35:46.215: I/ActivityManager(58): Starting activity: Intent { flg=0x10000000 cmp=com.salesforce.androidsdk.sample/.AlbumListActivity }

 

The above error keeps looping and the activity just keep restarting itself ..and finally force closes after many attempts..

 

I have followed the mobile sdk workbook sample, Kindly let me know what i am doing wrong here..

 

thanks ----- crimson

Gaurav KheterpalGaurav Kheterpal

Can you confirm the Mobile SDK version that you are using? The CloudTunes app code was updated last month.

 

https://github.com/bhariharan/SalesforceMobileSDK-Android/commit/7e0c18435a40b6aa52c1a15f8712d4493b0f3ba7

 

 

mnnit.laltukumar1.391409072680632E12mnnit.laltukumar1.391409072680632E12
@crimson_square 
How you reolved the issue I am facing the same issue.Please share any leads if u got any..