{"action":"created","issue":{"url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/27","labels_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/27/comments","events_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/27/events","html_url":"https://github.com/Qihoo360/DroidPlugin/issues/27","id":107121862,"number":27,"title":"用源码中TestPlugin加载金山的wps.apk出现类型转换错误。","user":{"login":"scj1984","id":14328558,"avatar_url":"https://avatars.githubusercontent.com/u/14328558?v=3","gravatar_id":"","url":"https://api.github.com/users/scj1984","html_url":"https://github.com/scj1984","followers_url":"https://api.github.com/users/scj1984/followers","following_url":"https://api.github.com/users/scj1984/following{/other_user}","gists_url":"https://api.github.com/users/scj1984/gists{/gist_id}","starred_url":"https://api.github.com/users/scj1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scj1984/subscriptions","organizations_url":"https://api.github.com/users/scj1984/orgs","repos_url":"https://api.github.com/users/scj1984/repos","events_url":"https://api.github.com/users/scj1984/events{/privacy}","received_events_url":"https://api.github.com/users/scj1984/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T02:45:47Z","updated_at":"2015-09-22T01:27:46Z","closed_at":null,"body":"1：安装TestPlugin 加载其它apk 能正常运行。\r\n2：单独安装wps.apk 能正常运行，并且可以打开ppt。\r\n3：卸载wps.apk\r\n4：通过插件加载wps.apk能正常加载，启动以后wps欢迎界面也出来了，显示wps主界面的时候出现如下错误。\r\n\r\n09-17 05:22:47.272      238-567/? W/genymotion_audio﹕ out_write() limiting sleep time 46802 to 39909\r\n09-17 05:22:47.288  12305-12305/com.example.TestPlugin:PluginP01 W/Bundle﹕ Key android.intent.extra.TEXT expected ArrayList<CharSequence> but value was a java.lang.String.  The default value <null> was returned.\r\n09-17 05:22:47.288  12305-12305/com.example.TestPlugin:PluginP01 W/Bundle﹕ Attempt to cast generated internal exception:\r\n    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ArrayList\r\n            at android.os.Bundle.getCharSequenceArrayList(Bundle.java:1367)\r\n            at android.content.Intent.getCharSequenceArrayListExtra(Intent.java:4736)\r\n            at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7252)\r\n            at android.content.Intent.migrateExtraStreamToClipData(Intent.java:7219)\r\n            at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)\r\n            at android.app.Activity.startActivityForResult(Activity.java:3424)\r\n            at android.app.Activity.startActivityForResult(Activity.java:3385)\r\n            at android.app.Activity.startActivity(Activity.java:3627)\r\n            at android.app.Activity.startActivity(Activity.java:3595)\r\n            at ckg.a(Unknown Source)\r\n            at cn.wps.moffice.crash.CrashActivity.a(Unknown Source)\r\n            at cn.wps.moffice.crash.CrashActivity$1.go(Unknown Source)\r\n            at ckj$2.onClick(Unknown Source)\r\n            at android.view.View.performClick(View.java:4438)\r\n            at android.view.View$PerformClick.run(View.java:18422)\r\n            at android.os.Handler.handleCallback(Handler.java:733)\r\n            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n            at android.os.Looper.loop(Looper.java:136)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5001)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)\r\n            at dalvik.system.NativeStart.main(Native Method)"},"comment":{"url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/comments/142155490","html_url":"https://github.com/Qihoo360/DroidPlugin/issues/27#issuecomment-142155490","issue_url":"https://api.github.com/repos/Qihoo360/DroidPlugin/issues/27","id":142155490,"user":{"login":"liuhy1989121","id":1613983,"avatar_url":"https://avatars.githubusercontent.com/u/1613983?v=3","gravatar_id":"","url":"https://api.github.com/users/liuhy1989121","html_url":"https://github.com/liuhy1989121","followers_url":"https://api.github.com/users/liuhy1989121/followers","following_url":"https://api.github.com/users/liuhy1989121/following{/other_user}","gists_url":"https://api.github.com/users/liuhy1989121/gists{/gist_id}","starred_url":"https://api.github.com/users/liuhy1989121/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuhy1989121/subscriptions","organizations_url":"https://api.github.com/users/liuhy1989121/orgs","repos_url":"https://api.github.com/users/liuhy1989121/repos","events_url":"https://api.github.com/users/liuhy1989121/events{/privacy}","received_events_url":"https://api.github.com/users/liuhy1989121/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T01:27:46Z","updated_at":"2015-09-22T01:27:46Z","body":" 哥们，能请教一下怎么集成的吗，我怎么安装启动插件一直报插件的main activity没注册.我是按照文档配置的。而且我用测试demo也会报这个错误。"}}