Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu 32 compile Android 4.0.4 Problems     - Oracle archive log full cause abnormal slow database performance (Database)

- Advanced Linux security settings (Linux)

- Ubuntu 12.04 configure NVIDIA CUDA 5.5 Record (Linux)

- Linux support exFAT and NTFS (Linux)

- Linux open handle limit adjustment (Linux)

- Parts of the partition is not recognized after Debian mount mobile hard disk (Linux)

- Linux uses the SMTP proxy to send mail (Linux)

- Linux system file directory structure Introduction (Linux)

- Android media library of analysis: MediaProvider (Programming)

- Firewall Configuration Red Hat Enterprise Linux 4 (Linux)

- Kubernetes cluster deployment (Server)

- The PostgreSQL database pg_dump command line does not enter a password method (Database)

- To install Git on Ubuntu systems (Server)

- 10 Regulation of painless SQL Schema (Database)

- Android Studio simple setup (Linux)

- Install Kali Linux via PXE network (Linux)

- Python developer of time-saving method (Programming)

- dmidecode command Detailed (Hardware information) (Linux)

- To learn linux security (Linux)

- SSH configuration under Linux (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 Linux command line and execute PHP code (Programming)
- Use Git in Eclipse (Linux)
- Examples of testing and installation Mesos on CentOS (Linux)
- Android to determine whether the device to open WIFI, GPRS data connection (Programming)
- Manually generate AWR reports (Database)
- The next key to install Linux bash script PowerShell (Linux)
- How UTorrent download the ISO image from the command line (Linux)
- Spring loaded container finishes executing a method (Programming)
- Use SecureCRT to transfer files between local and remote hosts (Linux)
- C ++ constant definition (Programming)
- Linux, see picture not resolve the problem (Linux)
- Redis-2.8.17 installation and configuration process some errors (Linux)
- Scope of variables in C # (Programming)
- grep command Series: How to Use the grep command in Linux / UNIX (Linux)
- Du and df show disk space usage inconsistent Causes and Treatment (Linux)
- Iptables on the request URL for IP access control (Linux)
- Linux ls command (Linux)
- sed command (Linux)
- Vim highlight lookup operation (Linux)
- Virtual Judge structures under Ubuntu 14.04 (Server)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.