Skip to content
Discussion options

You must be logged in to vote

I solved it by adding this script right at the start of the workflow:

flutter config --jdk-dir $JAVA_HOME

This makes the Android toolchain use the version of Java on the path (JAVA_HOME) instead of the version from Android Studio.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sampaio96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant