标题: com.android.ide.common.signing.KeytoolException: Failed to read key An [打印本页] 作者: 大号在练葵花宝典 时间: 2024-6-11 09:13 标题: com.android.ide.common.signing.KeytoolException: Failed to read key An 目录
前言
一、报错信息
二、办理方法
三、更多资源
前言
在移动应用开发领域,安全签名是确保应用步伐完整性和安全性的重要环节。然而,在使用Android开发工具时,开发职员常常面临各种签名相关的问题,此中包括com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store等非常情况。
一、报错信息
com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store
在步伐build成功后,打开模拟器运行app时,出现以下报错。无法从默认的存储位置读取debug.keystore,因为被进程锁住了。办理方法就是删除报错提到的路径下debug.keystore和debug.keystore.lock,模拟器运行时会重新天生新的debug.keystore。
Execution failed for task ':app:packageDebug'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
com.android.ide.common.signing.KeytoolException:
Failed to read key AndroidDebugKey from store "C:\Users\FASHION\.android\debug.keystore":
Invalid keystore format
复制代码
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\������������\.android\debug.keystore": Invalid keystore format
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:packageDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:166)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:163)