cake-contrib / cake-contrib/Cake.Android.SdkManager

Unable to download SDK >= 26.1.1

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Expected Behavior
1. Call `AndroidSdkManagerDownload(specificVersion: new Version(26.1.1))`
2. `sdkmanager` downloaded successfully.

## Current Behavior
1. Call `AndroidSdkManagerDownload(specificVersion: new Version(26.1.1))`
2. Exception with 404 Not found

## Possible Solution
Parse `archives` section of the `repository2-1.xml` file to find the link to the file.

## Context
The format of the URL to download SDK manager has changed to this `sdk-tools-{os}-{autoincrement}.zip`, e.g. `sdk-tools-darwin-4333796.zip` (darwin for osx, linux and windows are unchanged).

## Your Environment
`Cake.Android.SdkManager 3.0.2`
`Cake 0.34.1`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.