I opened the linking feature in my Xamarin forms project and got this error while compiling
If I don't open visual studio as an administrator, it doesn't work.
How can I solve the error without opening Administrator
System.UnauthorizedAccessException: Access to the path 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\Common7\\IDE\\ReferenceAssemblies\\Microsoft\\Framework\\MonoAndroid\\v1.0\\Java.Interop.dll.lz4' is denied.
This issue has been reported, you can track the status here: https://developercommunity.visualstudio.com/content/problem/1120933/xabld7019-systemunauthorizedaccessexception-access.html
Switching to preview channel (8.8) solved this issue for me.
I solved the problem using the answer for this question. Archiving Xamarin Android App gives error XABLD7019
Its a workaround, but solved my problem while the update is not ready.
add false to the release section of your csproj. (I've confirmed this one works) But it may result in increased apk sizes.
Thanks for answers
Fixed with vstudio 16.8 Update
我也有这个问题,我通过以管理员权限打开 Visual Studio 来解决它
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.