Skip to content

Commit 06329f8

Browse files
committed
Merge branch 'main' into dev/grendel/cpp-tweaks
* main: Localized file check-in by OneLocBuild Task (#8668) [Xamarin.Android.build.Tasks] `<CheckDuplicateJavaLibraries/>` ignores `repackaged.jar` (#8664) LEGO: Merge pull request 8665 [Xamarin.Android.Build.Tasks] parse JDK `release` file directly (#8663) Bump to dotnet/installer@f91d4ca399 9.0.100-alpha.1.24070.3 (#8635) [.github] Re-enable locking issues after 30 days of inactivity (#8655) Localized file check-in by OneLocBuild Task (#8657) LEGO: Merge pull request 8656 Localized file check-in by OneLocBuild Task (#8652) Bump to xamarin/xamarin-android-tools/main@b175674 (#8644) [Xamarin.Android.Build.Tasks] remove checks for `$(UsingAndroidNETSdk)` (#8647) [Xamarin.Android.Build.Tasks] XA1039 error for Android.Support (#8629)
2 parents 4e712cc + e67afc7 commit 06329f8

File tree

68 files changed

+862
-1020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+862
-1020
lines changed

.github/workflows/locker.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Locker - Lock stale issues and PRs
2+
on:
3+
schedule:
4+
- cron: '0 9 * * *' # Once per day, early morning PT
5+
6+
workflow_dispatch:
7+
# Manual triggering through the GitHub UI, API, or CLI
8+
inputs:
9+
daysSinceClose:
10+
required: true
11+
default: "30"
12+
daysSinceUpdate:
13+
required: true
14+
default: "30"
15+
16+
permissions:
17+
issues: write
18+
pull-requests: write
19+
20+
jobs:
21+
main:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout Actions
25+
uses: actions/checkout@v4
26+
with:
27+
repository: "microsoft/vscode-github-triage-actions"
28+
path: ./actions
29+
ref: cd16cd2aad6ba2da74bb6c6f7293adddd579a90e # locker action commit sha
30+
- name: Install Actions
31+
run: npm install --production --prefix ./actions
32+
- name: Run Locker
33+
uses: ./actions/locker
34+
with:
35+
daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}
36+
daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Xamarin.Android error XA1039
3+
description: XA1039 error code
4+
ms.date: 1/10/2024
5+
---
6+
# Xamarin.Android error XA1039
7+
8+
## Example messages
9+
10+
```
11+
error XA1039: The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.
12+
```
13+
14+
## Issue
15+
16+
Outdated "Android Support Library" packages are no longer supported in .NET 9:
17+
18+
* `Xamarin.Android.Arch.*`
19+
* `Xamarin.Android.Support.*`
20+
21+
The underlying Java libraries are no longer supported by Google since the final
22+
28.0.0 release. See the [Android Support Library Documentation][support] for
23+
details.
24+
25+
Some example prefixes of the newer, supported AndroidX packages are:
26+
27+
* `Xamarin.AndroidX.*`
28+
* `Xamarin.AndroidX.Arch.*`
29+
30+
For more information about the Android Support libraries or AndroidX, see:
31+
32+
* [Android Support Library Documentation][support]
33+
* [AndroidX Documentation](https://developer.android.com/jetpack/androidx)
34+
35+
[support]: https://developer.android.com/topic/libraries/support-library/packages
36+
37+
## Solution
38+
39+
Remove all NuGet package references to `Xamarin.Android.Support` or
40+
`Xamarin.Android.Arch` in favor of the new AndroidX equivalents.
41+
42+
This also can occur if you are using a NuGet package with a transitive
43+
dependency on the Android support packages. In this case, you will need to
44+
remove the package or contact the package author.
45+
46+
See the [AndroidX migration documentation](https://aka.ms/xamarin/androidx) for
47+
details.

Localize/loc/cs/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Knihovny podpory pr Android se v .NET 9 a novějších verzích nepodporují. Migrujte prosím na AndroidX. Další podrobnosti najdete v https://aka.ms/xamarin/androidx.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/de/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Die Android-Unterstützungsbibliotheken werden in .NET 9 und höher nicht unterstützt. Migrieren Sie zu AndroidX. Weitere Informationen finden Sie https://aka.ms/xamarin/androidx.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/es/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Las bibliotecas de compatibilidad con Android no se admiten en .NET 9 y versiones posteriores. Migre a AndroidX. Consulte https://aka.ms/xamarin/androidx para obtener más detalles.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/fr/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Les bibliothèques Android Support ne sont pas prises en charge dans .NET 9 et les versions ultérieures, veuillez migrer vers AndroidX. Pour plus d’informations, consultez https://aka.ms/xamarin/androidx.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/it/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Le librerie di supporto Android non sono supportate in .NET 9 e versioni successive. Esegui la migrazione ad AndroidX. Per altri dettagli, vedi https://aka.ms/xamarin/androidx.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/ja/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Android サポート ライブラリは .NET 9 以降ではサポートされていません。AndroidX に移行してください。詳細については、https://aka.ms/xamarin/androidx を参照してください。]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/ko/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Android 지원 라이브러리는 .NET 9 이상에서 지원되지 않습니다. AndroidX로 마이그레이션하세요. 자세한 내용은 https://aka.ms/xamarin/androidx 페이지를 참조하세요.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

Localize/loc/pl/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,15 @@
765765
</Str>
766766
<Disp Icon="Str" />
767767
</Item>
768+
<Item ItemId=";XA1039" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769+
<Str Cat="Text">
770+
<Val><![CDATA[The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.]]></Val>
771+
<Tgt Cat="Text" Stat="Loc" Orig="New">
772+
<Val><![CDATA[Biblioteki pomocy technicznej systemu Android nie są obsługiwane na platformie .NET 9 i nowszych. Przeprowadź migrację do systemu AndroidX. Aby uzyskać więcej informacji, zobacz https://aka.ms/xamarin/androidx.]]></Val>
773+
</Tgt>
774+
</Str>
775+
<Disp Icon="Str" />
776+
</Item>
768777
<Item ItemId=";XA2000" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
769778
<Str Cat="Text">
770779
<Val><![CDATA[Use of AppDomain.CreateDomain() detected in assembly: {0}. .NET 6 and higher will only support a single AppDomain, so this API will no longer be available in .NET Android once .NET 6 is released.]]></Val>

0 commit comments

Comments
 (0)