Posts

Showing posts with the label android studio

Unity3D: Stuck with Play Game Services plugin

Image
Bananamarine game project has been progressing quite smoothly most of the time. But yesterday I ran into situation where Unity got stuck when I tried to add Google Play Game Services plugin  to my project. I want to have at least leaderboard to my game, so leaving game services out was not an option. Basically, plugin installation was successful, but after that all I got was a dialog window telling: "Getting list of installed Android packages". And tool was not responding anymore, even if I waited couple of hours. I tried to search help for this problem using google, but there were not many hits to help me forward with this issue. Somehow I figured out that this was something related to the Android SDK version(s), so I decided to update my Android Studio installation first. After Android Studio update I removed game services stuff from Unity project, updated SDK path to preferences, and tried to re-install plugin. But result was still the same: I got a dialog telli...

Corrupted Android keystore file

Image
Last week I ran into situation where I noticed that my Android Keystore file used for signing e.g. Battlecards game was somehow corrupted. Obviously, I had  not done any backups of my keystore file, so there was no way to fix it. So I decided to generate new keystore and compile my app again with cocoon.io. But that was not so easy: After cocoon.io compilation was finished, I was not able to load new .apk to my testing device. Tablet complained that previous version of app has been signed using different key and refused to install new version. So I removed old version of Battlecards from tablet, and realized that I had to do same for all my test accounts that were created to that tablet. Only then I was able to install new version (signed with new key). After some struggling I was able to install new version generated with new keystore file and started the app. But then I noticed that all Google Play Game Services, including leaderboards, achievements, etc. were not working at ...