Page 1 of 3

APK Build Fails

Posted: Wed Jun 26, 2013 6:24 pm
by Emmz

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


APK Build Fails

Posted: Wed Jun 26, 2013 6:26 pm
by Maryna Brodina

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...


APK Build Fails

Posted: Wed Jun 26, 2013 6:29 pm
by Emmz

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.....


APK Build Fails

Posted: Wed Jun 26, 2013 6:33 pm
by Maryna Brodina

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.


APK Build Fails

Posted: Wed Jun 26, 2013 6:41 pm
by Emmz

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


APK Build Fails

Posted: Wed Jun 26, 2013 6:46 pm
by Maryna Brodina

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.


APK Build Fails

Posted: Wed Jun 26, 2013 6:54 pm
by Emmz

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...


APK Build Fails

Posted: Thu Jun 27, 2013 1:40 pm
by Maryna Brodina

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


APK Build Fails

Posted: Thu Jun 27, 2013 1:57 pm
by Arcelio J. Fetizanan Jr.

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


APK Build Fails

Posted: Thu Jun 27, 2013 1:59 pm
by Maryna Brodina

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