Hi,
I would like to compile and install Hello Cardboard in my smartphone.
I followed all the indications that Google Cromebox suggests.
When the building arrives to Building Gradle Project the compilation fail with this:
Configure project :launcher
WARNING: The option ‘android.enableR8’ is deprecated and should not be used anymore.
It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8.
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
An exception has occurred in the compiler (1.8.0-adoptopenjdk)
CommandInvokationFailure: Gradle build failed.
/Applications/Unity/Hub/Editor/2021.1.1f1/PlaybackEngines/AndroidPlayer/OpenJDK/bin/java -classpath “/Applications/Unity/Hub/Editor/2021.1.1f1/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-5.6.4.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”
I really appreciate your help,
Thanks