-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Eric Wang <[email protected]>
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# How to build | ||
|
||
Be careful with the versions of the build tools (see below) you installed on your box, usually the latest `ionic` and `cordova` might have unexpected bugs... | ||
|
||
|
||
|Tool |Version|Install| | ||
|-------|-------|-------| | ||
|nodejs |latest |check this [guide](https://skygragon.github.io/leetcode-cli/install) for help| | ||
|ionic |3.19.1 |npm install -g [email protected]| | ||
|cordova|7.1.0 |npm install -g [email protected]| | ||
|
||
After installed, check followings before going forward. | ||
|
||
``` | ||
$ node -v | ||
$ npm -v | ||
$ ioinc info | ||
``` | ||
|
||
## Android | ||
|
||
|Tool |Version|Install| | ||
|-------|-------|-------| | ||
|Android SDK Tools|24.4.1|[Download](http://www.androiddevtools.cn/)| | ||
|Android SDK|4.0 (android-14)|Use `sdkmanager` in Android SDK tools| | ||
|
||
Build the apk: | ||
|
||
``` | ||
$ git clone http://github.com/skygragon/shlib | ||
$ cd shlib | ||
$ ionic cordova platform add android | ||
$ ionic cordova build android | ||
``` | ||
|
||
## IOS | ||
|
||
TBD |