错误拍坑集锦 Could not resolve project :xxxx.

Could not resolve project :xxxx.
     Required by:
         project :app
      > Unable to find a matching variant of project :xxxx:
          - Variant 'betaApiElements' capability Android-Flutter-Debug-Build:xxxx:
              - Incompatible attributes:
                  - Required com.android.build.api.attributes.BuildTypeAttr 'profile' and found incompatible value 'beta'.
                  - Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
              - Other attributes:
                  - Found com.android.build.api.attributes.VariantAttr 'beta' but wasn't required.
                  - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
                  - Required org.jetbrains.kotlin.platform.type 'androidJvm' but no value provided.
          - Variant 'betaRuntimeElements' capability Android-Flutter-Debug-Build::
              - Incompatible attribute:
                  - Required com.android.build.api.attributes.BuildTypeAttr 'profile' and found incompatible value 'beta'.
              - Other attributes:
                  - Found com.android.build.api.attributes.VariantAttr 'beta' but wasn't required.
                  - Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found compatible value 'Aar'.
                  - Required org.gradle.usage 'java-runtime' and found compatible value 'java-runtime'.
                  - Required org.jetbrains.kotlin.platform.type 'androidJvm' but no value provided.
image.png

你可能感兴趣的:(错误拍坑集锦 Could not resolve project :xxxx.)