kggoh kggoh - 5 months ago 68
Android Question

building an aar module

First time i build an aar module. I am able to convert my app into an aar module. And i create another new app, and add this aar file into the project. However, I encountered this error.

Error:(9) No resource identifier found for attribute 'civ_border_color' in package ''

I have searched for the answer, and recommendation like
xmlns:app="" or

I have tried. And i notice the files that have error, are auto generate files, i am not suppose to change them. Is there any steps that i have missed out creating the aar file. BTW, the compilation of the aar file is successful. Any useful information that i missed out , please do point out. Not vote down. Coz i really have no idea what I have missed out. Thanks.

Answer Source

Did you add

repositories {
  flatDir {
     dirs 'libs'

in your project's build.gradle?

Did you add

compile(name: 'xxx', ext: 'aar')。

in your module's build.gradle?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download