Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

APK Build Fails

Log says
code
Caused by: com.jayway.maven.plugins.android.ExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2 && /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt package -m -J /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/target/generated-sources/r -M /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/AndroidManifest.xml -S /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/res -S /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/res --auto-add-overlay -A /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/assets -I /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-10/android.jar, Result = 1
at com.jayway.maven.plugins.android.CommandExecutor$Factory$1.executeCommand(CommandExecutor.java:215)
at com.jayway.maven.plugins.android.phase01generatesources.GenerateSourcesMojo.generateR(GenerateSourcesMojo.java:336)
... 22 more
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] TechApp2_2-parent ................................. SUCCESS [0.236s]
[INFO] barcode scanner ................................... SUCCESS [13.040s]
[INFO] TechApp2_2 ........................................ FAILURE [1.114s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.048s
[INFO] Finished at: Wed Jun 26 18:21:48 UTC 2013
[INFO] Final Memory: 10M/39M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.0.0:generate-sources (default-generate-sources) on project TechApp2_2: MojoExecutionException: ANDROID-040-001: Could not execute: Command = /bin/sh -c cd /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2 && /srv/tiggzi/lib/android-sdk-linux_x86/platform-tools/aapt package -m -J /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/target/generated-sources/r -M /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/AndroidManifest.xml -S /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/res -S /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/target/unpack/apklibs/phonegap.plugins_BarcodeScanner_apklib_1.0/res --auto-add-overlay -A /srv/tiggzi/lib/jenkins/workspace/86724-android/33327/86724/android/TechApp2_2/assets -I /srv/tiggzi/lib/android-sdk-linux_x86/platforms/android-10/android.jar, Result = 1 -> [Help 1]
[ERROR]
/code

I changed app icon and tried release and non-release with same result

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK Build Fails

Yes, one more big problem after update. We'll fix it as soon as possible. If problems with tester is going to be fixed tomorrow (most likely), this issue should be fixed next week...

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

APK Build Fails

Ok. So I wont be able to make an app untill next week maybe?
Does the eclipse export work at least?
As thats all thats left.....

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK Build Fails

Should be working. You see... this problem is reproducible with some of projects and most likely causing by pushing source code editing feature on production. Trying to figure out and fix it.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

APK Build Fails

If I create new project from backup will that work ?
Or am I wasting my time..

Eclipse throwing error
code
Description Resource Path Location Type
error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/appicon'). AndroidManifest.xml /TechApp2_2 line 46 Android AAPT Problem

<application android:icon="@drawable&#47;appicon" android:label="@string&#47;app_name" android:debuggable="false">

/code

And 6 of these
code
Description Resource Path Location Type
R cannot be resolved to a variable GCMIntentService&#46;java &#47;TechApp2_2&#47;src&#47;com&#47;appery&#47;project86724 line 67 Java Problem

/code

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK Build Fails

Yes Neil, just one more step left... is to create project backup and see if it works for you. Please try and let us know about result.

Emmz
Posts: 0
Joined: Sat Jun 23, 2012 11:06 pm

APK Build Fails

Used Backup from yesterday and and generated new auto key and selected it.

Appery still wont build.

So maybe I'll come back in a week or so to see if I can get it to something...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK Build Fails

Hi, please clear the cache an try again. APK build functionality should be fixed now.

Arcelio J. Fetizanan Jr.
Posts: 0
Joined: Wed May 16, 2012 1:00 pm

APK Build Fails

Always getting an error 500 to build, download project or getting the html/js download. Please check as we need to generate our app.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

APK Build Fails

Did you clear the cache? Please try again. Problem should be fixed now. Let us know about result.

Return to “Issues”