I run the headless Ubuntu Server, with Jenkins, for Android builds, mainly for testing, all physical devices are connected all the time.
A week ago, he began to behave strangely, and on this machine it was impossible to complete a long assembly. At first I thought it could be something with code, and then with pom.xml files.
Maven projects throw the same error (132):
[INFO] Illegal instruction (core dumped) [ERROR] Error when generating sources. ... Caused by: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /var/lib/jenkins/sks/Wieliczka/app && /opt/android-sdk/build-tools/18.0.1/aapt package -m -J /var/lib/jenkins/sks/Wieliczka/app/target/generated-sources/r -M /var/lib/jenkins/sks/Wieliczka/app/AndroidManifest.xml -S /var/lib/jenkins/sks/Wieliczka/app/res -S /var/lib/jenkins/sks/Wieliczka/app/target/unpack/apklibs/com.actionbarsherlock_actionbarsherlock_apklib_4.4.0/res
I created a new project with the "android create project" command, then I tried to build it using Ant, the same error in the results
[aapt] Generating resource IDs... BUILD FAILED /opt/android-sdk/tools/ant/build.xml:649: The following error occurred while executing this line: /opt/android-sdk/tools/ant/build.xml:690: null returned: 132
The machine runs on a 32-bit processor, and it is quite old, I think ~ 7 years
Ubuntu Version:
Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise
Java version
java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode)
The Android SDK is updated, in fact I have already rebooted and installed it twice: - /
source share