cloud-builders-community icon indicating copy to clipboard operation
cloud-builders-community copied to clipboard

Fix sdkmanager URL and path

Open Sugihiru opened this issue 3 years ago • 3 comments

The Flutter image is currently broken due to the changes in the Android side from sdk-tools to cmdline-tools, which is known to be a problem Flutter side with flutter doctor. The following problem occurs when using the current sdk-tools :

Step #0: Step 23/28 : RUN yes "y" | flutter doctor --android-licenses
Step #0:  ---> Running in 1b6620ba9317
Step #0: [91mAndroid sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.
Step #0: The command '/bin/sh -c yes "y" | flutter doctor --android-licenses' returned a non-zero code: 1
Finished Step #0
ERROR

This PR uses cmdline-tools and updates the paths accordingly

Sugihiru avatar Jul 23 '21 14:07 Sugihiru

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

google-cla[bot] avatar Jul 23 '21 14:07 google-cla[bot]

@googlebot I fixed it.

Sugihiru avatar Jul 23 '21 14:07 Sugihiru

@amcooper this is cruicial to fix the flutter cloud builder. I came across the same issue and luckily this PR fixes it.

Sese-Schneider avatar Jan 31 '22 11:01 Sese-Schneider

I also confirm this PR fixes the cloud builder. How could we get this into the main repo?

CriPstian avatar Feb 07 '23 08:02 CriPstian

@ronanww ?

amcooper avatar Feb 07 '23 10:02 amcooper