91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Android 中Failed to read key from keystore解決辦法

發布時間:2020-09-26 01:05:23 來源:腳本之家 閱讀:2586 作者:天外野草 欄目:移動開發

Android 中Failed to read key from keystore解決辦法

Caused by: org.gradle.tooling.BuildException: Failed to read key from keystore 
    at com.android.build.gradle.tasks.PackageApplication.doFullTaskAction(PackageApplication.groovy:110) 
    at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.groovy:64) 
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) 
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactor 
y.java:235) 
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.jav 
a:211) 
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory. 
java:222) 
    at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.jav 
a:200) 
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) 
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) 
    ... 47 more 
Caused by: com.android.builder.packaging.SigningException: Failed to read key from keystore 
    at com.android.builder.core.AndroidBuilder.packageApk(AndroidBuilder.java:1468) 
    at com.android.builder.core.AndroidBuilder$packageApk$6.call(Unknown Source) 
    at com.android.build.gradle.tasks.PackageApplication.doFullTaskAction(PackageApplication.groovy:95) 
    ... 55 more 

build.gradle

signingConfigs { 
  robert { 
    storePassword 'robert' 
    storeFile file('/Users/bournewang/Documents/Project/android.keystore') 
    keyPassword 'robert' 
    keyAlias 'mike' 
  } 
} 


解決方案:

Check your keystore file for first, in you example you creating file with 
name my-release-key.keystore. If its correct and really present in folder 
Users/bournewang/Documents/Project check alias, in your example it is -alias alias_name,
 but in config you specified alias mike

大意是:

1.android.keystore可能不在指定目錄下面

2.keyAlias不對

另:想知道真正原因的話,可以查看

To find out what's wrong you can use gradle's singingReport command. 
 
On mac: 
 
./gradlew signingReport 
On Windows: 
 
gradle signingReport 

如有疑問請留言或者到本站社區交流討論,感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

达日县| 哈密市| 五大连池市| 宜州市| 昌吉市| 姜堰市| 英吉沙县| 民乐县| 开鲁县| 嫩江县| 左云县| 无为县| 陇西县| 镇江市| 南宫市| 龙川县| 金华市| 宜良县| 七台河市| 乌苏市| 铁岭县| 遂平县| 金塔县| 太仓市| 简阳市| 财经| 集贤县| 烟台市| 平乐县| 得荣县| 勃利县| 抚远县| 同江市| 读书| 迭部县| 元朗区| 洪湖市| 谷城县| 长泰县| 宁晋县| 冷水江市|