Closed kristojorg closed 1 year ago
Hi, have you filed a ticket with Appflow support? They have some recommendations for handling the location of java in the environment
I have not, but will do that now. It appears that trapeze is for some reason using the Java 8 that is installed instead of the Java 11
Sounds great. Right now the resolution for Java is that it will first use the one in your path if that's available, or it will use the one at JAVA_HOME
. So you can try setting JAVA_HOME
but support will be able to help with the right paths/etc.
https://github.com/ionic-team/trapeze/blob/main/packages/project/src/android/gradle-file.ts#L507
I am trying to use trapeze to auto-increment my build numbers on AppFlow. I can successfully build my app on iOS, but when trying to build and Android binary, I get the below error. It seems to be caused by
trapeze
because when I remove trapeze, everything works and the build is fine. Is there a way to use a newer version of the Java Runtime?