bamlab/fastlane-plugin-cordova

FAILURE: Build failed with an exception - takes wrong keystore path

akash-pal opened this issue · 0 comments

  desc "Deploy a new version "

  lane :dist do
    cordova(
      cordova_prepare:false,
      platform: 'android',
      keystore_path:'fastlane/keystore.jks',
      keystore_alias:'alias',
      keystore_password:'pass',
      key_password:'pass'
    )
  end
end 

On running the below command

fastlane android dist

It looks for the keystore inside the platform folder and fails with the below message:

com.android.ide.common.signing.KeytoolException: Failed to read key ZenVerse from store "D:\Project\platforms\android....\fastlane\keystore.jks": Keystore was tampered with, or password was incorrect