将密钥库从 eclipse 导入到 android studio

Import key store from eclipse to android studio(将密钥库从 eclipse 导入到 android studio)

本文介绍了将密钥库从 eclipse 导入到 android studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I made research on the topic, but couldn't find a solution:

I created a signed apk from an eclipse project, and i also have the eclipse key store. But i couldn"t find out how to import this key store at signing in Android Studio. These are the following things i already tried:

-adding the key store path as it was created originally by eclipse in Android Studio

-adding the path in Android Studio after adding the .jks extension to the original file

In both cases the error is:

Execution failed for task ':application:packageRelease'.

Failed to read key from keystore

So what is the correct way of adding an eclipse keystore to Android Studio?

Any suggestions appreciated, because i have no idea what goes wrong.

解决方案

I believe this message means that your key alias does not exist. In Android Studio, you can use Build > Generate Signed APK..., enter your key store password, and then browse for a list of key alias in the keystore.

这篇关于将密钥库从 eclipse 导入到 android studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:将密钥库从 eclipse 导入到 android studio

基础教程推荐