Update README.md

This commit is contained in:
MBuchalik
2016-05-05 14:18:13 +02:00
parent 80205db66e
commit 47d3b36463
+19 -1
View File
@@ -1 +1,19 @@
# build-architecture
# cordova-build-architecture
This plugin allows you to build your application for arm (or x86) only.
# Why?
Plugins like cordova-plugin-crosswalk-webview (https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview) create two or more .apk files with one build. On Phonegap Build, you can only download one file which leads to problems if you want to get access to the other .apks.
Maybe you simply need to build for one architecture because of other reasons? This plugin might help you :-)
# Usage
Include this plugin in your config.xml:
```
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git" source="git" />
```
By default, it will try to produce arm builds only. If you want to target x86, add the following preference:
```
<preference name="buildArchitecture" value="x86" />
```
Please note that this plugin is experimental.