Unable to generate signed build using Android Studio

Issue

This Content is from Stack Overflow. Question asked by Abhishek Jha

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade

com.android.ide.common.signing.KeytoolException: Failed to read key keycsr from store “C:…appcsrkeystore.jks”: Invalid keystore format

I have put my .jks file in app module and added signing config as:

signingConfigs {
            release {
                keyAlias 'keycsr'
                keyPassword '********'
                storeFile file('csrkeystore.jks')
                storePassword '********'
            }
    }

Any help is appreciated.



Solution

Check the Answers

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?