Search code examples
androidapkkeystoresigned

File already exists. error occured when i am trying to make my .apk signed in android


I am trying to create the signed .apk by following these steps

Step : 1 Right Click Project->Export Application->Select you Project->Next->Select new Keystore -> Complete all rest Steps

Step : 2 Note down your Alias name and Password given.

Step : 3 Now if you Complete all process of Filling Details you will get one .apk file and keystore file in you stored location.

Step : 4 Now Again Right Click Project->Export Application->Select you Project->Next->Use Existing Keystore -> Give location and password->Next

Step : 5 Now you alias name will comes in your Drop Down->Select it -> Enter Password -> Next

Step : 6 It will ask for location to store your final .apk file.

Step : 7 Select your location and store.

Step : 8 Now this Final .apk file is Your Signed Application.

But at the Step no 1 when i try to create the new keystore an error occurred File already exists. below is the screen shot of that. I am not understand this thing and put a lot of effort but never get out of it. Any help is appreciated

File already exist


Solution

  • You're trying to create a keystore as an apk, but that is incorrect. The keystore is not an app or something, just name it something like key, then enter your password and confirm the password.

    In a later screen you will be asked where to export your .apk file.