Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Include plugin with Android x86

Discussion in 'Android' started by Clint.Carpenter, Oct 2, 2015.

  1. Clint.Carpenter

    Clint.Carpenter

    Joined:
    Apr 28, 2015
    Posts:
    4
    I have a plugin (libsqlite3.so) that I imported with SimpleSQL. It is targeted for ARMv7 (as it should be).

    However, to get my Samsung Tab 3 (x86) running. I need a different x86 version of the plugin. I've tried dropping my file into Assets/Plugins/Android/x86 but it is not included when I export my project.

    In the inspector the original version has options for the platform and under the Android settings it has a CPU option (ARMv7). Unfortunately the new x86 version of the file I need doesn't have any options in the inspector at all. How do I set it for Android:x86 so it gets included in the right spot?

    Any help you can give would be great. Thanks!
    Clint
     
  2. bleater

    bleater

    Joined:
    Apr 19, 2012
    Posts:
    24
    For those who stumble here, you have to put it in an arch-specific subfolder off the "libs" subfolder, e.g.:

    Assets/Plugins/Android/libs/armeabi-v7a/libsqlite3.so
    Assets/Plugins/Android/libs/x86/libsqlite3.so