java.io.IOException: Can't Generate signed APK. Plz check your sign info is correct.

GitHub | MichaelNing | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.io.IOException: Can't Generate signed APK. Plz check your sign info is correct.

    GitHub | 5 months ago | MichaelNing
    java.io.IOException: Can't Generate signed APK. Plz check your sign info is correct.
  2. 0

    7z压缩出错

    GitHub | 2 months ago | weinierfei
    java.io.IOException: [use7zApk]7z repackage signed apk fail,you must install 7z command line version first, linux: p7zip, window: 7za, path=/data/jenkins_home/workspace/allin_android_local/app/build/outputs/apk/AndResGuard_Allinmd_v2.0.3_20161206_test/Allinmd_v2.0.3_20161206_test_signed_7zip.apk

    Root Cause Analysis

    1. java.io.IOException

      Can't Generate signed APK. Plz check your sign info is correct.

      at com.tencent.mm.androlib.ResourceApkBuilder.signApk()
    2. com.tencent.mm
      Main$gradleRun.call
      1. com.tencent.mm.androlib.ResourceApkBuilder.signApk(ResourceApkBuilder.java:119)
      2. com.tencent.mm.androlib.ResourceApkBuilder.buildApk(ResourceApkBuilder.java:46)
      3. com.tencent.mm.resourceproguard.Main.buildApk(Main.java:94)
      4. com.tencent.mm.resourceproguard.Main.resourceProguard(Main.java:71)
      5. com.tencent.mm.resourceproguard.Main.run(Main.java:43)
      6. com.tencent.mm.resourceproguard.Main.gradleRun(Main.java:37)
      7. com.tencent.mm.resourceproguard.Main$gradleRun.call(Unknown Source)
      7 frames
    3. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      3 frames
    4. com.tencent.gradle
      AndResGuardSchemaTask$_resuguard_closure3.doCall
      1. com.tencent.gradle.AndResGuardSchemaTask$_resuguard_closure3.doCall(AndResGuardSchemaTask.groovy:95)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    6. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1015)
      5. groovy.lang.Closure.call(Closure.java:423)
      6. groovy.lang.Closure.call(Closure.java:439)
      7. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1379)
      8. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1372)
      9. org.codehaus.groovy.runtime.dgm$149.invoke(Unknown Source)
      10. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
      11. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      12. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
      13. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      14. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
      14 frames
    7. com.tencent.gradle
      AndResGuardSchemaTask.resuguard
      1. com.tencent.gradle.AndResGuardSchemaTask.resuguard(AndResGuardSchemaTask.groovy:60)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    9. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    10. Gradle Core
      DefaultGradleLauncher.run
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:226)
      2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:219)
      3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:208)
      4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:589)
      5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:572)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      9. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      10. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
      11. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      12. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
      13. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      14. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      15. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      16. org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:310)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
      19. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
      20. org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
      21. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
      22. org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
      23. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      24. org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
      25. org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
      26. org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
      27. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
      28. org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
      29. org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
      30. org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
      31. org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
      31 frames
    11. Gradle Launcher
      RunBuildAction.run
      1. org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:90)
      2. org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
      3. org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
      4. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
      5. org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)
      6. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:50)
      7. org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:27)
      8. org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:40)
      8 frames
    12. Gradle Core
      Actions$RunnableActionAdapter.execute
      1. org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169)
      1 frame
    13. Gradle Launcher
      EntryPoint.run
      1. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
      2. org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
      3. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
      4. org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
      5. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
      6. org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
      7. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
      8. org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
      9. org.gradle.launcher.Main.doAction(Main.java:33)
      10. org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
      10 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    15. Gradle Launcher
      GradleMain.main
      1. org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
      2. org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
      3. org.gradle.launcher.GradleMain.main(GradleMain.java:23)
      3 frames