Errors when trying to generate a signed apk, after facebook login is added

Asked

Viewed 33 times

0

I added the facebooklogin app, works correctly. But when generating a signed apk, he complains, that there is no Portuguese translation of <string name="fb_login_protocol_scheme">11111</string> Down with the error:

Error:(4) Error: "fb_login_protocol_scheme" is not Translated in "en" (English) [Missingtranslation]

But if I put it also in the en/strings is returned this error:

Error:(91) Error: Resources referenced from the manifest cannot Vary by Configuration (except for version Qualifiers, e.g. -v21.) Found variation in pt [Manifestresource]

How can I resolve this issue?

1 answer

0

I don’t know if it’s the best thing to do, but, uh, this worked for me.

Gradle module app:

   buildTypes {
        release {
.....
            lintOptions {
                disable 'MissingTranslation'
            }
        }
    }

Browser other questions tagged

You are not signed in. Login or sign up in order to post.