Note that there are some explanatory texts on larger screens.

plurals
  1. POAapt is not working correctly - cannot generate R IDs on fresh project
    primarykey
    data
    text
    <p>I am running headless Ubuntu Server, with Jenkins, for Android builds, mostly for testing, several physical devices are connected all the time.</p> <p>Week ago it started to behave wierd, it was impossible to have sucesful build on this machine. At first I thought it might be something with code, then pom.xml files.</p> <p>Maven projects are throwing the same error (132):</p> <pre><code>[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 &amp;&amp; /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 --auto-add-overlay -A /var/lib/jenkins/sks/Wieliczka/app/assets -I /opt/android-sdk/platforms/android-17/android.jar, Result = 132 </code></pre> <p>I created fresh project with "android create project" command, then I tried to build it with Ant, same error in result</p> <pre><code>[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 </code></pre> <p>Machine runs on 32bit processor and it is pretty old, I believe ~7 years old</p> <p>Ubuntu version:</p> <pre><code>Distributor ID: Ubuntu Description: Ubuntu 12.04.2 LTS Release: 12.04 Codename: precise </code></pre> <p>Java version</p> <pre><code>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) </code></pre> <p>Android SDK is up to date, actually I already redownloaded and reinstalled it twice :-/</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload