Android Studio 3.1 Canary 4 has been released and fixed some bugs.
How to update Android Studio?
If you have installed Android from Canary or Dev channels, you can upgrade it as follows:
Help > Check for Update (Mac：Android Studio > Check for Updates
Known Issues in Android Studio 3.1 Canary 3 and how to solve?
1. For Mac users, there is a known issue with the following error when building an existing project with this release.
To solve this problem:
Select “Build> Clean Project” from the menu bar and execute clean build. Execution failed … > v1 signature (JAR signature) not yet generated.
2. For Kotlin developers, when building a project, you may encounter errors similar to the following.
This is an exception that is thrown out of memory by the Kotlin compiler daemon – even though your stack trace may indicate that the file ended abnormally: java.io.EOFException. To solve this problem, just try to build the project again.
Execution failed for task ‘:app:compileDebugKotlin’. > Internal compiler error.
Free Download Android Studio