Android proguard issue: path may not be null or empty string. path='null'

前端 未结 3 1846
独厮守ぢ
独厮守ぢ 2021-02-14 01:59

Every thing work fine before setting

minifyEnabled true

and

shrinkResources true

Afte

3条回答
  •  梦如初夏
    2021-02-14 02:33

    Okay got the solution. Just replace your hard codded signing config:

    release {
                    storeFile file('/home/rishabh/Documents/dekhoJks/release.jks')
                    storePassword "XXXXXXX"
                    keyAlias "XXXXXXXX"
                    keyPassword "XXXXXXXXX"
                }
    

    and instead of that create separate signing.properties file :

    STORE_FILE=/home/XXX/XXX/XXX
    STORE_PASSWORD=XXXXXX
    KEY_ALIAS=XXXXXXXX
    KEY_PASSWORD=XXXXXXXXX
    

    and use in your gradle. Hope it helps!!

提交回复
热议问题