Giter Site home page Giter Site logo

xplugin's People

Contributors

wyouflf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xplugin's Issues

无法正常编译

`AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{}],"original":"AAPT: ../runtime/org.xplugin.demo.module2.id.txt: error: failed reading stable ID file.\n\n ","tool":"AAPT"}

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':module2:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
AAPT: ../runtime/org.xplugin.demo.module2.id.txt: error: failed reading stable ID file.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 11s`
AS中 Build-Build Apk失败。

另外,Demo中没有插件Apk 手动放到存储目录下,按button后手动安装加载的示列。

云测兼容性不佳,50%的崩溃率

首先谢谢您开源此框架,下面是我在云测的兼容性测试,看看是否能帮助您完善这个框架。

直接编译出demo的app,在testin云测平台标准测试100款机型,有50款机型monkey测试崩溃。

测试结果可通过下面的链接下载。

注意:app中的MainActivity的申请权限获取结果的时候,grantResults[0] 没有判断数组长度,会出现大面积的崩溃,下面的测试结果是已经解决了这个问题再次测试的,看了下日志主要是插件化的问题了,希望作者能够完善这个框架,加油!

https://testin-files-low.oss-cn-hangzhou.aliyuncs.com/compatibility/other/2020/11/9/5181487/1665555/d87943738ac84764b24dfcdddc6d7f4d.xls?filename=xPlugin(1.0)%E5%85%BC%E5%AE%B9%E6%B5%8B%E8%AF%95%E9%AA%8C%E6%94%B6%E6%8A%A5%E5%91%8A.xls

怎样从 sdcard 安装插件

我希望在 app 运行中,用户点某一个按钮从服务器将一个插件下载并运行,可以实现这样的场景吗?

加载插件中的 so文件 崩溃

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/org.xplugin.demo.app/app_xpl_modules/org.xplugin.demo.module2/1/libares.so" is 32-bit instead of 64-bit
        at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
        at java.lang.System.loadLibrary(System.java:1657)

但是我单独安装这个插件APK是可以运行的,把他编成插件使用就报上面这个错误,巨佬有办法解决吗?

runtime module和插件module中都使用了Databinding, 会产生冲突

插件第一次调用DataBindingUtil.setContentView()时, 会初始化androidx.databinding.DataBinderMapperImpl对象,
但是runtime module中也有同样的类,于是就初始化了错误的类(不同的包名的DataBinderMapperImpl类),引发错误.

类似这种冲突有什么解决方案吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.