起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1545|回复: 2

[处理中3] 微信支付插件报错

[复制链接]

44

主题

150

帖子

298

积分

中级会员

Rank: 3Rank: 3

积分
298
QQ
发表于 2017-4-21 15:37:00 | 显示全部楼层 |阅读模式
warning: Ignoring InnerClasses attribute for an anonymous inner class
      (com.tencent.mm.sdk.b.b) that doesn't come with an
      associated EnclosingMethod attribute. This class was probably produced by a
      compiler that did not target the modern .class file format. The recommended
      solution is to recompile the class from source, using an up-to-date compiler
      and without specifying any "-target" type options. The consequence of ignoring
      this warning is that reflective operations on this class will incorrectly
      indicate that it is *not* an inner class.
      :transformClassesWithDexForDebug
      :mergeDebugJniLibFolders
      :transformNative_libsWithMergeJniLibsForDebug
      :processDebugJavaRes UP-TO-DATE
      :transformResourcesWithMergeJavaResForDebug
      :validateDebugSigning
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':packageDebug'.
      > Failed to read key android from store "E:\wex5Subject\WeX5_V3.6\model\Native\test\build\src\platforms\android\android.keystore": Keystore was tampered with, or password was incorrect
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      :packageDebug FAILED
      
      BUILD FAILED
      
      Total time: 28.886 secs
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
      
      E:\wex5Subject\WeX5_V3.6\model\Native\test\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c "E:\wex5Subject\WeX5_V3.6\model\Native\test\build\src\platforms\android\gradlew cdvBuildDebug -b E:\wex5Subject\WeX5_V3.6\model\Native\test\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
      Error: cmd: Command failed with exit code 1
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\ADMINI~1\AppData\Local\Temp\4b041b61-5218-4b0a-8ca7-da2080dc10ee\pack.xml:88: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3

44

主题

150

帖子

298

积分

中级会员

Rank: 3Rank: 3

积分
298
QQ
 楼主| 发表于 2017-4-21 15:38:34 | 显示全部楼层
是否android.keystore出问题了?
按教程把外卖的android.keystore粘帖到我的文件夹上去了
回复 支持 反对

使用道具 举报

发表于 2017-4-21 15:54:17 | 显示全部楼层
xiongxiong 发表于 2017-4-21 15:38
是否android.keystore出问题了?
按教程把外卖的android.keystore粘帖到我的文件夹上去了 ...

android.keystore 第一次打包要选中生成!!
android.keystore 生成过以后就不要生成了!  android.keystore 必须是这个文件!唯一的!不要跟换和重新生成
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-8 00:56 , Processed in 0.052435 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表