user3240969
user3240969

Reputation:

Apportable: release.keystore cannot be found

I typed the following in the directory of my Xcode project:

keytool -genkey -v -keystore release.keystore -alias mykey -keyalg RSA \
        -keysize 2048 -validity 10000

Then, the following again:

BUILD=release ANDROID_KEYSTORE=release.keystore \
        ANDROID_KEYSTORE_PASS=mypassword apportable build

And now pretty much everything compiled and looked good until one last fatal error:

Exception in thread "main" java.io.FileNotFoundException: release.keystore 
    (No such file or directory)

I have double checked, this keystore exists in both my Xcode project folder and in .android. I have double checked that the keystore name is correct, and the password is correct.

What could possibly be wrong? Where should I be putting the keystore? I haven't a clue why it's not being found.

Upvotes: 1

Views: 1156

Answers (1)

user3240969
user3240969

Reputation:

Thanks everyone for helping. I'm inexperienced, so I run into newbie issues often. I got it to work by putting in the absolute path on my hard drive.

instead of

ANDROID_KEYSTORE=release.keystore

I typed

ANDROID_KEYSTORE=/Users/carljalal/Desktop/OldGames/SuperSpeedApportable/release.keystore

which is the path on my hard drive, and it worked.

Upvotes: 3

Related Questions