Giter Site home page Giter Site logo

componentdemo's People

Contributors

renxuelong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

componentdemo's Issues

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

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.

Build error - Could not resolve com.alibaba:arouter-api:1.3.1.

Unsolved dependencies: (20 errors)
/Users/gongzelong/Android/Modularization/ComponentDemo |  
app/build.gradle |  
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.alibaba:arouter-api:1.3.1. |  
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve com.alibaba:arouter-api:1.3.1. |  
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve com.alibaba:arouter-api:1.3.1. |  
Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve com.alibaba:arouter-api:1.3.1. |  
Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.alibaba:arouter-api:1.3.1. |  
base/build.gradle |  
login/build.gradle |  
share/build.gradle |  

单独编译share组件模块会编译报错

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.

组件间数据传递与方法相互调用的问题

如果组件间的数据交互涉及到组件内部具体的数据类型,比如具体的Bean对象, 假如demo中的IAccountService需要有一个返回AccountBean类型的方法(AccountBean getAccount();), 这时这个AccountBean类应该定义在哪个模块中才合适呢?
Login组件?不行,组件间不能直接访问.
componentbase?也不合理,这是具体的业务对象.

多个fragment

想请教一下,如果在主页需要切换多个模块的fragment,那不就要写多个fragmentActivity了?

极光推送集成

你好,关于集成极光时有些问题想请教一下。
Q1:极光推送应该不能集成在base_module中吧?怎么才能做到集成调试或者单独调试都能收到推送啊?不能申请多个包名对应的appKey然后每个moudle中声明一遍吧?~~期待你的回复,thx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.