升级 Weex Android SDK 版本

更新日期: 2017-10-31 阅读次数: 14591 分类: weex

sdk 版本列表

目前最新的版本为 0.16.2

https://github.com/apache/incubator-weex/releases

sdk 各版本的 release notes

https://weex-project.io/cn/releasenote.html

assets/main.js

scripts/build_from_source.sh
Showing the top four matches Last indexed on 26 Sep
32	sleep 2
33	
34	cp packages/weex-js-framework/index.min.js ios_sdk/WeexSDK/Resources/main.js
35	cp packages/weex-js-framework/index.min.js android_sdk/assets/main.js
36	
37	gradle wrapper --gradle-version 3.3
38	echo 'include ":android_sdk"'>settings.gradle

程序包android.support.annotation.RestrictTo不存在

升级 supportLibVersion, android/build.gradle

ext {
        compileSdkVersion=25
        buildToolsVersion="26.0.0"
        minSdkVersion=14
        appMinSdkVersion=15
        targetSdkVersion=25
        supportLibVersion="25.3.1"
        fastjsonLibVersion="1.1.46.android"
    }

No Activity found

E/Navigator: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW cat=[com.taobao.android.intent.category.WEEX] dat=file://assets/dist/login.js (has extras) }
                                                                               at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1781)

关于作者 🌱

我是来自山东烟台的一名开发者,有敢兴趣的话题,或者软件开发需求,欢迎加微信 zhongwei 聊聊, 查看更多联系方式