Commit ec6ee720 authored by Xinghaoxiang's avatar Xinghaoxiang

完成weex插件

parent fa2dc1d4
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#### Weex端调用方法。 #### Weex端调用方法。
- 复制webfile到 platform/android - 复制webfile到 platform/android
- 把sample模块中的 weex包下的文件复制到自己工程下的位置。 - 把sample/src/main/java/com.bril.webfilemodule/weex包下的文件复制到自己工程下的位置。
- setting.gradle 中增加 include ':webfile' - platform/android/setting.gradle 中增加一行代码 include ':webfile'
- android 下的app/build.gradle dependencies方法内添加 compile project(path: ':webfile') - android 下的app/build.gradle dependencies方法内添加 compile project(path: ':webfile')
- 将下面代码放到WXApplication中onCreate方法内 - 将下面代码放到WXApplication中onCreate方法内
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment