Stanny_Bing 2017-04-25 08:37 采纳率: 0%
浏览 1664
已结题

android如何重新编译一个第三方SDK,底层是c++。

最近需要将MapBox这个sdk给重新编译,在源码上进行修改,但是,对于这个步骤一无所知。
https://github.com/mapbox/mapbox-gl-native/blob/master/INSTALL.md#additional-dependencies-for-macos
不知道有没有做过这相关的工作的朋友能够给予帮助,十分感谢。

  • 写回答

1条回答 默认 最新

  • 普通网友 2017-04-25 09:43
    关注

    你最好的选择应该是去follow git hub上的Getting Started,系统选择Ubuntu 16.04 LTS
    按他们的要求把依赖都安装好,遇到问题再解决问题
    Setup environment

    These instructions are for developers interested in making code-level contributions to the SDK itself. If you instead want to use the SDK in your app, see above.

    Getting the source

    Clone the git repository

    git clone https://github.com/mapbox/mapbox-gl-native.git
    cd mapbox-gl-native
    Installing dependencies

    These dependencies are required for all operating systems and all platform targets.

    Latest stable Android Studio

    Update Android SDK with latest

    Android SDK Build-Tools
    Android Platform-Tools
    Android SDK Tools
    CMake
    NDK
    LLDB
    Modern C++ compiler that supports -std=c++14

    clang++ 3.5 or later or
    g++-5 or later
    cURL (for build only)

    Node.js or later (for build only)

    pkg-config (for build only)

    Additional Dependencies for Linux

    These instructions were tested on Ubuntu 16.04 LTS (aka Xenial Xerus).

    $ sudo apt-get install -y build-essential curl lib32stdc++6 lib32z1 pkg-config python

    评论

报告相同问题?

悬赏问题

  • ¥50 易语言把MYSQL数据库中的数据添加至组合框
  • ¥20 求数据集和代码#有偿答复
  • ¥15 关于下拉菜单选项关联的问题
  • ¥20 java-OJ-健康体检
  • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
  • ¥15 使用phpstudy在云服务器上搭建个人网站
  • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
  • ¥15 vue3+express部署到nginx
  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况