Build reports errors but creates APK file

Answered

IntelliJ IDEA 2017.3.3 (Community Edition)
Build #IC-173.4301.25, built on January 15, 2018
JRE: 1.8.0_152-release-1024-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Hi,

Project for Android (Java). Debug build works fine. Release (signed) build reports:

16:10 Gradle build finished with 5 error(s) in 24s 530ms
16:10 Generate Signed APK
   APK(s) generated successfully.
   Show in Explorer
 
No messages reported in the Build view, APK file is generated and works fine too.
 
Any ideas?
 
Thanks,
Andriy
0
2 comments

Try checking the text view of the Gradle build tool window instead of the tree view. Any errors listed there?

Are there any errors listed in build.log: https://intellij-support.jetbrains.com/hc/articles/207241085?

Does the build complete without errors in the command line Gradle?

Can you share a sample project to reproduce it?

0
Avatar
Permanently deleted user

Yes, Gradle build tool text view lists some errors and warnings.

Thank you for help.

0

Please sign in to leave a comment.