Include AAR file into project

Hi guys,

I am trying to include AAR file to my project but keep getting this error

Could not find :GribPushAAR-1.0:.
     Required by:

Cause I cannot put

flatDir {
            dirs 'aar'

to my top-level build.gradle. Could you please tell me how to do it ? or give me an example project that I can reference ?

I did follow this thread :

But it also not help much,
Thank you very much.

Hi bao,

adding .aar files should be pretty straightforward, see Specifying a dependency.

Thank you very much Uldis I gonna try it !!