How to manually include external aar package using new Gradle Android Build System

后端 未结 23 2261
故里飘歌
故里飘歌 2020-11-22 03:58

I\'ve been experimenting with the new android build system and I\'ve run into a small issue. I\'ve compiled my own aar package of ActionBarSherlock which I\'ve called \'act

23条回答
  •  清歌不尽
    2020-11-22 04:20

    UPDATE ANDROID STUDIO 3.4

    1. Go to File -> Project Structure

    1. Modules and click on +

    1. Select Import .aar Package

    1. Find the .aar route

    1. Finish and Apply, then verify if package is added

    1. Now in the app module, click on + and Module Dependency

    1. Check the library package and Ok

    1. Verify the added dependency

    1. And the project structure like this

提交回复
热议问题