Hi there, I am a newbie and trying to use Google Sheets. I can successfully read my whole sheet with .ReadSheet, I can also use .ReadWithExactFilter etc. but if I try to read a column with .ReadColumn, it always fails.
Here is my Google Sheet:
And here are my blocks:
And here is the error message:
invoke: no method named `ReadColumn' in class com.google.appinventor.components.runtime.Spreadsheet
I am using the Spreadsheet componant under Storage section in Designer:
Are you running companion version 2.66? When the Spreadsheet component came out in 2.65, the ReadColumn method was called ReadCol, but we decided that it wouldn't be appropriate in the long term to use the programmer abbreviated names for new users. If other operations work with the Spreadsheet but ReadColumn doesn't, you probably need to upgrade to the latest version.
This is Android and I am using the emulator with aiStarter. I am using :
Construction: March 21 2023 Version: nb192
Use Companion: 2.66 or 2.66u
Target Android SDK: 31 (Android 12.0)
Would that make a difference if I use AI Companion or if I compile an apk and install it ?
Note that this dialog only indicates the desired companion app version. This can be different from what you are actually running on your device or in the emulator. You should check the version number the emulator shows when it starts up (but before your app appears).
Emulator version: 30.3.5-7033400
Latest avaliable emulator version: 33.1.4-9936625 (Canary update channel)
Tomorrow will give a try with the Companion AI and not the Emulator.
Thanks for the help !
Thanks ABG. Indeed I can drag and drop the apk file to the emulator, it seems to work (it says installing APK) but then I can't find in the emulator GUI how to run the just installed APK. Sorry, I feel so dumb. Will dig further
Thanks to your link to video, I was finally able to run the APK that I just dropped into the emulatir, thanks a lot. And it works well with .GetColumn.