keytool error :java.io.IoException:Incorrect AVA format

前端 未结 9 1481
南笙
南笙 2021-01-30 08:06

I am new to Android development; when I have been trying to sign the application I have got the following error. Can anyone help me on this issue?

keytool error          


        
9条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 08:32

    It's a common mistake, when we're going to generate Signed APK in Android Studio. So in Keystore file you can't use any special character or symbol such as (, \ + - * / < > ; ' ") otherwise, you get java.io.IoException.

    See a Demo, how can you fill-up your Keystore file:

    Password: anything without special character or symbol

    Alias: Key0 (up to you)

    Validity (years): 25 (up to you)

    First and last Name: Your proper Name but don't use special character in your name like $unny @dam

    Organizational Unit: Your organization Name

    Organization: Your organization Name

    City or Locality: Your City Name

    State or Province: Your State or Province Name

    Country Code (XX): Use your country code, if you don't know then search Google.

    Then click OK

提交回复
热议问题