`
heimuad
  • 浏览: 296932 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

在AMD64 位ubuntu8上android source code compile 过程

阅读更多
在虚拟机上编译android源码,cpu是64位AMD,
期间碰到很多问题,估计以后大家编译也会遇到
这里记下来。

1。  sudo apt-get install g++-4.2-multilib
    解决ld lstd++ 问题,编译adb时候出现
2。  sudo  apt-get install libz1g-dev

3。  sudo  apt-get install  lib32z1-dev lib32ncurses5-dev
   解决ld  -lz  -lncurses 问题
4.  cd /usr/lib32
    sudo ln -s libX11.so.6 libX11.so
   解决  libX11问题
5。 内存要多于1G。不然会在target dex的时候挂住。
分享到:
评论

相关推荐

    在Ubuntu下载、编译Android内核源码

    在Ubuntu上下载、编译和安装Android最新内核源代码是一项复杂但重要的任务,对于开发者而言,这能提供对系统底层更深入的理解和定制能力。本文将详细讲解这一过程。 首先,确保你已经按照前一篇文章的指导在Ubuntu...

    mpeg4ip source code

    mpeg4ip source code and SDL source code for convenient download. The SDL is a must for Configure and compile mpeg4ip. Additionally, The libtool is also a must, but it can be install by apt-get install...

    bpi_a64_android初步编译为LCD显示20170309_1442.7z

    rootroot@cm-System-Product-Name:/home/wwt/a64$ tar zxvf BPI-A64-Android_SourceCode.tar.gz 增加3个编译链 Notice: Please download this file to the correct path ...

    compile-monero-09-on-ubuntu-16-04:在Ubuntu 16.04 x64上编译Monero 0.10.1

    依存关系在进行编译之前,需要以下软件包: # update Ubuntu's repositorysudo apt update# install git to download latest Monero source code from githubsudo apt install git# install dependencies to be able...

    新版Android开发教程.rar

    的 Android SDK 提供了在 Android 平台上使用 JaVa 语言进行 Android 应用开发必须的工具和 API 接口。 特性 • 应用程序框架 支持组件的重用与替换 • Dalvik Dalvik Dalvik Dalvik 虚拟机 专为移动设备优化 • ...

    simd-blog:Java中SIMD基准测试和实验的源代码-java source code

    simd博客 Java中SIMD基准测试和实验的源代码。 结果最初发布在博客上。...export LD_LIBRARY_PATH=$LD_LIBRARY_PATH=:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 java -jar ./target/benchmarks.jar

    cross-compile-using-docker:在Docker容器中交叉编译ccpp源代码-docker source code

    在Docker容器中交叉编译c / cpp源代码 1.编写一个包装构建脚本crossbuild.sh ,该脚本仅调用makefile #!/bin/sh cd /source/examples && make CROSS=arm-openwrt-linux-uclibcgnueabi- TARGET_FOLDER=openwrt 2....

    android_system_service_example:Android IPC系统服务示例

    # In AOSP topdir## sourcesource build/envsetup.sh## lunchlunch XXXX# to source codecd android_system_service_example# Compilemm使用Android SDK和NDK 系统服务绑定程序API是用于自定义ROM的黑客技术,因此...

    softap_ap6212a0_tinav2.1_验证通过_旧版本的系统_20170915_1223没有外层目录.7z

    HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty HOST_BUILD_TYPE=release BUILD_ID=57513AA3 OUT_DIR= ============================================ rootroot@cm-System-Product...

    crtmpserver源码

    In order to get the source code, issue the following command: svn co --username anonymous https://svn.rtmpd.com/crtmpserver/trunk crtmpserver When it asks for password, hit Enter key Compile the ...

    vnc一对一服务器远程桌面共享服务器repeater

    This is my Linux port of Ultravnc repeater source code. Compile with command: Make You should now have a repeater file, start it with command ./repeater [inifilepathandname] Various settings can be ...

    grub4dos-0.4.4

    Get the source code of this build by using anonymous svn in this way: svn co -r 60 svn://svn.gna.org/svn/grub4dos/trunk grub4dos or in this way: svn co -r 60 ...

    GLTools-master

    companion source code for the book all rebuild GLTools from scratch and statically link it to the executable. For this distribution, I removed the included copy of GLEW and wrote some CMake files to...

    k2t openwrt固件

    1. 首先装好 Ubuntu 64bit,推荐 Ubuntu 14 LTS x64 2. 命令行输入 sudo apt-get update ,然后输入 sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev...

    Bochs - The cross platform IA-32 (x86) emulator

    [3164945] hack to compile under WIN64 by Darek Mihocka and Stanislav [3164073] Fine grain SMC invalidation by Stanislav [1539417] write protect for floppy drives by Ben Lunt [2862322] fixes for ...

    OpenGL ES 3.0 Programming Guide, 2nd Edition

    All code has been built and tested on iOS 7, Android 4.3, Windows (OpenGL ES 3.0 Emulation), and Ubuntu Linux, and the authors demonstrate how to build OpenGL ES code for each platform. Coverage ...

    python_3.10_all_new_features:Python 3.10的所有重要功能和更改

    Python 3.10:有什么新功能? 释放 :sparkles: 的Python 3.10 :sparkles: 越来越近了,现在该乘搭新版本的Python了,看...# Unpack Python source code tar xzvf Python-3.10.0a6.tgz cd Python-3.10.0a6 # Compile Py

    hydra 7.2 win32

    SERVICE 1 4 8 16 32 50 64 100 128 ------- -------------------------------------------------------------------- telnet 23:20 5:58 2:58 1:34 1:05 0:33 0:45* 0:25* 0:55* ftp 45:54 11:51 5:54 3:06 1:25 0:...

    gtk-engines-

    The source code of gtk-engines is available from: http://ftp.acc.umu.se/pub/GNOME/sources/gtk-engines/ The development version is available from gtk-engines module of the GNOME subversion repository...

    uboott移植实验手册及技术文档

    本步骤将编译 u-boot.bin文件,但此时还无法运行在FS2410开发板上。 二、修改 cpu/arm920t/start.S文件,完成 U-Boot的重定向 (1)修改中断禁止部分 # if defined(CONFIG_S3C2410) ldr r1, =0x7ff /*根据 2410...

Global site tag (gtag.js) - Google Analytics