-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed as not planned
Closed as not planned
Copy link
Labels
t/bugSomething isn't workingSomething isn't working
Description
Description
Randomly my build will fail with
error MSB6006: "java.exe" exited with code 1.
Steps to Reproduce
- Lets create MAUI Blazor project.
- Build for Android.
- Randomly my build will fail with error MSB6006: "java.exe" exited with code 1.
Link to public reproduction project repository
No response
Version with bug
.NET 8 (Out of support, please specify exact version)
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
.NET 8 (Please specify exact version)
Affected platforms
Android
Affected platform versions
Android 15, .NET 8.0.100
Did you find any workaround?
After +/- 5minuts build finishes with success using below command.
while ($true) { dotnet build -t:Run -f net8.0-android -c Debug; if ($LASTEXITCODE -eq 0) { Write-Host "Started..."; break } else { Write-Host "Trying again.."; Start-Sleep -Seconds 5 } }
Relevant log output
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------
android 35.0.92/9.0.100 SDK 9.0.300, VS 17.14.36414.22
ios 18.5.9215/9.0.100 SDK 9.0.300, VS 17.14.36414.22
maccatalyst 18.5.9215/9.0.100 SDK 9.0.300, VS 17.14.36414.22
maui-windows 9.0.82/9.0.100 SDK 9.0.300, VS 17.14.36414.22
wasm-tools 9.0.8/9.0.100 SDK 9.0.300, VS 17.14.36414.22
wasm-tools-net6 9.0.8/9.0.100 SDK 9.0.300, VS 17.14.36414.22
wasm-tools-net7 9.0.8/9.0.100 SDK 9.0.300, VS 17.14.36414.22
wasm-tools-net8 9.0.8/9.0.100 SDK 9.0.300, VS 17.14.36414.22
C:\...\dotnet\packs\Microsoft.Maui.Sdk\8.0.100\Sdk\BundledVersions.targets(90,5):
C:\...\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.154\targets\Microsoft.Android.Sdk.Tooling.targets(69,5)
Metadata
Metadata
Assignees
Labels
t/bugSomething isn't workingSomething isn't working