Java.lang.UnsatisfiedLinkError:dlopen failed:cannot Locate symbol "Srand" referenced by "libcocos2dcpp.so" ... Error resolution

Source: Internet
Author: User

When developing in Cocos2d-x 3.5, the compilation of Android code may encounter the following error:
Java.lang.UnsatisfiedLinkError:dlopen failed:cannot Locate symbol "Srand" referenced by "libcocos2dcpp.so" ...

One way to solve this problem is to reduce the NDK version from r10d to r9d, but this is not the recommended approach because R9D support for C + + 11 regular expressions is not enough, and for some other reason.

Another way to solve this problem is to download the SDK package for the Android SDK API 19, and the new project should not report this error.

Java.lang.UnsatisfiedLinkError:dlopen failed:cannot Locate symbol "Srand" referenced by "libcocos2dcpp.so" ... Error resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.