In the video Testing Unity games on Android in Visual Studio (don’t watch) it sounds really easy to test android builds with an android emulator. Built the app and automatically push it to the emulator and test it, sounds cool! But as of Unity 5.6.1 the described way is not working anymore. The problem is, the apps don’t run within the “Visual Studio Emulator for Android”. They crash or stop at startup. But there are alternatives!
Cross-fading is a technique to stop one song and softly bend to another song. The following script is designed to cross-fade loop-able songs. The following script is designed to fade between two loop-able songs. Afterwards the song is played until it is replaced by another song. Just call the
Play(AudioClip clip) function and the script organizes the rest.
TL;DR: Open Android SDK Manager and install “Extras/Android Support Repository”.
After importing the unitypackage from play-games-plugin-for-unity, the project throws an error and stopped working. The error was not helpful at all, but the warning “Unable to find dependency com.android.support:support” indicates that the “Android Support Repository” is missing. Even if the support repository is not installed, the folder “$SDK/extras/android/m2repository” is present.
After the startup of the computer, a black window pops up once every hour and hides after less than a second. This window is an instance of the cmd.exe, which is part of windows, and executes a script, which tries to update some drivers. Every program running in full screen mode is minimized immediately. After some research, I found the root of the evil.