Coder Social home page Coder Social logo

avalonia-withnativedependency's People

Contributors

aarnott avatar

Watchers

 avatar  avatar

avalonia-withnativedependency's Issues

Android app fails due to missing dependency

On the line that first requires the native dependency to be loaded, an exception is thrown:

System.DllNotFoundException
  Message=nerdbank_zcash_rust
 	0xFFFFFFFFFFFFFFFF in Android.Runtime.RuntimeNativeMethods.monodroid_debugger_unhandled_exception	C#
 	0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:13,5	C#
 	0x1E in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPL_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:126,26	C#
 	0x1A in NativeMethods.get_orchard_fvk_bytes_from_sk_bytes	C#
 	0x16 in NativeMethods.TryDeriveOrchardFullViewingKeyFromSpendingKey	C#
 	0x14 in Nerdbank.Zcash.Orchard.SpendingKey.CreateFullViewingKey	C#
 	0x1B in Nerdbank.Zcash.Orchard.SpendingKey..ctor	C#
 	0x55 in Nerdbank.Zcash.Zip32HDWallet.Orchard.Create	C#
 	0x34 in Nerdbank.Zcash.Zip32HDWallet..ctor	C#
 	0x17 in Nerdbank.Zcash.Zip32HDWallet..ctor	C#
>	0x13 in AvaloniaApplication1.ViewModels.MainViewModel..ctor at c:\temp\AvaloniaApplication1\AvaloniaApplication1\ViewModels\MainViewModel.cs:12,3	C#
 	0x4D in AvaloniaApplication1.App.OnFrameworkInitializationCompleted at c:\temp\AvaloniaApplication1\AvaloniaApplication1\App.axaml.cs:28,13	C#
 	0xC1 in Avalonia.AppBuilder.SetupUnsafe	C#
 	0x65 in Avalonia.AppBuilder.Setup	C#
 	0x8 in Avalonia.AppBuilder.SetupWithLifetime	C#
 	0x13 in Avalonia.Android.AvaloniaMainActivity<AvaloniaApplication1.App>.InitializeApp	C#
 	0x1 in Avalonia.Android.AvaloniaMainActivity<AvaloniaApplication1.App>.OnCreate	C#
 	0x11 in Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Android.App.Activity.cs:3082,4	C#
 	0x9 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PPL_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:125,5	C#

This, despite the fact that the dll does in fact ship with the app alongside the other binaries:
image

Further, I've confirmed with the msbuild binlog file that the dll that's placed there is the correct android-x64 build of the native binary, which given this is running in an x64 emulator seems to be the right one to 'ship' with the app for the emulator.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.