[Baidu Space] [The various pits under the original]android

Source: Internet
Author: User

A bunch of so files are not installed correctly:

APK inside is full, but after installation/data/data/$pkg/lib below there is no

Google has been a long time without results. The last discovery is because there is no library with the Lib prefix (at that time thought of not adding better, more appetite) .... Now add the Lib prefix ok.

Suspect that Package manager has ignored all of the LIB prefix's so-called scenarios when installing the APK. Don't use official MK It's really a pain in the hole.

There are too many pits on the NDK:

Dlopen () does not support Rtld_nodelete, but it also has black code.

APK source/libs can not have subfolders, plugins also want to re-put, it is said that Android Dlopen do not check or load dependent libraries, you may want to manually load dependencies in order ... StackOverflow or Google Groups on a similar approach, with the Java layer or another (empty auxiliary) nativeactivity start first, manually load all the libraries.

Bionic libc All kinds of castration, then do not encounter a function not implemented.

At present, in addition to the render library, all of the transplant is finished (except to render something else to be ported, the sound module does not need to be ported, except the basic IO has been completed).

Take some time to summarize the porting.

[Baidu Space] [The various pits under the original]android

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.