Android/C + + app migration to Linux platform execution

Source: Internet
Author: User

The recent simulation of the Android camera process on the Minicamera (Linux + FPGA) platform has been plagued by escalating synchronization. Especially when the source code is not open,

The difficulty of applying to link closed dynamic libraries. And on the Sprdisk to constantly upgrade the corresponding Minicamera. Minicamera cannot be upgraded in sync with the Android system.

The two deadly problems that mixed with each other are severely retarded by the camera application and kernel-driven development test progress.


In the inspiration of Shenzhen colleague, do the simplest plan to try


1 compile Android's C + + application and its dependencies. CP to BuildRoot generated under the target folder under/bin and/lib

2 Add the linker of Android to the/bin in the target folder by this executive interpreter CP


This will solve the problem of closed source code and application after the upgrade of Android, only need to push the generated Android ELF,SO and linker interpreter to the relevant Linux platform test certificate.

No need to continue on the Linux platform to build a simulation, another compilation, synchronization and other issues.

The most thorough removal of Android, but also to synchronize to the latest other reference platform of practical information, to achieve the Android platform of the native code development.



References Link:

Http://www.linuxidc.com/Linux/2014-03/97499.htm

Linux programs ported to Android


http://blog.csdn.net/dinuliang/article/details/5509009

An analysis of Android linker


Http://www.cnblogs.com/sdphome/archive/2011/09/14/2176219.html

Android prelink Implementation of source code analysis






Android/C + + app migration to Linux platform execution

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.