Realise build failed (android)

Error:
UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors.
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83

Unity 2017.1.0f.3

jdk1.8.0_141

Still can make devolpment build.
Any solution?

Did you find any solution? I am having the same problem.

EDIT: I had selected “strip assemblies” in player settings and I was getting this error and APK was not building. But when I disabled stripping The APK is building but still getting this error message in console. anyone knows why?

EDIT2: I was making for Android. After updating Android SDK I didn’t get any error. So if you are making for android make sure Android SDK and JDK are updated.