Skip to content

woosungchu/cordova-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Practice

Command

Create App and build

npm install -g cordova
cordova create hello com.example.hello Helloworld
cd hello
cordova platform add android --save
cordova platform ls
cordova build android

Total time: 2 mins 37.15 secs
Built the following apk(s):
  C:/cordova-practice/hello/platforms/android/build/outputs/apk/android-debug.apk

live-reload

  • if you use real device, you need to 'port forwarding'. use chrome 'chrome//inspect/#devices'
npm install
cordova prepare
cordova run -- --live-reload

References

Requirements

Trouble Shooting