Sam
07/20/2020, 5:49 AMcom.android.tools.build:gradle:4.0.1
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
My error
Could not resolve all dependencies for configuration ':app:stagingDebugRuntimeClasspath'.
Could not create task ':app:packageProdDebug'.
Could not get unknown property 'outputScope' for task ':app:packageProdDebug' of type com.android.build.gradle.tasks.PackageApplication.
gildor
07/20/2020, 5:51 AMSam
07/20/2020, 5:52 AMgildor
07/20/2020, 5:52 AMSam
07/20/2020, 5:54 AMgildor
07/20/2020, 6:01 AMSam
07/21/2020, 10:06 AMgildor
07/21/2020, 10:07 AMI don’t use constraintlayout-2.0.0-beta2 on my project.But some of your dependencies probably does
Sam
07/21/2020, 10:12 AMI don't use constraintlayout-2.0.0-beta2 on my project.
1. Where can I find it?
2. How to force my project to use specific version (stable version)?
Thanks.gildor
07/21/2020, 10:12 AMHow to force my project to use specific version (stable version)?You can use
resolutionStrategy.force
but keep in mind, there are new features in constraint layouts 2.0, so it will not run with old version if Flow tag is used for example, and it will crash on runtime, not compile timeSam
07/22/2020, 2:38 AM