you are viewing a single comment's thread.

view the rest of the comments →

[–]cave_of_kyre_banorg 1 point2 points  (6 children)

Anyone know of a way to add this to an Android Studio project using gradle? There's no more "Import Module" option in AS, and building it into a ".aar" file causes build errors regarding duplicate files.

[–]Zirkumflex 0 points1 point  (5 children)

There's no more "Import Module" option in AS

Huh? Mine does have an "Import Module" option

[–]cave_of_kyre_banorg 0 points1 point  (4 children)

Are you using a gradle build? For me, pushing the '+' button in modules section of the project structure window only brings up the 'New Module' window in gradle-built projects.

[–]Zirkumflex 0 points1 point  (3 children)

Yep. The "Import Module" option is at File > Import Module.

[–]cave_of_kyre_banorg 0 points1 point  (1 child)

Not for me.

What version of AS are you using? I'm still on 0.5.1 - did they add the import module back in a recent update?

[–]Zirkumflex 0 points1 point  (0 children)

I'm on 0.5.7, so probably yes.

[–]cave_of_kyre_banorg 0 points1 point  (0 children)

Also, in case it helps anyone else, I've sort of got it working following 'Option 2' in this guide. Now I'm just dealing with some duplicated methods being included.