Android Studio cannot resolve symbols from imported AAR module

前端 未结 2 1474
感动是毒
感动是毒 2020-12-07 01:15

All of the answers in similar questions talk about manunally editting gradle files. But I\'ve used Android Studio to import the AAR file and checked the build.gradle files a

2条回答
  •  被撕碎了的回忆
    2020-12-07 01:44

    You need to specify the location of "ShowCaseView-5.0.0.aar" in project's build.gradle file. E.G, the ShowCaseView-5.0.0.aar file is in a folder named "libs" under project's root directory, update you build.gradle file to add following

    allprojects {
        repositories {
            flatDir {
                dirs 'libs'
            }
        }
    }
    

提交回复
热议问题