Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu 32 compile Android 4.0.4 Problems     - SpringMVC the use of interceptors (Programming)

- Linux user opens a number of adjustment processes (Linux)

- How to configure Proftpd server on Fedora 22 (Server)

- Java Access Control (Programming)

- Based on Google Cloud Storage Mirroring open Maven Central Repository (Server)

- C data types is how it is supported by most computer systems (Programming)

- CentOS7 installation GAMIT and GMT (Linux)

- How to install the Linux text editor Atom 0.124.0 (Linux)

- CentOS cross compiler core Raspberry Pi 2 (Linux)

- How the program is executed (Programming)

- Linux command execution order control and pipeline (Linux)

- Ubuntu 13.04 configure MyEclipse 10.7 Environment (Linux)

- Linux find and xargs (Linux)

- Character Encoding notes: ASCII, Unicode and UTF-8 (Linux)

- Ansible module Know (Linux)

- Linux Security and Optimization (Linux)

- Linux LVM Logical Volume Management to resize partitions (Linux)

- Linux Routine Task Scheduler (Linux)

- To install Oracle Database Details and FAQ Summary under CentOS (Database)

- How to make a U disk to install Ubuntu (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) \

$ (If $ (GENERATE_DEX_DEBUG), \

--debug --verbose \

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

--dump-width = 1000) \

$ (PRIVATE_DX_FLAGS) \

$ <

endef

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.
     
         
         
         
  More:      
 
- Python variable type (Programming)
- Let Git variety of colors and custom log format output (Linux)
- C language function pointer and a callback function (Programming)
- CentOS 6 / Linux su: Unable to set user ID: Resource temporarily unavailable (Linux)
- Oracle SDE and maintain common commands - Display space (Database)
- Binary Packages Golang (Linux)
- To control based on IP address routing policy under Linux (Linux)
- Security of data to create a safe .mdb database (Linux)
- Online booking shocking information leakage risk, you dare book the tickets online? (Linux)
- Oracle to create an external table (Database)
- Developing a Web server yourself (Server)
- To_teach you three strategies to prevent the LAN IP address theft (Linux)
- How do I upgrade from Ubuntu 15.04 to Ubuntu 15.10 (Linux)
- Windows using SSH management Ubuntu (Linux)
- High-performance JavaScript loops and flow control (Programming)
- Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6 (Database)
- Fedora 19/20 and Debian Jessie / Sid users to install FFmpeg 2.3.2 (Linux)
- Source MongoDB 3.2.1 installed on CentOS6.5 (Database)
- Linux vi command list (Linux)
- Deb package installation method under ubuntu (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.