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
akshay21akshay21 

android templateapp no response

hello, 

 

i changed the soql query under onfetchaccountsclick to - "SELECT Name FROM Book__c" 

here book is the custom object created as per given apex tutorial which by default has a name attribute.

but on clicking fetch accounts in the app i get error message as- invalid type and sObject of type Book__c is not supported.

 

the actual error quite long but cant tell u now as its in a screen shot...please reply soon...

 

regards,

akshay.

 

Gaurav KheterpalGaurav Kheterpal

1) Whatever your SOQL is, can you try running it from SOQL explorer or anywhere outside the app to validate that it's valid?

2) Can you try logging the whole error string instead of trying to capture the screenshot?

 

I may be able to help.

 

Cheers!
Gaurav