Create multiple projects in Android Studio -


what want do:
create 3 android project in android studio
1)common project or library project(this independent project)
2)project1 uses library project
3)project2 uses library project

what problem?
possible in eclipse not in android studio. can't open 3 project in single window in android studio.i tried achieve using modules not fit requirement,it add module in existing project , has circular dependency problem.

what tried?
1)http://www.philosophicalhacker.com/2014/10/02/an-alternative-multiproject-setup-for-android-studio/ -it lengthy manual process , android studio not support directly

2)modules -it adds modules in existing project enter image description here please me.i quite new in android studio.

you can't have multiple projects in single window in android studio. can create 2 projects , share common library.

in settings.gradle of project add

include ':commonlibrary' project(':commonlibrary').projectdir= new file('../path_to_your_library_module') 

in build.gradle add compile project(':commonlibrary').

do in both projects , common library added module in both projects. changes make in library reflect in both windows


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -