gushiyong
gushiyong
我们在插件里面写了一个PluginTakeService,目的是插件下载完启动PluginTakeService来唤醒插件进程,现在遇到了一个问题,插件在下载后第一次启动会出现【连接Service超时】,清除缓存在重新下载安装就正常,大佬帮看一下原因 public final void waitServiceConnected(int timeout, TimeUnit timeUnit) throws TimeoutException { if (Looper.myLooper() == Looper.getMainLooper()) { throw new RuntimeException("waitServiceConnected 不能在主线程中调用"); } try { if (mLogger.isInfoEnabled()) { mLogger.info("waiting service connect connectCountDownLatch:"...
FATAL EXCEPTION: main Process: com.seuic.kysy:takedeliveryplugin, PID: 7107 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.seuic.kysy/com.example.my_runtime.TakeDeliveryPluginSingleTop1ProxyActivity}: java.lang.RuntimeException: java.lang.ClassCastException: com.kye.pad.takeDeliverybusiness.waybillform.WayBillFormActivity cannot be cast to com.tencent.shadow.core.runtime.PluginActivity at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2724) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2789) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1527) at...