lucky-chen commented on issue #1596: android使用源码导入工程失败,界面显示 reader error -1001 
degradeToH5|createInstance fail|wx_create_instance_error 
isJSFrameworkInit==false reInitCount == 1
URL: https://github.com/apache/incubator-weex/issues/1596#issuecomment-441946145
 
 
   @fantasticcmm @ttarigo 尝试修改下gradle中的配置路径,sdk需要从weex的根目录拷贝so和js文件。
   直接import,配置相对路径文件各种找不到
   - 第一步,声明weex的根目录 `String weexRootPath = '/Users/xxx/xxx/incubator-weex"`
   - 第二步,修改相对路径
      - `'../../pre-build'`改为`weexRootPath+'/pre-build'`
      - 
`'../../weex_core/CMakeLists'`改为`weexRootPath+'/weex_core/CMakeLists.txt'`
      - `dir:"../../weex_core"`改为`dir:weexRootPath+"/weex_core"`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to