Как заставить Android (эмулятор) загружать собственную зависимость, которая поставляется с приложением C # (Avalonia)? ⇐ Android
Как заставить Android (эмулятор) загружать собственную зависимость, которая поставляется с приложением C # (Avalonia)?
Given a new C# Avalonia solution in Visual Studio, with a PackageReference that brings in a native dependency, how can the Android app be made to find and load that native dependency? The referenced nuget package utilizes the runtimes\android-x64\native folder for its native lib*.so library, and msbuild seems to recognize it and copy it into the .apk folder that presumably gets distributed to the Android emulator. So why then do I get a runtime exception saying the library cannot be found?
Minimal repro with issue describing the problem here: https://github.com/AArnott/Avalonia-Wit ... y/issues/1
Источник: https://stackoverflow.com/questions/781 ... ith-a-c-sh
Given a new C# Avalonia solution in Visual Studio, with a PackageReference that brings in a native dependency, how can the Android app be made to find and load that native dependency? The referenced nuget package utilizes the runtimes\android-x64\native folder for its native lib*.so library, and msbuild seems to recognize it and copy it into the .apk folder that presumably gets distributed to the Android emulator. So why then do I get a runtime exception saying the library cannot be found?
Minimal repro with issue describing the problem here: https://github.com/AArnott/Avalonia-Wit ... y/issues/1
Источник: https://stackoverflow.com/questions/781 ... ith-a-c-sh
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как заставить gradle НЕ загружать зависимости (а вместо этого загружать их из кеша)?
Anonymous » » в форуме JAVA - 0 Ответы
- 22 Просмотры
-
Последнее сообщение Anonymous
-
-
-
ASP.NET В одном контроллере JWE токен поставляется с заголовками, а в другом без заголовков.
Anonymous » » в форуме C# - 0 Ответы
- 19 Просмотры
-
Последнее сообщение Anonymous
-
-
-
ASP.NET В одном контроллере JWE токен поставляется с заголовками, а в другом без заголовков.
Anonymous » » в форуме C# - 0 Ответы
- 12 Просмотры
-
Последнее сообщение Anonymous
-