{"action":"created","issue":{"url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/51","repository_url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk","labels_url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/51/comments","events_url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/51/events","html_url":"https://github.com/GetuiLaboratory/cordova-plugin-getuisdk/issues/51","id":264136213,"number":51,"title":"编译不通过，报错","user":{"login":"Jam1zhu","id":21252750,"avatar_url":"https://avatars1.githubusercontent.com/u/21252750?v=4","gravatar_id":"","url":"https://api.github.com/users/Jam1zhu","html_url":"https://github.com/Jam1zhu","followers_url":"https://api.github.com/users/Jam1zhu/followers","following_url":"https://api.github.com/users/Jam1zhu/following{/other_user}","gists_url":"https://api.github.com/users/Jam1zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Jam1zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jam1zhu/subscriptions","organizations_url":"https://api.github.com/users/Jam1zhu/orgs","repos_url":"https://api.github.com/users/Jam1zhu/repos","events_url":"https://api.github.com/users/Jam1zhu/events{/privacy}","received_events_url":"https://api.github.com/users/Jam1zhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-10T08:14:09Z","updated_at":"2017-11-01T01:53:31Z","closed_at":null,"author_association":"NONE","body":"编译报错，不会原生，求大神指点\r\njdk:1.8\r\ncorodva:7.01\r\n\r\n```java\r\n:transformClassesWithDexForDebug\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithDexForDebug'.\r\n FAILED\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 7.088 secs\r\n> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\nError: /Users/ZLY/project/hato/app/platforms/android/gradlew: Command failed with exit code 1 Error output:\r\n注: 某些输入文件使用或覆盖了已过时的 API。\r\n注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。\r\n注: 某些输入文件使用或覆盖了已过时的 API。\r\n注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。\r\n注: 某些输入文件使用或覆盖了已过时的 API。\r\n注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。\r\n注: /Users/ZLY/project/hato/app/platforms/android/src/cn/jiguang/cordova/push/JPushPlugin.java使用了未经检查或不安全的操作。\r\n注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':transformClassesWithDexForDebug'.\r\n> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n```"},"comment":{"url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/comments/340955923","html_url":"https://github.com/GetuiLaboratory/cordova-plugin-getuisdk/issues/51#issuecomment-340955923","issue_url":"https://api.github.com/repos/GetuiLaboratory/cordova-plugin-getuisdk/issues/51","id":340955923,"user":{"login":"GetuiLab","id":14173288,"avatar_url":"https://avatars0.githubusercontent.com/u/14173288?v=4","gravatar_id":"","url":"https://api.github.com/users/GetuiLab","html_url":"https://github.com/GetuiLab","followers_url":"https://api.github.com/users/GetuiLab/followers","following_url":"https://api.github.com/users/GetuiLab/following{/other_user}","gists_url":"https://api.github.com/users/GetuiLab/gists{/gist_id}","starred_url":"https://api.github.com/users/GetuiLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GetuiLab/subscriptions","organizations_url":"https://api.github.com/users/GetuiLab/orgs","repos_url":"https://api.github.com/users/GetuiLab/repos","events_url":"https://api.github.com/users/GetuiLab/events{/privacy}","received_events_url":"https://api.github.com/users/GetuiLab/received_events","type":"User","site_admin":false},"created_at":"2017-11-01T01:53:31Z","updated_at":"2017-11-01T01:53:31Z","author_association":"NONE","body":"hi，抱歉，个推这边不知道是否能提供什么帮助。\r\n目前是github这边对应个推有什么特殊处理还是？\r\n\r\n\r\n\r\nsupport@getui.com\r\n \r\n发件人： pfdgithub\r\n发送时间： 2017-10-11 09:34\r\n收件人： GetuiLaboratory/cordova-plugin-getuisdk\r\n抄送： GetuiLab; Mention\r\n主题： Re: [GetuiLaboratory/cordova-plugin-getuisdk] 编译不通过，报错 (#51)\r\n我的决绝方案如下，可以参考一下：\r\n安装个推插件后，编译时出现错误：\r\nExecution failed for task ':transformClassesWithDexForDebug'\ncom.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;\n\r\n需要删除 plugins/cordova-plugin-getuisdk/plugin.xml 中的 android-support-v4.jar 引用。\r\n<source-file src=\"android/GtSdkLib/android-support-v4.jar\" target-dir=\"libs\"/>\n\r\n并删除 platforms/android/libs//android-support-v4.jar 文件。\r\n—\r\nYou are receiving this because you were mentioned.\r\nReply to this email directly, view it on GitHub, or mute the thread.\r\n"}}
{"actor":{"display_login":"GetuiLab"}}