Skip to content

GenerateJavaStubs takes a long time when building incrementally for a maui project #8920

@dellis1972

Description

@dellis1972

Android application type

.NET Android (net7.0-android, net8.0-android, etc.)

Affected platform version

.NET 8.x

Description

I am seeing a 7 second task run time when building a Maui applicaiton incrementally.

 7214 ms  GenerateJavaStubs                          1 calls

Steps to Reproduce

  1. Create a new maui app (dotnet new maui)
  2. dotnet build -f net8.0-android
  3. change CounterBtn.Text = $"Clicked {count} time"; to CounterBtn.Text = $"Clicked {count} time(s)"; in MainPage.xml.cs
  4. dortnet build -f net8.0-android -bl

Did you find any workaround?

None

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.Area: PerformanceIssues with performance.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions