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

0

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

  

Error: (4) Error: "fb_login_protocol_scheme" is not translated in "en"   (English) [MissingTranslation]

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

  

Error: (91) Error: Resources referenced from the manifest can not vary   by configuration (except for version qualifiers, e.g. -v21.) Found   variation in pt [ManifestResource]

How can I resolve this issue?

    
asked by anonymous 02.08.2017 / 17:46

1 answer

0

I do not know if it's the best thing to do, but, this worked for me.

Gradle module app:

   buildTypes {
        release {
.....
            lintOptions {
                disable 'MissingTranslation'
            }
        }
    }
    
02.08.2017 / 20:00