TinkerPatch / tinkerpatch-sdk

TinkerPatch SDK
http://tinkerpatch.com
MIT License
294 stars 56 forks source link

确认下sign info配置是否正确。 #157

Closed a8stefan closed 5 years ago

a8stefan commented 5 years ago

确认下sign info配置是否正确。

On Wed, Nov 6, 2019 at 7:05 PM a8stefan notifications@github.com wrote:

dd test install result dex: /Users/jerrychang/svn_emc/full/3.0.7/app/build/outputs/apk/tinkerPatch/release/tinker_result/test.dex, size:584 DexDecoder:write test dex meta file data: test.dex,,56900442eb5b7e1de45449d0685e6e00,56900442eb5b7e1de45449d0685e6e00,0,0,0,jar Add Test resource file: assets/only_use_to_test_tinker_resource.txt Final normal zip resource: resources_out.zip, size=21345171, md5=6d27a825fb05be9412a762175945a873 Generate unsigned apk: patch_unsigned.apk Signing apk: patch_signed.apk Signing key algorithm is SHA1withRSA java.io.IOException: Can't Generate signed APK. Please check if your sign info is correct. at com.tencent.tinker.build.builder.PatchBuilder.signApk(PatchBuilder.java:152) at com.tencent.tinker.build.builder.PatchBuilder.buildPatch(PatchBuilder.java:65) at com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:74) at com.tencent.tinker.build.patch.Runner.run(Runner.java:48) at com.tencent.tinker.build.patch.Runner.gradleRun(Runner.java:41) at com.tencent.tinker.build.patch.Runner$gradleRun.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127) at com.tencent.tinker.build.gradle.task.TinkerPatchSchemaTask.tinkerPatch(TinkerPatchSchemaTask.groovy:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:103) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:48) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:41) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:702) at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:669) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$5.run(ExecuteActionsTaskExecuter.java:404) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:402) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:394) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:92) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:393) 19:51:30: Task execution finished 'tinkerPatchRelease'. 只打包出一个patch_unsigned.apk

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TinkerPatch/tinkerpatch-sdk/issues/156?email_source=notifications&email_token=AADO6YVRRQFT4D2TETSCDDTQSOAWJA5CNFSM4JKAXMNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HXPPLVA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADO6YU6J73QHCJOZ3MC2F3QSOAWJANCNFSM4JKAXMNA .

Originally posted by @simpleton in https://github.com/TinkerPatch/tinkerpatch-sdk/issues/156#issuecomment-550651355