how update local aar package sources

前端 未结 6 1543
别那么骄傲
别那么骄傲 2021-02-03 20:36

I created two Android Studio applications. One of them is aar library. I used this aar library in second application. I added aar library by using File->New->New Module->Import

6条回答
  •  粉色の甜心
    2021-02-03 20:46

    I had the same issue and solved it very quickly doing the following:

    • Look in your project /.idea/libraries/ folder for Gradle__artifacts_[subproject].xml
    • Delete this file
    • In Android Studio, go to File->Sync Project with Gradle Files

    This is for an AAR included as a project (which is how it is included when you use File->New->New Module...->Import .JAR/.AAR Package).

提交回复
热议问题