Skip to content

Build error - The command line for R8 Tasks is too long. Command lines longer than 32000 chars are likely to fail. #10700

@gmck

Description

@gmck

Android framework version

net10.0-android

Affected platform version

net10.0 android 36.1 VS2026 Insiders [11408.92]

Description

I was attempting to upgrade NuGets. In particular, Xamarin.AndroidX.AppCompat from 1.7.1.1 to 1.7.1.2, Xamarin.AndroidX.Navigation.UI 2.9 .6 to 2.9.6.1 and Xamarin.AndroidX.NavigationUI 2.9.6 to 2.9.6.1. NavigationUI should have dragged in Xamarin.Google.AndroidMaterial 1.13.1 instead of 1.13.0, which I was hoping would eliminate the warnings Google Play Console emits for every production build re Edge-To-Edge using deprecated APIs, etc. - issue #10304. The actual message is The command line for R8 Task is too long. Command lines longer than 32,000 characters are likely to fail. Try reducing the length of the command line by breaking down the call to R8 into multiple calls with fewer parameters per call.

msbuild.zip

Steps to Reproduce

N/A

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.needs-triageIssues that need to be assigned.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions