C#/Xamarin Maui
[Xamarin] Xamarin.Forms.Platform.Android.RendererPool:_freeRenderers 에러
kjun.kr
2019. 9. 21. 07:54
728x90
아래처럼 빌드시에는 이상이 없었는데
기기로 디버깅 시 에러가 발생되었다.
System.TypeLoadException: Could not load type of field 'Xamarin.Forms.Platform.Android.RendererPool:_freeRenderers' (0) due to: Could not resolve type with token 010001b1 from typeref (expected class 'System.Collections.Generic.Stack`1' in assembly 'mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e') assembly:mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e type:System.Collections.Generic.Stack`1 member:(null)
찾아보니 Forms 버전을 다운 그레이드 하면 해결되는데 (4.1.0.778454 버전으로 다운 그레이드)
Android 쪽 패키들과 버전 충돌때문에 다운그레이드가 잘되지 않았다. ㅠㅜ
그래서 위 목록을 모두 제거하고 Forms 버전은 4.1.0.778454 으로 설치
나머지 Android 쪽 패키지들은 28.0.0.1 (낮은)버전으로 설치하고 실행하니 정상적으로 동작되었다.
아래는 재설치후 버전들..
728x90