Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by psyop_volpe · Jun 19, 2019 at 06:13 PM · c++nativeamazonlibrarieskindle fire

C++ Native Library on Kindle Fire

I have been trying to get our native C++ library working with Kindle Fire HD 8 and Kindle Fire HD 10, but it seems to not be working for either of them. I keep getting a DLLNotFoundException. The library works perfectly fine on standard Android.

I have tried building both ARM and x86 libraries but it doesn't find it for some reason. I am building in Unity 3D 5.6.7f1 with minimum Android version as 5.1 and target Android as 8.0. EDIT: I made sure that the C++ library supports Android 5.1 as well, but still no luck.

Has anyone done this? Can anyone point me to a tutorial for this or help me figure out what I am doing wrong here?

Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xxmariofer · Jun 19, 2019 at 08:21 PM 0
Share

can you try this application? the processor is a really common one, i am not familiar with nuity 5.1 it has the option to use both internal and grandle build systems? can you try both? and also i would disable the strip asembly incase the dlls are getting removed? and if in case is because is not found try this solution https://stackoverflow.com/questions/10003028/dllnotfoundexception-in-unity3d-plugin-for-c-dll

avatar image psyop_volpe xxmariofer · Jun 19, 2019 at 09:34 PM 0
Share

I am not sure what you are asking about "can you try this application?".

I am already doing what most of those are saying by putting a different build of the library in different folders for different architectures:

Plugins
>> Android
>>>> arm64-v8a
>>>>>> libBSW_CPP.so
>>>> armeabi-v7a
>>>>>> libBSW_CPP.so
>>>> x86
>>>>>> libBSW_CPP.so
>>>> x86_64
>>>>>> libBSW_CPP.so

I would put a picture in here but Unity Answers seems to be having a hard time parsing either a png or jpg of it. I don't see option to build in internal vs grandle. I am building an apk in grandle in Android Studio I believe and then just taking the dlls from inside that apk to put in Unity. That method works great for regular Android.

avatar image xxmariofer psyop_volpe · Jun 19, 2019 at 10:01 PM 0
Share

sorry missed the link http://www.dependencywalker.com/

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

108 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android - Trying to Load Library bug 0 Answers

xaml c++ projects can access the project scripts 0 Answers

How should I release a DirectX11 texture created in a native plugin? 1 Answer

Android Native Plugin (*.SO) 2 Answers

Equivalent of a void ** in from external library? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges