Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu 32 compile Android 4.0.4 Problems     - VMWare virtual machine without rebooting way to add virtual disk (Linux)

- hexdump Linux command (Linux)

- PHP file upload methods exist in the database (Programming)

- C ++ why we chose to use the smart pointer (Programming)

- Linux Getting Started Tutorial: How to set up a static MAC address on VMware ESXi virtual machine (Mobile)

- grep command Detailed and relevant examples (Linux)

- Swift 2.0 brief (Linux)

- Linux, Firefox unloading and installation and upgrade (Linux)

- Linux operation and maintenance engineers face questions Intermediate (Linux)

- Using Vagrant to build multi-platform environment (Server)

- Installation of network monitoring ntopng under CentOS 6.4 (Linux)

- Share and show your code on GitHub (Linux)

- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)

- Appweb configuration in detail (Server)

- Linux file permissions to modify the command: chmod (Linux)

- Oracle 11g partition maintenance (two) - Coalescing Partitions (Database)

- Java keyword final, static (Programming)

- Oracle and MySQL difference between the jdbc (Database)

- MySQL various log summary (Database)

- RHEL7 unattended automatic installation DHCP + TFTP + SYSLINUX + TFTP + Kickstart (Linux)

  Ubuntu 32 compile Android 4.0.4 Problems
  Add Date : 2018-11-21      
  First problem: the 32-bit Ubuntu 12.04 compile Android4.0.4 source when there is an error on emulator, the key is its Makefile in the -m64 parameters, which can be replaced with -m32, the following error message:

ERROR: prebuilts / tools / gcc-sdk /../../ gcc / linux-x86 / host / x86_64-linux-glibc2.7-4.6 / bin / x86_64-linux-gcc only run on 64-bit linux

make: *** [out / host / linux-x86 / obj / STATIC_LIBRARIES / emulator64-target-arm_intermediates / tcg / tcg.o] Error 1

Documents related to the need to change is as follows:

external / qemu / Makefile.target

external / qemu / Makefile.common

Second problem: The following message appears when compiling:

target Dex: core

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

make: *** [out / target / common / obj / JAVA_LIBRARIES / core_intermediates / noproguard.classes-with-local.dex] Error 1

Find build / core / definitions.mk files found the following:

#TODO: Use a smaller -Xmx value for most libraries;

# Only core.jar and framework.jar need a heap this big.

# Avoid the memory arguments on Windows, dx fails to load for some reason with them.

define transform-classes.jar-to-dex

@echo "target Dex: $ (PRIVATE_MODULE)"

@mkdir -p $ (dir $ @)

$ (Hide) $ (DX) \

$ (If $ (findstring windows, $ (HOST_OS)) ,, - JXms16M -JXmx2048M) \

--dex --output = $ @ \

$ (Incremental_dex) \

$ (If $ (NO_OPTIMIZE_DX), \

--no-optimize) \


--debug --verbose \

--dump-to = $ (@ :. dex = .lst) \

--dump-width = 1000) \


$ <


Since the contents of my computer only 2GB, then the above 2048M certainly can not meet because of the need to allocate kernel memory allocation when linux, so adjust the parameters for the small 1024M.

Will continue to compile some errors on the emulator, and consult the google official information, that is to compile on 64bit systems, replaced after 64, what mistakes did occur, compile all normal.
- Using Python to find a particular file extension directory (Programming)
- What Java 8 fastest garbage collector (Programming)
- Docker + Nginx + Tomcat7 simple load balancing configuration (Server)
- NFS-based services and service utilization Corosync DRBD high availability cluster configuration, respectively (Server)
- Using Python multithreaded mistakes summary (Programming)
- 20 open source / commercial Linux server management control panel (Server)
- How to manage your to-do list with the Go For It on Ubuntu (Linux)
- How to Install Xombrero 1.6.4 (minimalist Web browser) on Ubuntu and Archlinux (Linux)
- Spring WebSocket Comments (Programming)
- How common Linux automation tasks (Server)
- Linux ps command (Linux)
- Oracle Migration partition table (Database)
- Linux Command Tutorial: Ubuntu apt-get command (Linux)
- Compile Android libwebcore.so error occurs when solving (Programming)
- CentOS6.5 installation Docker (Linux)
- RHEL6.4 x86_64 build SVN service (Server)
- Ubuntu 12.04 installation OpenCV2.4.1 and compile test (Linux)
- Some problems and countermeasures Linux system calls exist (Linux)
- Ubuntu 14.10 users to install Audio Recorder 1.5.7 (Linux)
- What is Java EE (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.