How to install cordova in existing html project? - html

I have an html project that need to convert into xcode project. I am tried of creating new xcode project by using cordova successfully done but i want install cordova in a existing html project to create xcode porject.

Related

Not install ngx-mqtt in angular 6?

Whenever I want to install ngx-mqtt in my angular application it not installed. There was an error message:
enter image description here
I think you are in node project and tried to install in node project. Make sure you are in angular project.
I have create a new angular project and tried to install it. And it installed perfectly.

ionic cordova plugin add ERROR

When run this command:
ionic cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="google-api-key" --variable API_KEY_FOR_IOS="google-api-key"
The ERROR occurs:
Installing "cordova-plugin-googlemaps" for android
Failed to install 'cordova-plugin-googlemaps': Error: ENOENT: no such
file or directory, open
'/Users/xxx/Desktop/xxx/platforms/android/AndroidManifest.xml'
i have sometimes the same problem, have open sublime or something like notepad?
if you have opened some notepad, check if exists the android directory and click inside of him(sometimes dont remove this directory with the notepad opened)
if dont exists the directory, the problem is easy you dont have the directory. You must to do these commands inside ionic proyect.
For ionic:
ionic platflorm remove android
ionic platform add android
For cordova cli:
ionic cordova platflorm remove android
ionic cordova platform add android
For check ionic version inside proyect:
ionic info
Greetings dherediat
As per Cordova Android CLI version 7.0.0 release note you need to change your AndroidManifest.xml path as mention below
This may affect plugin.xml files and config.xml files that use
edit-config, and make it so plugins that use edit-config will not be
able to be compatible with both Android 6.x and Android 7.x. To fix
this issue, please do the following in your XML files:
<!-- An existing config.xml -->
<edit-config file="AndroidManifest.xml" target="/manifest/application" mode="merge">
<!-- needs to change to -->
<edit-config file="app/src/main/AndroidManifest.xml" target="/manifest/application" mode="merge">
Check this official release note for Cordova Android CLI 7.0.0 Release Note.
Hope this will helps to solve your problem

Cordova build error :transformclasseswithdexfordebug

When I try build app I get this error what I do?
I tried re-install node.js and cordova but it didn't work.
Why not use Ionic to build your app via Cloud.
First, run
ionic io init
Create account on Ionic website, put in the details on command live as asked.
Run the below command.
ionic package build android
No need to install anything, files will be built online.

Creating Cocos2dxGame for iOS using eclipse on Windows Machine

I am using windows machine and trying to make a game for iOS in cocos2dx. The editor I am using is Eclipse. Version of cocos2dx is latest.
I have followed many tutorials but not a single tutorial guides me how to code in eclipse for iOS using cocos2dx.
I have seen Classes folder which contains Appdelegate.h and cpp along with helloworld.h and cpp.
When I create a new android project using existing project, i am unable to find classes folder.
I need help on how to get started.
Thank you

Phonegap cordova in xcode 4

I have installed phonegap onto my mac however when i click to create a new project there is no option for me to select a phonegap application in xcode.
Why is phonegap not displaying in xcode?
You create a "PhoneGap Application" in XCode by loading in the template that comes with the PhoneGap download. See the PhoneGap Getting Started Guide for iOS (Link Here). You basically need to run a terminal command to create a default XCode project, and then open it up in XCode.