728x90
728x170

Debug 에서는 발생되지 않았던 오류가 Release 모드에서 아래처럼 발생되었다.

>------ 빌드 시작: 프로젝트: HybridPermission.Android, 구성: Release Any CPU ------
>  HybridPermission.Android -> C:\Users\kjun\source\repos\HybridPermission\HybridPermission\HybridPermission.Android\bin\Release\HybridPermission.Android.dll
>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Legacy.targets(643,5): error XALNK7000: Mono.Linker.MarkException: Error processing method: 'System.Void AndroidX.RecyclerView.Widget.RecyclerView/LayoutManager::n_OnInitializeAccessibilityNodeInfo_Landroidx_recyclerview_widget_RecyclerView_Recycler_Landroidx_recyclerview_widget_RecyclerView_State_Landroidx_core_view_accessibility_AccessibilityNodeInfoCompat_(System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)' in assembly: 'Xamarin.AndroidX.RecyclerView.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve AndroidX.Core.View.Accessibiity.AccessibilityNodeInfoCompat

해결방법은 간단하다 Nuget Package 에서 'Xamarin.AndroidX.RecyclerView' 를 설치해 주면된다.

 

 

728x90
그리드형
Posted by kjun.kr
,