Eros Weex 64位 方案

2023-11-07 09:55:29 阅读:1 编辑

Eros Weex 64位 方案

  1. 使用https://github.com/alibaba/weex/tree/0.26.2/android/sdk/src
  2. 使用0.26.2(因为他用的包名与0.18版本【com.taobao.weex】包名一致)
  3. 使用Hello World来测试是否可用。(可以打开,有64位功能)
  4. 把eros的依赖弄成最小化
  5. 0.26.2包的可以下载下来,嵌入到项目中测试
  6. 文件结构: app->项目 audio --音频插件

erospluginalipay--支付宝插件

ErosPluginAmap--地图插件

erosplugingt--个推插件

erospluginumeng--友盟插件

erospluginwxpay--微信支付插件

GCanvas--gd插件(个推插件)

nexus pluginsimple-自定义插件 sdk-weex框架库--Android基础框架,Android Base抽象层。 weexanalyzer ---分析(debug) wxframework --eros weex 移动解决方案安卓端框架。(https://github.com/bmfe/WeexErosFramework)

project(':wxframework').projectDir = new File(settingsDir,'/wxframework/eros-framework')
project(':sdk').projectDir = new File(settingsDir,'/nexus/sdk')
project(':nexus').projectDir = new File(settingsDir,'/nexus/nexus')
project(':ErosPluginAmap').projectDir = new File(settingsDir,'/ErosPluginAmap/ErosPluginAmap')
project(':erosplugingt').projectDir = new File(settingsDir,'/erosplugingt/erosplugingt')
project(':erospluginalipay').projectDir = new File(settingsDir,'/erospluginalipay/library-alipay')
project(':erospluginwxpay').projectDir = new File(settingsDir,'/erospluginwxpay/library-wxpay')
project(':erospluginumeng').projectDir = new File(settingsDir,'/erospluginumeng/library-wxshare')
project(':pluginsimple').projectDir = new File(settingsDir,'/pluginsimple/pluginsimple')
project(':weexanalyzer').projectDir = new File(settingsDir,'/weexanalyzer')
project(':audio').projectDir = new File(settingsDir,'/audio')

app(build.gradle)

 compile "com.android.support:support-v4:${PROJECT_SUPPORTLIBVERSION}"
    testCompile 'junit:junit:4.12'
    compile project(':wxframework')
    compile project(':ErosPluginAmap')
    compile project(':erospluginumeng')
    compile project(':erospluginwxpay')
    compile project(':erospluginalipay')
    compile project(':erosplugingt')
    compile project(':audio')
    compile project(':pluginsimple')
    implementation 'com.huawei.hms:push:5.1.1.301'
    implementation 'com.pangle.cn:ads-sdk:3.5.0.6'

wxframework(build.gradle)

/**
     * debug调试要用到的
     */
    compile 'com.taobao.android.weex_inspection:protocol:1.1.4.1'
    compile 'com.taobao.android:weex_inspector:0.13.4'
    compile 'com.squareup.okhttp:okhttp-ws:2.3.0'
    compile 'com.squareup.okhttp3:okhttp:3.8.0'
    compile 'com.lzy.widget:imagepicker:0.6.1'
    compile 'com.journeyapps:zxing-android-embedded:3.4.0'
    compile 'com.github.chrisbanes.photoview:library:1.2.4'
    compile 'com.android.support:multidex:1.0.1'
    //bs patch
    compile 'me.ele:bspatch:1.0.6'
    //weex analyzer
   // compile 'com.taobao.android:weex_analyzer:0.1.0.8'
    compile project(':weexanalyzer')
    //Bindigx
    compile 'com.alibaba.android:bindingx-core:1.0.1'
    compile 'com.alibaba.android:bindingx_weex_plugin:1.0.2'
    compile 'org.weex.plugin:plugin-loader:1.0.0'
    compile ('com.github.niorgai:StatusBarCompat:2.1.4', {
        exclude group: 'com.android.support'
    })
    implementation 'com.teprinciple:updateapputils:1.5.2'

    implementation 'com.github.yellowcath:VideoProcessor:2.4.0'
    compile project(':nexus')
    implementation 'com.huawei.hms:push:5.1.1.301'
    implementation 'com.pangle.cn:ads-sdk:3.5.0.6'

https://weexapp.com/zh/guide/develop/integrate-to-android-app.html#_1-%E8%AE%BE%E7%BD%AEgradle%E4%BE%9D%E8%B5%96 https://github.com/alibaba/weex/blob/0.26.0/android/playground/app/build.gradle