I have some simple question becuse phonegap docs is so hard to understand, also some tutorial for first basic steps are welcome.
Everything what I need to install to use phonegap?
Where is the folder of instaled phonegap?
How to start instalation (CMD, node.js) ?
I type in CMD:
C:\> npm install -g phonegap
and I get:
What is the next step? Please help?
Its not an error its just a warning.
It means its working, next type in the following in your command prompt
phonegap create myapp com.cordovaprogramming.hello Hello
This will create a myapp folder writes the application ID as com.cordovaprogramming.hello to the application’s configuration file and allows you to have an Hello as an application name.
For more information check http://www.kodkillerz.com/using-cordova-command-line-interface/
That is for cordova, just replace cordova with phonegap and all will work fine.
Thanks
you can refer the below article for installing Phonegap/Cordova.
http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/
http://coenraets.org/blog/cordova-phonegap-3-tutorial/
http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html
http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html
http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
Phonegap Cordova installation Windows
Related
I use a mouthstick to opeate by android tablet(since i am paralysed and cant use a laptop)..
I know front end development and wanted to learn Vuejs2.
So i need to use the CLI that Vue js offers i.e vue-cli
So for the command line interface i downloaded the termux app from play store which is a terminal for Android and file with many Linux packages
Using this i installed nodejs and vue-cli
But for the next step to proceed i ha Ave to execute the command
npm install
And then
npm run dev
The vue-cli is getting installed without any errors but running the npm run dev is giving many errors in the terminal and the app is not being started
What shall i do?
Tried same with learning angular 2 but same issue
Any help and suggestions are appreciated
I ran into a similar problem. It turned out that I had created my project in a directory out side the "storage" directory created by Termux. I don't know the details as to why, but apparently that was the problem. I re-created the vue project in a directory underneath the "storage" directory and those problems resolved. I still haven't gotten the project to run, though. Now I'm getting a single error about an unhandled promise rejection. Still researching that one...
I have an ionic project and I want to test it on my device.
I've seen some tutorial and I id like this :
ionic platform add android
and then
ionic run android
but it opens the emulator and I cannot see my application.
My main goal is to export it on my phone,in order to test it.
Can you help me?
Thank you!
Run ionic run android --device
Note: Be sure that USB-Debugging is enabled on your device in
developer options.
Also to make sure your device is authorised you can run:
adb devices
I am trying to build or run an Ionic Cordova App. But it always builds a default app with playlists.
OS is Windows 10
I do the following from my command prompt:
c:\users\martijn\documents\ionic start testapp blank
c:\users\martijn\documents\testapp\ionic run android
now it is building a different app then in my app directory. When I do ionic serve I see the right app in my browser. Can't figure out why running or building gives me a different app, I think it is a default example app.
Can somebody help?
See link here:
https://github.com/driftyco/ionic-cli/issues/1283
Appears you may have to delete the the last apk file from platforms\android\build\outputs\apk
I got stuck when trying to create my first PhoneGap application. I entered
cordova create hello com.example.hello HelloWorld in the command line and got this text:
Downloading cordova library for www...
I waited some minutes, but libraries didn't load. I guess it's a common problem for beginners.
Please, help me solve this problem and let me go further. Thanks a lot. :)
In the PhoneGap documentation, they state that it may take a while to create the app.
"It may take some time for the command to complete, so be patient. Running the command with the -d option displays information about its progress."
Try this:
$ cordova create hello com.example.hello HelloWorld -d
You can see the progress.
I started PhoneGap today only. I have experience with native code but not with HTML5 stuff. I am comfortable with GUI so CLI is new to me.
So I am trying to build app in android. But it uploads data to remote site & as its my second app, Its says "Private app limit reached".
Is there any way to build file locally?? Like with no internet connection. Screenshot attached for further refrence. Thankyou in advance
If you look at the Android platform guide section of the PhoneGap documentation you'll get instructions for setting up your SDK locally.
Pay attention so that you got your PATH setup correctly, a quick way to verify that on windows is to type echo %PATH% in the command prompt. If you already had your command prompt open as you set PATH it'll not be reflected so you've to close cmd and open it again.
After the SDK is setup successfully and you got your PATH verified you should be able to do the following to run it:
phonegap install android
phonegap local build android
phonegap local run android --emulator