Gradle signing app with packageRelease “specified for property 'signingConfig.storeFile' does not exist”

后端 未结 5 1546
栀梦
栀梦 2020-12-14 09:06

I am trying to test an app with Build Variant in release mode in Android Studio with a project using Gradle.

build.gradle:

(omitted dependencies and          


        
相关标签:
5条回答
  • 2020-12-14 09:15

    enter image description here

    If you want to create signed version of apk then it requires release. If you don't want to, choose the debug mode and run the unsigned apk file.

    0 讨论(0)
  • 2020-12-14 09:27

    Might be helpful for someone - I was getting the same message "specified for property 'signingConfig.storeFile' does not exist”

    Somehow in my case when i changed laptops keystore files got corrupted/tempered while transferring it from one to another. I would suggest not to zip the file, Just transfer it as it is.

    When i transferred again without zipping, It worked like a charm!!!

    0 讨论(0)
  • 2020-12-14 09:30

    Please double-check that the file exists at the place the error message is looking (Users/andre/workspace/MobileAndroid/app/release.jks) and that there are no permissions problems preventing the files from being read.

    0 讨论(0)
  • 2020-12-14 09:33

    For me: I just indicated the .jks file from the explorer.

    0 讨论(0)
  • 2020-12-14 09:34

    For me it was because i was entering in just the name of the key when it was asking for the full path.

    enter image description here

    0 讨论(0)
提交回复
热议问题