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

How to convert an AppBuilder project into a proper Cordova one?

3 Answers 261 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergei
Top achievements
Rank 1
Sergei asked on 26 Mar 2015, 12:35 PM
I know AppBuilder is built on top of Cordova, and per Telerik, one can migrate off AppBuilder and continue building and development using a local Cordova setup. While project structure is somewhat similar, it is not identical. Is there a tutorial on how to convert AppBuilder into a Cordova one?

3 Answers, 1 is accepted

Sort by
0
Trent
Top achievements
Rank 1
answered on 18 Apr 2015, 09:08 AM

Hi Sergei,

I needed this, because I wanted to embed a WatchKit application in my AppBuilder project, but the online build platform didn't support iOS SDK 8.2.

Anyway, I wrote a simple tool that will do exactly this.

https://github.com/tgardner/appbuilder-convert

 

Cheers,

Trent

0
Jim
Top achievements
Rank 1
answered on 09 Apr 2018, 12:48 PM

Trent,

I'm getting this error when trying to run the converter:

Error: spawn cordova ENOENT

spawn called
{ '0': 'cordova',
  '1':
   [ 'create',
     'C:\\GDrive\\VS2013Projects\\Workspaces\\CM_Cordova',
     'com.telerik.CM001A',
     'ChildManager01' ],
  '2': { stdio: 'inherit' } }

Any idea how I can resolve this issue?

0
Garo
Telerik team
answered on 12 Apr 2018, 11:34 AM
Hello Jim,

The AppBuilder Convert plugin is outdated (the last commit is from 2015) and will not work with the current version of AppBuilder. To convert you existing AppBuilder apps to Cordova CLI projects, you should use the export to CLI feature in AppBuilder. For more information, please see the Migration Guide for Cordova Apps.  

Regards,
Garo
Progress Telerik
 
Tags
Apache Cordova
Asked by
Sergei
Top achievements
Rank 1
Answers by
Trent
Top achievements
Rank 1
Jim
Top achievements
Rank 1
Garo
Telerik team
Share this question
or