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

    评论

报告相同问题?

悬赏问题

  • ¥15 python天天向上类似问题,但没有清零
  • ¥30 3天&7天&&15天&销量如何统计同一行
  • ¥30 帮我写一段可以读取LD2450数据并计算距离的Arduino代码
  • ¥15 C#调用python代码(python带有库)
  • ¥15 矩阵加法的规则是两个矩阵中对应位置的数的绝对值进行加和
  • ¥15 活动选择题。最多可以参加几个项目?
  • ¥15 飞机曲面部件如机翼,壁板等具体的孔位模型
  • ¥15 vs2019中数据导出问题
  • ¥20 云服务Linux系统TCP-MSS值修改?
  • ¥20 关于#单片机#的问题:项目:使用模拟iic与ov2640通讯环境:F407问题:读取的ID号总是0xff,自己调了调发现在读从机数据时,SDA线上并未有信号变化(语言-c语言)