Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu 32 compile Android 4.0.4 Problems     - Redis is installed and set up Ubuntu 14.04 from the environment under the main ssdb (Server)

- The Java development environment to build under Ubuntu 14.04 (Linux)

- To teach you a trick to find the real IP address (Linux)

- RedHat Linux 6 desktop installation (Linux)

- ORA-01839 error caused by incorrect system date setting (Database)

- C ++ input and output summary _ Input (Programming)

- [Errno 4] IOError: [Errno ftp error] with yum appears as a workaround (Linux)

- Java development specifications summary (Programming)

- C ++ How to determine the types of constants (Programming)

- Tomcat itself through simple movement separation (Server)

- Android WebView use layman (Programming)

- Android main thread message system (Handler Looper) (Linux)

- Editor of the popular Linux Gvim (Linux)

- To create and manage virtual machines on Ubuntu Redhat (Linux)

- Ubuntu 14.04 How to install Cinnamon 2.4.5 (Linux)

- Java rewrite equals method (Programming)

- Linux can modify the maximum number of open files (Linux)

- xCAT line installation on CentOS 6.X (Linux)

- Oracle Linux 5.5 (64bit) Install Oracle 11gR2 RAC detailed tutorial (Database)

- Apache POI Excel Document Processing (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.
- RHEL7.0 environment Linux kernel upgrade (Linux)
- The first IOS Objective-C program (Programming)
- Linux distributed message queue RocketMQ deployment and monitoring - Dual Master (Server)
- Related to optimize the use of Btrfs file system on SSD (Linux)
- Android Studio installed in Ubuntu 15.04 (Linux)
- Django Web dynamic three linkage (Programming)
- What is the Docker (Linux)
- Try debugfs restore the deleted files ext3 file system (Linux)
- Function Getting the Linux shell (Programming)
- Hibernate Performance Optimization of EHCache cache (Programming)
- MySQL5.7.10 installation documentation (Database)
- Linux operating system security can not be ignored (Linux)
- How to modify the SQL Server auto-increment value and the corresponding solution (Database)
- CentOS boot image to achieve semi-automatic installation (Linux)
- Thinking in Java study notes - initialization and cleanup (Programming)
- Linux hard drive failure Case Studies (Linux)
- How to deploy Icinga client (Server)
- Variables Python variables (Programming)
- Setting Wetty do not need an account login command line operations (Linux)
- Let the terminal under Mac OS X as like Linux has displayed a variety of colors (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.