Coder Social home page Coder Social logo

cordova-app's Introduction

cordova-app

Development Environment

  • macOS Mojave
  • XCode 10.x
  • npm

Prerequite

  • sudo npm install -g cordova

Install pre-requisites for building

Ref. https://cordova.apache.org/docs/en/latest/guide/cli/#install-pre-requisites-for-building https://medium.com/chequer/cordova-환경-구성-git-ignore-설정-61d057bd1b59

cordova prepare

cordova requirements

cordova emulate ios

cordova emulate ios --buildFlag="-UseModernBuildSystem=0"

cordova emulate android

Ref. https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#requirements-and-support

For emulating android, you should install Android Studio. Then, open SDK Manager to install SDK Platform, AVD Manager to install avd.

In my case, I used Pixel 2 API 27 for Android Virtual Device.

cordova emulate android  # emulate android virtual device
cordova emulate          # refreshes the emulator image to display the lastest application.

cordova serve

Ref. https://cordova.apache.org/docs/en/latest/reference/cordova-cli/#cordova-serve-command

Run a local web server for www/ assets using specified port for default of 8000. Access projects at: http://HOST_IP:PORT/PLATFORM/www

  • I think this is the easiest way to test my app via corodva.
cordova serve [port]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.