wyouflf / xplugin Goto Github PK
View Code? Open in Web Editor NEWAndroid Plugin Framework, https://gitee.com/juefeng_com/xPlugin
License: Other
Android Plugin Framework, https://gitee.com/juefeng_com/xPlugin
License: Other
`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.
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后手动安装加载的示列。
首先谢谢您开源此框架,下面是我在云测的兼容性测试,看看是否能帮助您完善这个框架。
直接编译出demo的app,在testin云测平台标准测试100款机型,有50款机型monkey测试崩溃。
测试结果可通过下面的链接下载。
注意:app中的MainActivity的申请权限获取结果的时候,grantResults[0] 没有判断数组长度,会出现大面积的崩溃,下面的测试结果是已经解决了这个问题再次测试的,看了下日志主要是插件化的问题了,希望作者能够完善这个框架,加油!
我希望在 app 运行中,用户点某一个按钮从服务器将一个插件下载并运行,可以实现这样的场景吗?
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是可以运行的,把他编成插件使用就报上面这个错误,巨佬有办法解决吗?
插件第一次调用DataBindingUtil.setContentView()时, 会初始化androidx.databinding.DataBinderMapperImpl对象,
但是runtime module中也有同样的类,于是就初始化了错误的类(不同的包名的DataBinderMapperImpl类),引发错误.
类似这种冲突有什么解决方案吗
支持module依赖host吗? 在demo中没看到这种用法
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.