Share Coding

Tutorials, Problems, Stuffs …

Tag Archives: apk

Drawable localization



Open a folder with name ‘drawable-en’ when the local setting is ‘en’.
My default language is ‘zh’, so the image with chines word store at ‘drawable’ folder.
At the same time, we should have ‘values’ and ‘values-en’ folders.

Read more of this post


An existing package by the same name with a conflicting signature is already installed (安裝套件與現有套件名稱相同但簽名不符)

When the existing apps or the apk file that you want to install signed by a special key,

this error message may occur.



Place this into your module build.gradle

android {
    signingConfigs {
        config {
            storeFile file('C:/AndroidKey.key')
            storePassword '1234'
            keyAlias 'adb_key'
            keyPassword '1234'

More explain:

AndroidStudio use a  default debug key to sign your apk every time.
Some tutorial use a wrong way to make both key as a debug key. It is wrong.
The correct way should be both key is the release apk key.