Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单独编译share模块会报错,请问是怎么解决的呢? #8

Closed
sanyusily opened this issue Oct 4, 2020 · 2 comments
Closed

Comments

@sanyusily
Copy link

Unable to find a matching variant of project :share:

  • Variant 'debugApiElements' capability ComponentDemo-master:share:unspecified:
    • Incompatible attributes:
      • Required com.android.build.gradle.internal.dependency.AndroidTypeAttr 'Aar' and found incompatible value 'Apk'.
      • Required org.gradle.usage 'java-runtime' and found incompatible value 'java-api'.
    • Other attributes:
      • Required com.android.build.api.attributes.BuildTypeAttr 'debug' and found compatible value 'debug'.
      • Found com.android.build.api.attributes.VariantAttr 'debug' but wasn't required.
@renxuelong renxuelong pinned this issue Nov 16, 2020
@renxuelong renxuelong unpinned this issue Nov 16, 2020
@renxuelong
Copy link
Owner

可以提供更多的信息吗,比如编译使用的 gradle 版本等信息;还有单独编译 share 模块是指单独编译这个 module 吗?

@renxuelong
Copy link
Owner

有遇到相似问题的可以继续提 issue,这个没人反馈就先关闭了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants