升级 Weex Android SDK 版本

更新日期: 2017-10-31 阅读次数: 11236 分类: 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)

爱评论不评论