Unity Version: 2017.30b4 (although I have also tried the latest release build)
macOS Sierra 10.2.6
android studio 2.3.3
latest NDK installed
latest Java installed
I have tried to fix this issue by following this process (but for Mac):
> Go to your Android SDK Folder. (If you> did not change the path during Android> Studio installation you will find the> SDK folder here:> C:\Users\YourUsername\AppData\Local\Android\sdk> )>> Rename the old Android sdk "Tool"> folder : [Your Android SDK root]/tools> -> toolsXXXX>> Download Android SDK Tools, Revision> 25.2.5 (January 2017): http://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip
This fix got me further in the build process, but I'm still getting a failure:
CommandInvokationFailure: Gradle build failed.
/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/bin/java -Xmx1024M -classpath "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "--no-daemon" "assembleDebug"
↧