Giter Site home page Giter Site logo

googlearchitecturedemo's People

Contributors

dawish 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

googlearchitecturedemo's Issues

编译错误

编译时发现

  • What went wrong:
    Could not resolve all files for configuration ':lib_opensource:debugAnnotationProcessorClasspath'.

Could not download kotlin-stdlib.jar (org.jetbrains.kotlin:kotlin-stdlib:1.2.0)
Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar'.
> Could not HEAD 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not download sqlite-jdbc.jar (org.xerial:sqlite-jdbc:3.20.1)
Could not get resource 'https://jcenter.bintray.com/org/xerial/sqlite-jdbc/3.20.1/sqlite-jdbc-3.20.1.jar'.
> Could not GET 'https://jcenter.bintray.com/org/xerial/sqlite-jdbc/3.20.1/sqlite-jdbc-3.20.1.jar'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not download commons-codec.jar (commons-codec:commons-codec:1.10)
Could not get resource 'https://jcenter.bintray.com/commons-codec/commons-codec/1.10/commons-codec-1.10.jar'.
> Could not HEAD 'https://jcenter.bintray.com/commons-codec/commons-codec/1.10/commons-codec-1.10.jar'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not download gson.jar (com.google.code.gson:gson:2.8.0)
Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar'.
> Could not HEAD 'https://jcenter.bintray.com/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

请问如何解决, Thanks

Arouter

这个能算是模块化开发吗?

思路很好啊

思路很好啊,公司项目中你用的这个思路吗

编译的时候报错了

Error:FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module_news:dataBindingProcessLayoutsDebug'.

java.lang.NullPointerException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    ==============================================================================

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module_girls:dataBindingProcessLayoutsDebug'.

-1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    ==============================================================================

  • Get more help at https://help.gradle.org

BUILD FAILED in 17s

编译报错

studio导入之后,提示几乎所有的gradle中的依赖都报错,Unable to resolve dependency for ...Could not download ...jar or aar

ApiClient中代码错误

lib_coremodel类库中的http包中的ApiClient类
getRetrofitInstance方法没有参数
initService的baseUrl参数没有作用
导致新增service方法的话如果复用getGankDataService方法
则ApiConstants中的host设置无效,导致404

个人一些想法

项目思路很好,但有个地方不是很认同,把业务逻辑都共用在lib_coremodel,这不符合模块化**吧。例如news和girsl的接口请求已经耦合在同一个模块,如果项目来一个需求,需要girls单独成立一个app。lib_coremodel里面news的代码已经是多余的了。

关于数据库问题

如果开发过程中有数据库的需求.那数据库放在哪里呢?也都放在lib_coremodel?

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.