-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用源码中TestPlugin加载金山的wps.apk出现类型转换错误。 #27
Comments
哥们,能请教一下怎么集成的吗,我怎么安装启动插件一直报插件的main activity没注册.我是按照文档配置的。而且我用测试demo也会报这个错误。 |
运行那个TestPlugin都会报错 |
在公司用demo试了没问题,在家用一样的工程却报找不到类,这类明明是有的,怎么会没找到呢?肯定是配置出问题了。 |
1:安装TestPlugin 加载其它apk 能正常运行。
2:单独安装wps.apk 能正常运行,并且可以打开ppt。
3:卸载wps.apk
4:通过插件加载wps.apk能正常加载,启动以后wps欢迎界面也出来了,显示wps主界面的时候出现如下错误。
09-17 05:22:47.272 238-567/? W/genymotion_audio﹕ out_write() limiting sleep time 46802 to 39909
09-17 05:22:47.288 12305-12305/com.example.TestPlugin:PluginP01 W/Bundle﹕ Key android.intent.extra.TEXT expected ArrayList but value was a java.lang.String. The default value was returned.
09-17 05:22:47.288 12305-12305/com.example.TestPlugin:PluginP01 W/Bundle﹕ Attempt to cast generated internal exception:
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ArrayList
at android.os.Bundle.getCharSequenceArrayList(Bundle.java:1367)
at android.content.Intent.getCharSequenceArrayListExtra(Intent.java:4736)
at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7252)
at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7219)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
at android.app.Activity.startActivityForResult(Activity.java:3424)
at android.app.Activity.startActivityForResult(Activity.java:3385)
at android.app.Activity.startActivity(Activity.java:3627)
at android.app.Activity.startActivity(Activity.java:3595)
at ckg.a(Unknown Source)
at cn.wps.moffice.crash.CrashActivity.a(Unknown Source)
at cn.wps.moffice.crash.CrashActivity$1.go(Unknown Source)
at ckj$2.onClick(Unknown Source)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
The text was updated successfully, but these errors were encountered: