.NET 11 RC2 MAUI app fails to compile (NativeAOT) with MAUI Community Toolkit
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- build-system, mobile
Línea de trabajo
The failure is in the generated typemap file BoundServiceBinder.java under obj/Release/net11.0-android/typemap/java/, which references MediaControlsService from a package that is not generated. Linked pull request #13147 is already open against this work, so read it first and avoid duplicating it. Reproducing needs a NativeAOT Android publish of the MAUI Community Toolkit sample, which the issue does not provide. Done means the Android publish succeeds with NativeAOT on a clean build.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Android framework version
net11.0-android (Preview)
Affected platform version
.NET 11 RC2
Description
The following exception occurs at build time (after clean bin/obj folders) when trying to publish an Android application with NativeAOT turned on. macOS/iOS build and run NativeAOT fine.
obj\Release\net11.0-android\typemap\java\scrc64243bbae2d1378c01\BoundServiceBinder.java:24: error: package scrc64d4e0e3a6d812f4d7 does not exist
public BoundServiceBinder (scrc64d4e0e3a6d812f4d7.MediaControlsService p0)
^
obj\Release\net11.0-android\typemap\java\scrc64243bbae2d1378c01\BoundServiceBinder.java:32: error: package scrc64d4e0e3a6d812f4d7 does not exist
private native void nctor_2 (scrc64d4e0e3a6d812f4d7.MediaControlsService p0);
^
2 errors
3 warnings
Steps to Reproduce
N/A - haven't tried to reproduce it
Did you find any workaround?
No
Relevant log output
- Lenguaje dominante
- C#
- Estrellas
- 2.1k
- Forks
- 581
- Merge medio
- 1 d 23 h
- PR fusionados (30 d)
- 243
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnet/android
-
Area: App+Library Build
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
EditText.getText() isn't boundAbiertoArea: Mono.Android
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
dotnet/android#9192 · 4 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Area: App+Library Build needs-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
Los mantenedores suelen responder en 1 día
-
Area: App+Library Build needs-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
dotnet/android#13148 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
dotnet/android#13142 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnet/android
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Attention: a throwing permission check on one contributor fails the whole aggregation requestAbiertoready-for-agent size:S status:todo
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
elsa-workflows/elsa-foundation#2830 ·
Los mantenedores suelen responder en 1 día
-
Review - Maintainer WG-Maintainers-Build
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
PowerShell/PowerShell#28220 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: docs eco: dotnet good first issue help wanted lane: free-agent roadmap size: XS type: docs
Dificultad 2/5 Menos de una hora Aptitud para principiantes 72/100
arminazimi/evergreen#377 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día