Deploying an app on Android from AppStudio

1862
1
07-07-2016 03:38 PM
AdrianWelsh
MVP Honored Contributor

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:

Sign your app—AppStudio for ArcGIS (Desktop Edition) | ArcGIS

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. 

Any ideas?

0 Kudos
1 Reply
AdrianWelsh
MVP Honored Contributor

Hopeful bump...

0 Kudos