Can Android use frameworks such as dagger2 and butterknife in the library?
扔个三星炸死你
扔个三星炸死你 2017-06-20 10:06:37
0
1
786

I hope to build a complete library, so that when there is a new project, I can directly rely on the library for development and use it as a framework. But I'm not sure if I can put a library like dagger2 into the library. I tried it myself, but a compilation error message appeared.

Error:Execution failed for task ':baseprojectlib:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

The method of building the project is relatively simple and crude, which is to directly add dependencies in build.gradle in the library. I think there must be a problem with this, but I don't know what to do.

Or if someone has a method for making a framework library, you can tell me directly. I would be grateful.

扔个三星炸死你
扔个三星炸死你

reply all(1)
phpcn_u1582

Put it in a Module

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!