Unable to build android game, Help needed?

So I have been at this error for a number of days now and I have tried everything that I could find on the internet. I was trying to build my project using internal build, but found out that the android manifest does not allow special characters like “$” with internal builds, and that I am only allowed to use gradle builds. This is the error I am getting with Gradle builds:

CommandInvokationFailure: Gradle build failed.
C:/Program Files/Java/jdk1.8.0_181\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"

stderr[

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':packageRelease'.
> org.gradle.tooling.BuildException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 37s
]
I cannot find a solution to this anywhere. Can anyone help me at all?

Is this the only error you’re having?