DroidPlugin
DroidPlugin copied to clipboard
A plugin framework on android,Run any third-party apk without installation, modification or repackage
宿主程序引入droidplugin方式: compile(name: 'DroidPlugin-release', ext: 'aar') 或者把droidplugin 当做library module引入,即使宿主程序中不调用任何droidplugin的代码,也会导致宿主程序白屏,不引入droidplugin宿主程序正常
``08-18 15:27:32.008 30309-30309/com.sfwl.sfwlcore:PluginP03 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.sfwl.sfwlcore:PluginP03, PID: 30309 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sfwl.plugs.signgoods/cn.finalteam.galleryfinal.ui.PhotoEditActivity}: java.lang.SecurityException: msg[Uid 10169 does not have permission to uri 0 @ content://com.sfwl.plugs.signgoods.fileprovider/DCIM/DCIM/GalleryFinal/IMG20170818152731.jpg],args[[android.app.ActivityThread$ApplicationThread@958438a, com.sfwl.sfwlcore,...
插件中需要使用 AccessibilityService 在插件的manifest中有注册 但是插件启动后,辅助功能列表,没有对应开启的位置
如题,升级配置如下: gradle-wrapper.properties: distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip build.gradle: dependencies { classpath 'com.android.tools.build:gradle:2.3.0' } 原来使用配置是wrapper 2.10 build.gradle: 2.0 ,一切正常,升级后,能安装,但是运行,StrartActiviti的时候,报错: Caused by: java.lang.RuntimeException: 没有可用的进程了 W/System.err: at com.morgoo.droidplugin.am.MyActivityManagerService.throwException(MyActivityManagerService.java:228) 03-27 19:19:05.925 15967-15967/com.microvideo.mivi W/System.err: at com.morgoo.droidplugin.am.MyActivityManagerService.selectStubActivityInfo(MyActivityManagerService.java:379) 03-27 19:19:05.925 15967-15967/com.microvideo.mivi...
如果某个app是使用Instant Run的方式来启动,那么在onCreateApplication的时候会发生class not found的error。根据Instant Run的启动方式,它会去构建BootstrapApplication 其中会使用 com.android.tools.fd.runtime.Paths; com.android.tools.fd.runtime.AppInfo; 而在编译的过程中, public class AppInfo { public static String applicationId = "XXXXXX"; public static String applicationClass = "XXXXXX"; } public final class Paths...
08-03 17:53:00.386 10261-10359/com.nssoft.jplayer:PluginP08 E/AndroidRuntime: FATAL EXCEPTION: umengsocial Process: com.nssoft.jplayer:PluginP08, PID: 10261 java.lang.NullPointerException: Attempt to get length of null array at com.umeng.socialize.net.stats.cache.c.e(StatsLogCache.java:361) at com.umeng.socialize.net.stats.cache.c.a(StatsLogCache.java:286) at com.umeng.socialize.net.stats.cache.b$2.run(StatsCacheApis.java:70) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at...
不支持AlarmManager 做定时服务 楼主这个怎么破
直接运行官方demo可以运行自己写插件apk,但是把官方demo也当插件安装后就没法运行自己写的插件了,这是log `FATAL EXCEPTION: main Process: com.example.TestPlugin, PID: 3567 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hiquanta.logisticsapp/com.hiquanta.logisticsapp.ui.LoginActivity}: java.lang.ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) at...
07-27 09:31:50.362 698 777 W AppOps : Bad call: specified package com.tencent.mm under uid 10065 but it is really -1 07-27 09:31:50.362 698 777 W AppOps : java.lang.RuntimeException: here 07-27...
可以监测到Plugin App退出行为吗