Cannot build this project
AytajD opened this issue · comments
I am trying to implement this project and I downloaded it to my desktop. But I could not build project because there is an error on 3rd-maps-utils-main\demo\build.gradle' line: 67.
It says:
A problem occurred evaluating project ':demo'.
Plugin with id 'com.huawei.agconnect' not found.
Anyone with this problem and solved it??
I was facing the same problem but just solved it. You need to:
- Remove or comment out the line
include 'demo'
from "settings.gradle". - Synchronize the gradle files.
- Click the upper right Gradle, and then the elephant icon to see options, then select library module and then run
gradle assemble
on library module. - Find the .aar file in library > build > outputs > aar on the left from Project view.
- Copy the .aar file to your libs folder.
- Add the following line to your build.gradle (app) module ->
implementation(name: '3rd-maps-utils-2.2.0-yyyyMMdd', ext: 'aar')