Android Error Building Signed APK: keystore.jks not found for signing config 'externalOverride'

后端 未结 10 1917
南旧
南旧 2021-02-01 00:18

I get this error when I try to Build Signed APK. I recently upgraded to API 23 but Generated APK:s successfully after that. Im confused. Asking for help and advise how to solve

相关标签:
10条回答
  • 2021-02-01 00:35

    File -> Invalidate Caches & Restart...

    Build -> Build signed APK -> check the path in the dialog

    0 讨论(0)
  • 2021-02-01 00:37

    I found the solution. I misplaced the path to the keystore.jks file. Searched for the file on my computer used that path and everything worked great.

    0 讨论(0)
  • 2021-02-01 00:38

    On Linux or Ubuntu you need to use the complete path.

    For example

    /home/ubuntu/.android/keystorname.keystore

    In my case I was using ~ instead of /home/user/. Using shorthands like the below does not work

    ~/.android/keystorname.keystore
    ./keystorename.keystore
    
    0 讨论(0)
  • 2021-02-01 00:39

    TL;DR: Check the path to your keystore.jks file.

    In my case, here's what happened:

    I moved the project folder of my entire app to another location on my PC. Much later, I wanted to generate a signed apk file. Unknown to me, the default location of the path to my keystore.jks had been reset to a wrong location and I had clicked okay. Since it could not find a keystore at the path I selected, I got that error.

    The solution was to check whether the path to my keystore.jks file was correct.

    0 讨论(0)
  • 2021-02-01 00:41

    This is a problem that can arise from writing down a "filename" instead of a path, while generating the .jks file. Generate a new one, put it on the Desktop (or any other real path) and re-generate APK.

    0 讨论(0)
  • 2021-02-01 00:44

    Editing the path of the keystore file solved my problem.

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