-
5 Dec 2012 1:45 PM #1
Answered: Android Native build is failing, debug is no help.
Answered: Android Native build is failing, debug is no help.
Hey all,
I'm trying to build a project as an Andriod Native app. I had it compiling before and saw that the icon was the base Sencha image. After I changed the icon the build started failing with an error that was no help at all. I did it again in debug mode and the extra info was no help either. The snippet of the log where the error occurs is below. I've attached most of the log to the post. No reason to put the whole thing in the text here.
If there's anything else you need to help figure out why this is blowing up on me let me know and I'll put it up. I hope there's an easy fix for this. It's not a permission problem. All the directory permissions are fine. I'm running this on Windows XP if that's any help.Code:ERR] Created directory C:\web\app.kokoche.com\build\native\src\kokoche\deals Added file C:\web\app.kokoche.com\build\native\src\kokoche\deals\STActivity.java Created directory C:\web\app.kokoche.com\build\native\res Created directory C:\web\app.kokoche.com\build\native\bin Created directory C:\web\app.kokoche.com\build\native\libs Created directory C:\web\app.kokoche.com\build\native\res\values Added file C:\web\app.kokoche.com\build\native\res\values\strings.xml Created directory C:\web\app.kokoche.com\build\native\res\layout Added file C:\web\app.kokoche.com\build\native\res\layout\main.xml Created directory C:\web\app.kokoche.com\build\native\res\drawable-xhdpi Created directory C:\web\app.kokoche.com\build\native\res\drawable-hdpi Created directory C:\web\app.kokoche.com\build\native\res\drawable-mdpi Created directory C:\web\app.kokoche.com\build\native\res\drawable-ldpi Added file C:\web\app.kokoche.com\build\native\AndroidManifest.xml Added file C:\web\app.kokoche.com\build\native\build.xml Added file C:\web\app.kokoche.com\build\native\proguard-project.txt ""/Program Files/Android/android-sdk\tools\android" create project --target android-17 --name Kokoche --activity STActivity --path "C:\web\app.kokoche.com\build\native\/" --package kokoche.deals" Could not copy web application C:\web\app.kokoche.com\build\Kokoche\package\ to output folder C:\web\app.kokoche.com\build\native\\assets\ Failed to package application [ERR] BUILD FAILED [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
The help is much appreciated.
JamieThe best advice I've been given ... Read the code.
-
Best Answer Posted by Specks
Ok, since no one helped with this I'll share what I have learned. Apparently the Sencha command doesn't like spaces in the file names. If it's not the file names then something is probably corrupted. Which was probably the case. So I created a new empty base app and rebuilt the project. Problem solved, the project built without errors.
Jamie
-
7 Dec 2012 1:46 AM #2
Ok, since no one helped with this I'll share what I have learned. Apparently the Sencha command doesn't like spaces in the file names. If it's not the file names then something is probably corrupted. Which was probably the case. So I created a new empty base app and rebuilt the project. Problem solved, the project built without errors.
JamieThe best advice I've been given ... Read the code.


Reply With Quote