I created a simple data collection app in AppStudio to be deployed onto an Android phone. When I loaded it onto the phone, I got this error message: "The app was unable to generate a token. The app will have to quit."
So, I got "smart" and attempted to follow the directions to generate a token. I went here:
and followed all of the steps under Android exactly (I logged into developers.arcgis.com with my ArcGIS Online organizational account - this did allow me to register the new application and obtain a client ID).
Everything seemed to work (I had to do the command line thing twice because I think I had to log in as administrator in order to make the keystore generation work). I made sure to sign the android app:
I redeployed my app and get the same error.