This is a migrated thread and some comments may be shown as answers.

Error when building Icenium project in VS 2012

4 Answers 117 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Karlo
Top achievements
Rank 1
Karlo asked on 09 Oct 2013, 08:04 AM
I followed this tutorial on creating a VS project from an existing Icenium project. All seems good and it runs on the simulator without problem. However, I'm encountering this weird error when Building it in Cloud

Error 1 Server build failed. Server output: Project "minity.proj" (default targets):
Error: ENOENT, no such file or directory '/tmp/35b467fb704145b19c209f17378d551a/Plugins/com.phonegap.plugins.pushPlugin-1.3.3/plugin.xml'

Done building project "minity.proj" -- FAILED.
. C:\Users\Karlo\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\fhb1fdto.de0\Targets\Build.targets 98 4 minity

I also tried excluding the plugins and it result to another bug

Error 8 Server build failed. Server output: Project "minity.proj" (default targets):
Buildfile: /tmp/c1e50935800c403ba8cb3971acfde3cb/build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 22.0.5
 [checkenv] Installed at /Users/builder/android-sdk-macosx

-setup:
     [echo] Project Name: minity
  [gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 18.0.1
     [echo] Resolving Build Target for minity...
[gettarget] Project Target:   Android 4.3
[gettarget] API level:        18
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /tmp/c1e50935800c403ba8cb3971acfde3cb/bin/res
    [mkdir] Created dir: /tmp/c1e50935800c403ba8cb3971acfde3cb/gen
    [mkdir] Created dir: /tmp/c1e50935800c403ba8cb3971acfde3cb/bin/classes
    [mkdir] Created dir: /tmp/c1e50935800c403ba8cb3971acfde3cb/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for minity...
[dependency] Library dependencies:
[dependency] No Libraries
     [echo] ----------
     [echo] Building Libraries with 'release'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] No AIDL files to compile.
     [echo] ----------
     [echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [aapt] /tmp/c1e50935800c403ba8cb3971acfde3cb/bin/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').


Done building project "minity.proj" -- FAILED.
. C:\Users\Karlo\AppData\Local\Microsoft\VisualStudio\11.0\Extensions\fhb1fdto.de0\Targets\Build.targets 98 4 minity


Has anyone also encoutering this problems? I also read that it could be timeout problem which is a known issue.

Thanks,
Karlo


4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Oct 2013, 03:54 PM
Hi Karlo,

According to the Error, the build fails because it cannot find an app icon (every app should have an icon). Checking your minity project, we see that you've deleted the App_Resources folder where the default app icon and thus the error. App_Resources folder should not be deleted, so if you have done this by mistake, you can create a new Icenium app and get the App_Resources from there and you should be able to build successfully.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Radoslaw
Top achievements
Rank 1
answered on 17 Dec 2013, 08:38 AM

Thank you Steve !

Exactly, I moved App_Resources folder to other subfolder.

0
Corey Mitchell
Top achievements
Rank 2
answered on 23 Jan 2015, 06:43 AM
I'm having the same problem, but it fails on this error with a cordova plugin:

Error 11 Server build failed. Server output: Project "CHN.App.tmp.proj" (default targets):
 iOS Build Tooling revision 2015.1.16.1
 Error: Failed to install 'org.apache.cordova.media-capture':Error: ENOENT, no such file or directory '/tmp/57b2ea1e4afc417392f6233dcd3ca684/Plugins'
    at Object.fs.readdirSync (fs.js:665:18)
    at findLocalPlugin (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/fetch.js:158:24)
    at Object.fetchPlugin (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/fetch.js:81:29)
    at possiblyFetch (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:81:24)
    at installDependency (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:473:16)
    at /Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/cordova-lib/cordova-lib/src/plugman/install.js:339:32
    at _fulfilled (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:760:13)
    at /Users/builder/BpcTooling/Cordova3/3.5.0/node_modules/plugman/node_modules/q/q.js:821:14
ENOENT, no such file or directory '/tmp/57b2ea1e4afc417392f6233dcd3ca684/Plugins'/Users/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:166
      throw Error("exit code: " + code);
            ^
Error: exit code: 1
    at Error (<anonymous>)
    at ChildProcess.<anonymous> (/Users/builder/BpcTooling/Cordova3/node_modules/cordova-build-utils/bin/install-plugins-3.js:166:13)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:810:12)Done building project "CHN.App.tmp.proj" -- FAILED.
. C:\Users\Corey\AppData\Local\Microsoft\VisualStudio\12.0\Extensions\y5vdpd5x.s5f\Targets\Build.targets 185 4 CHN.App
0
Kaloyan
Telerik team
answered on 23 Jan 2015, 01:39 PM
Hi Corey,

Please, refer to this forum thread, where the same inquiry is addressed. As said there, the issue is already fixed and everything should be up and running on your side. Please, let us know if the issue is still present.

Further, we apologize for any disruption in your work. Thank you for the understanding.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
AppBuilder extension for Visual Studio
Asked by
Karlo
Top achievements
Rank 1
Answers by
Steve
Telerik team
Radoslaw
Top achievements
Rank 1
Corey Mitchell
Top achievements
Rank 2
Kaloyan
Telerik team
Share this question
or