Ankit Srivastava Ankit Srivastava - 4 months ago 10x
Android Question

Accidental changes in, unable to restore

Even after editing, the moment i build gradle it is restored.

Answer is generated by Android build tools. Any modification to the file will be gone when configuration is done.

Btw, It looks like you have a UNIQUE_FIREBASE_ROOT_URL property under buildTypes.debug;

buildTypes {
    debug {
        buildConfigField "String", "UNIQUE_FIREBASE_ROOT_URL", "https://~~~~"

The url part should be written like this: '"http://~~~~"' (surround it by single quotation marks again)