Commit ed5ad12
committed
[One .NET] bump $(MinimumSupportedJavaVersion) to 11.0 (#6228)
Since e722825, API 31 is stable -- builds now requires JDK 11.
Unfortunately, if you build an app right now you hit:
> dotnet new android ; dotnet build
...
error XA0031: Java SDK 11.0 or above is required when using .NET 6 or higher.
You can fix the problem by passing `$(MinimumSupportedJavaVersion)`:
dotnet build -p:MinimumSupportedJavaVersion=11.0.0
Let's make `$(MinimumSupportedJavaVersion)` default to `11.0` going
forward in .NET 6 to solve this issue.1 parent b99680d commit ed5ad12
File tree
1 file changed
+1
-1
lines changed- src/Xamarin.Android.Build.Tasks/Microsoft.Android.Sdk/targets
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments