Using Android Tiramisu Preview Workloads in Azure Pipelines
source link: https://blog.ostebaronen.dk/2022/04/want-to-build-with-preview-dotnet-workloads.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Using Android Tiramisu Preview Workloads in Azure Pipelines
12 Apr 2022 | Xamarin dotnet Azure DevOps
Had the pleasure of hitting a bug in the net6.0-android
TFM when targeting Android 31. This bug had been fixed in a preview version of the net6.0-android
workload, targeting Android 32 or higher.
So question is, how would you set up your CI or even your local environment to run this?
In my specific case I wanted:
- Android platform for
android-Tiramisu
- .NET workload for android, containing the fix,
android-33
The steps to install these are fairly simple. Use Android SDK manager to install the platform. Then use dotnet to install the specific workload.
sdkmanager --install "platforms;android-Tiramisu"
dotnet workload install android-33
This enables me to use net6.0-android33.0
as TFM.
sdkmanager
is located in your Android SDK folder to invoke it, you might need to add it to your path or cd into the folder <android-sdk>/cmdline-tools/latest/bin
and run ./sdkmanager
.
Setting up steps in Azure Pipelines is super easy too:
- script: |
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "platforms;android-Tiramisu"
displayName: Install Android SDK for Tiramisu
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 6.0.x'
inputs:
version: 6.0.x
- script: |
dotnet workload install android
dotnet workload install android-33
displayName: Install Android Workloads
Now you should be able to build .net6.0-android33.0
TFMs!
Recommend
-
24
README.md
-
29
Desktop notifications, the UNIX way. Contribute to Sweets/tiramisu development by creating an account on GitHub.
-
12
Testing using the Azure Cosmos DB Emulator in Azure Pipelines Published 23 November 2019 Tags: When working on an application that interfaces with an Azure Cosmos DB backend you could use an actual Cosmos...
-
10
Updates Azure Database for MySQL: Azure Pipelines support i...
-
7
Exclusive: This is our first look at Android 13 “Tiramisu” and some of its upcoming featuresAndroid 12 is the current flavor of the season as OEMs go on to update their skins wi...
-
8
Android 13 “Tiramisu”: Everything we know so far about Google’s next big update! The most exciting thing about a big Android update is being able to follow a predictable pattern...
-
11
[ROM][13.0][guacamole][UNOFFICIAL] Evolution X 7.0 Tiramisu | OOS CAM | OnePlus 7 Pro
-
4
Top Liked Posts
-
8
-
17
Development [ROM][TIRAMISU][sake][13] StatiXOS v6.2 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK