Skip to content

DllNotFoundException #1

Description

@dmvictor

I am going to build a C++ plug-in for Android. At first, I try the example in Unity User Manual, I got a DllNotFoundException. After some Google search, I found your answer in StackOverflow. So I got here. I also try your example. I use Android studio to build your Android project, and I got two libScreenPointPixel-lib.so. One is for ARM, and the other for x86. The one for arm, I put it under Assets\Plugins\Android\libs\armeabi-v7a\, and the other one, I put it under Assets\Plugins\Android\libs\x86\. When I pressed the Play button, I got a DllNotFoundException on the function "initScreenPointPixel". I build the app on my Android phone as well, there only shows the default scene and nothing else. My Unity version is 2017.4.3f1. Is there something I am missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions