At the suggestion of DonManfred in this post I am trying to make a kiosk app. Following the instructions in Device Owner / TaskLock / Kiosk apps 2017 I have created the app, including addition of the listed code in the manifest editor and run it on the device in Release mode.
However after connecting the device to my PC in USB debug mode and running the command described at step 2, I receive the following error:
How do I fix the mismatch in server and client versions?
In addition I have two further questions:
However after connecting the device to my PC in USB debug mode and running the command described at step 2, I receive the following error:
c:\Android\android-sdk\platform-tools>adb shell set-device-owner b4a.foxtelremotes/anywheresoftware.b4a.objects.AdminReceiver2
adb server version (40) doesn't match this client (39); killing...
* daemon started successfully *
/system/bin/sh: set-device-owner: not found
How do I fix the mismatch in server and client versions?
In addition I have two further questions:
- At the end of step 2 before step 3 it says
Does this really mean I need to remove the one account I created originally to set the device up, including downloading B4A Bridge from the Play Store? Or does it mean remove any additional accounts that may have been created subsequent to the original (owner) account being created?Existing user accounts on the device must first be removed (Settings - Accounts).
- Once I have the app running in kiosk mode, how do I gain access to the device in case I want to update my kiosk app or perform any other maintenance, updates, etc. on the device?

