build.gradle
How to fix “ERROR: Could not find method google() for arguments [] on repository container.” in android studio 3.5
set gradle-wrapper.properties file to: distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip or higher distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
gradle process command java finished with non-zero exit value 1
This was my original error message: Changing my %JAVA_HOME% in Window’s Environmental Variables from Java 9 (file directory C:\Program Files\Java\jdk-9.0.1) to Java 8 (C:\Program Files\Java\jdk1.8.0_151) was what fixed it for me. You can figure out what path you set %JAVA_HOME% to by typing echo %JAVA_HOME% in Command Prompt. So yea, as of 12-20-2017, gradle bootRun … Read more
variantOutput.getPackageApplication() is obsolete
variantOutput.getPackageApplication() is being caused by a changed variant API. changing output.outputFile.parent to variant.getPackageApplicationProvider().get().outputs.files[1] is at least a temporary workaround. source: @Selvin. variant.getExternalNativeBuildTasks() is being caused by the io.fabric plugin. the next version of the io.fabric plugin will use variant.getExternalNativeBuildProviders(). source: 116408637; the confirmation for a promised fix (1.28.1). These are caused by com.google.gms.google-services: registerResGeneratingTask is … Read more