Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
f162332e
Commit
f162332e
authored
Aug 17, 2017
by
宋帮潮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Creates picture/android_apk1.png
Auto commit by GitBook Editor
parent
b34d801e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
android.md
ionic/android.md
+11
-0
android_apk.png
picture/android_apk.png
+0
-0
android_apk1.png
picture/android_apk1.png
+0
-0
No files found.
ionic/android.md
View file @
f162332e
...
...
@@ -2,4 +2,15 @@
---
### I. Android打包步骤
*
1)进入工程目录,更新代码,修改baseConfig参数,执行gulp build-dev命令
![](
/picture/android_apk1.png
)
*
2)为了更新代码和插件,重新添加android平台,执行下列命令:
*
1.cordova platform rm android //删除安卓平台
*
2.cordova platform add android //添加安卓平台
![](
/picture/android_apk.png
)
*
3)开始执行android打包命令(开发调试时只需要打debug包)
*
cordova build android //执行打包apk
picture/android_apk.png
0 → 100644
View file @
f162332e
7.66 KB
picture/android_apk1.png
0 → 100644
View file @
f162332e
9.42 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment