Android Studio library “error: package does not exist”

前端 未结 5 1876
轮回少年
轮回少年 2020-12-10 00:30

I have created Android library as Android Studio module. Added as dependency to my root module. While coding I can import any class from library package but while I\'m tryin

5条回答
  •  暖寄归人
    2020-12-10 01:28

    In build-gradle app, add this row:

    implementation project(":your_name_library_here")
    

提交回复
热议问题