ERROR: cmd.exe failed with args Gradle

In my case was about minimun SDK version, I only can package on 26 or upper but idk why.