NativeLibrary:System.DllNotFoundException

moodleemoodlee Member ✭✭

I refer to this article: devblogs.microsoft.com/cppblog/developing-xamarin-android-native-applications/
1、Create Native Library And Blank Android

2、Write function in NativeLibrary.cpp

3、Build Native Library

4、Add Refrence In Blank Android

5、Add Code In Blank Android

5.1 Add Button

5.2 Add Code

6、Debug the program

7、Click the button And Report error

8、I Need Help...

Best Answers

  • moodleemoodlee ✭✭
    Accepted Answer

    I have solevd this problem.
    The platform of Native Library and Blank Android must be same!!!
    Such as:

  • moodleemoodlee ✭✭
    edited October 1 Accepted Answer

    There are some details that i have done.
    1、Download all SDKs.

    2、The SDK level must be matched.

    That's all.

    祝祖国70周年生日快乐。

Answers

  • moodleemoodlee Member ✭✭
    Accepted Answer

    I have solevd this problem.
    The platform of Native Library and Blank Android must be same!!!
    Such as:

  • moodleemoodlee Member ✭✭
    edited October 1 Accepted Answer

    There are some details that i have done.
    1、Download all SDKs.

    2、The SDK level must be matched.

    That's all.

    祝祖国70周年生日快乐。

  • moodleemoodlee Member ✭✭
    edited October 1

    Bad News.
    I don't know why it is failed again...

Sign In or Register to comment.