You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on link upgrade gradle wrapper to 7.2 and re-import project
Actual
When re-import happens project suck at re-download dependencies error page and clicking on it will not change anything.
Close and re-opening project will also not work
Unable to find method ''org.gradle.api.file.DirectoryProperty org.gradle.api.file.ProjectLayout.directoryProperty(org.gradle.api.provider.Provider)''
'org.gradle.api.file.DirectoryProperty org.gradle.api.file.ProjectLayout.directoryProperty(org.gradle.api.provider.Provider)'
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Workaround
Open Application build.gradle and update the AGP to classpath 'com.android.tools.build:gradle:8.0.0-rc01' and gradle wrapper properties distribution url to distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
Add the mavenCentral() repo in the Application build.gradle
Add package namespace in the build.gradle for Application and afservice
Gradle Sync > Sync will be successful and able to deploy
The text was updated successfully, but these errors were encountered:
Steps
AutoFillFramework
sampleupgrade gradle wrapper to 7.2 and re-import project
Actual
re-download dependencies
error page and clicking on it will not change anything.Workaround
classpath 'com.android.tools.build:gradle:8.0.0-rc01'
and gradle wrapper properties distribution url todistributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
mavenCentral()
repo in the Application build.gradleApplication
andafservice
The text was updated successfully, but these errors were encountered: