mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-15 15:51:04 +08:00
updated readme
This commit is contained in:
parent
95c48f7f6c
commit
5ffdaeb213
21
README.md
21
README.md
@ -13,14 +13,22 @@ Requires
|
|||||||
PhoneGap/Android Developer Tools
|
PhoneGap/Android Developer Tools
|
||||||
---
|
---
|
||||||
|
|
||||||
|
The PhoneGap developer tooling is split between general tooling and project level tooling.
|
||||||
|
|
||||||
Commands
|
Commands
|
||||||
|
|
||||||
./bin/create [path package activity] ... create the ./exmaple app or a phonegap/android project
|
./bin/create [path package activity] ... create the ./exmaple app or a phonegap/android project
|
||||||
./bin/debug [path] ..................... install to first device
|
./bin/bench ............................ generate a bench proj
|
||||||
./bin/emulate .......................... start avd (emulator) named default
|
./bin/autotest ......................... test the cli tools
|
||||||
./bin/log .............................. starts logcat
|
|
||||||
./bin/test ............................. run mobile-spec
|
./bin/test ............................. run mobile-spec
|
||||||
./bin/autotest ......................... run the cli unit tests (requires nodejs)
|
|
||||||
|
Project Commands
|
||||||
|
|
||||||
|
These commands live in a generated PhoneGap/Android project.
|
||||||
|
|
||||||
|
./phonegap/debug [path] ..................... install to first device
|
||||||
|
./phonegap/emulate .......................... start avd (emulator) named default
|
||||||
|
./phonegap/log .............................. starts logcat
|
||||||
|
|
||||||
Running the Example Project
|
Running the Example Project
|
||||||
---
|
---
|
||||||
@ -32,11 +40,12 @@ Start avd (emulator) named `default`:
|
|||||||
Create the exmaple project and build it to the first device:
|
Create the exmaple project and build it to the first device:
|
||||||
|
|
||||||
./bin/create
|
./bin/create
|
||||||
./bin/debug ./example
|
cd example
|
||||||
|
./phonegap/debug
|
||||||
|
|
||||||
Start adb logcat (console.log calls output here):
|
Start adb logcat (console.log calls output here):
|
||||||
|
|
||||||
./bin/log
|
./phonegap/log
|
||||||
|
|
||||||
Running the [phonegap/mobile-spec](http://github.com/phonegap/mobile-spec) tests:
|
Running the [phonegap/mobile-spec](http://github.com/phonegap/mobile-spec) tests:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user