当前位置 : 主页 > 手机开发 > 其它 >

Hybrid Apps:Hybrid Debuging

来源:互联网 收集:自由互联 发布时间:2021-06-12
Today,I wanna write a english blog.Sounds crazy. How to debug a hybrid app.It is abig deal.But I will tell you how to do it. First,I introduce a hybrid frameworkfor you. ionic Ionic is the beautiful, open source front-end SDK for developing


Today,I wanna write a english blog.Sounds crazy.


How to debug a hybrid app.It is a big deal.But I will tell you how to do it.


First,I introduce a hybrid framework for you.

ionic

Ionic is the beautiful, open source front-end SDK for developing hybrid mobile apps with web technologies.

First, install  Node.js . Then, install the latest Cordova and Ionic  command-line tools
$ sudo npm install -g cordova ionic
Second, Create an Ionic project using one of our ready-made app templates, or a blank one to start fresh.
$
ionic start firstApp sidemenu

Finally,

Use the Ionic tool to build, test, and run your apps (or use Cordova directly). Make sure to substitute ios with android to build for Android.

$ cd myApp
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios 
Then, try  Ionic View  to share your apps with testers and clients, or to easily test on new devices.
$ ionic upload
Ionic View makes it easy to share your  Ionic  and Cordova apps with clients and testers around the world, all without ever going through the App Store.

introduction:https://itunes.apple.com/us/app/ionic-view/id849930087?ls=1&mt=8

Second,I introduce some powerful tools for you. 1.Apache Ripple™

Apache Ripple™ is a web based mobile environment simulator designed to enable rapid development of mobile web applications for various web application frameworks, such as Apache Cordova™ and BlackBerry® WebWorks™. It can be paired with current web based mobile development workflows to decrease time spent developing and testing on real devices and/or simulators.

It is free software, licensed under the Apache License, Version 2.0.

Installing Ripple from npm

sudo npm install -g ripple-emulator

then
ripple emulate

Also,you can be browsed via the web here. http://localhost:4400/#/root


2.GapDebug, another mobile debugging tool
you can be browsed via the web here.
https://www.genuitec.com/products/gapdebug/

3. The PhoneGap Developer App you can be browsed via the web here.
http://app.phonegap.com/


OK,that is all.Next time,I will show you more powerful tools.
网友评论