AndroidComponentPlugin icon indicating copy to clipboard operation
AndroidComponentPlugin copied to clipboard

Android上简单实现四大组件的插件化,供学习使用

Results 12 AndroidComponentPlugin issues
Sort by recently updated
recently updated
newest added

我无法像DroidPlugin一样,直接打开一个资源文件中的app,

可以修改aapt,让aapt将资源地址修改为非0x00,0x01,0x07之外的值,我这边尝试过携程的修改方案,可行!

业务中 需要实现一个插件列表,点击不同的Item 启动不同的插件。 这个支持么? 有混淆的问题?

你好!我在使用你的库集成到我的项目时报错View class com.google.android.material.button.MaterialButton is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant). 这个是什么原因呢,在你的项目中没有报错,我也看了是反射修改了主题,但是我集成后就报这个错误,我的项目是33的版本的,1+8pro手机

java.lang.RuntimeException: Unable to instantiate activity null: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.ComponentName.getClassName()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3647) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3904) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at...

I wanted to check how localization would work with plugins, but ran into an issue. What I have is a `LocaleHelper` class, ``` object LocaleHelper { @JvmStatic fun onAttach(context: Context):...

As soon as I add material components dependency and set up a material widget (eg: Material button) inside the plugin app, the app crashes with the exception: ``` 2022-09-25 15:15:29.319...

我在使用时发现插件的assets资源加载的是宿主的而不是插件本身的assets资源