I am developing an Android application using Xamarin.Android in Xamarin Studio. It uses Google Play game services.
By this point, this project has been run and tested. I upgraded my development PC from Windows 7 to Windows 8.1 yesterday. In this process, I had to re-install Jamrin Studio.
Now when my app tries to connect to Google Play, this error fails with "RESULT_APP_MISCONFIGURED", as far as I can tell that my app is not properly Google Authorized to access the Play API However, nothing has really changed.
I have tested an older version of the app, and it is still able to connect to the Google Play API. Anything in the code has changed, so I think it should be something with my recent upgrade of Windows, or recently the XMarin studio will be restored.
Trouble? Is it possible to change debug keystore in any way?
An additional clue: When I try to create a deployment on that device which has an older, working version of that app, I get the following error:
Deployment failed due to internal error: failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
I have to manually uninstall the old version before that new can be used before. As already mentioned, debug keystore will not be equal to all installations of Xamarin.
Android. Which practice is expected.
When you use Play services, you want to make keystore, preferably for a debug and for a release, or as a different nickname in the same keystore (you can understand it ).
You can then automatically sign the creation process on your app by adding some stuff to your .csproj file. You can read more about this.
& lt; Property Group Status = "'$ (Configuration)' == 'Release'" & gt; & Lt; AndroidKeyStore & gt; This is true & lt; / AndroidKeyStore & gt; & Lt; AndroidSigningKeyStore & gt; Public.keystore & lt; / AndroidSigningKeyStore & gt; & Lt; AndroidSigningStorePass & gt; MyKeystorePassword & lt; / AndroidSigningStorePass & gt; & Lt; AndroidSigningKeyAlias & gt; MyKey & lt; / AndroidSigningKeyAlias & gt; & Lt; AndroidSigningKeyPass & gt; MyKeyPassword & lt; / AndroidSigningKeyPass & gt; & Lt; / PropertyGroup & gt; You can create a single block for debugs as well as select another alias or another keystroke.
No comments:
Post a Comment