Spurious module ".." in Android Studio project -
i followed steps in how share single library source across multiple projects add external library project.
my project(s) structure:
project mytest1: module mylib project mytest2: module myapp
i edited settings.gradle in mytest2 , added , ..:mytest1:mylib
include directive. now, able see , use external library project within mytest2
project. things work expected.
however, see spurious module ".." alongside myapp
, mylib
. there no nodes under , doesn't seem cause problems. wondering module , if there way rid of it. regards.
edit
both projects under directory c:\mydev. appears that, anytime bring mytest2 project, modifies file mytest2.idea\modules.xml , inserts following line:
<module fileurl="file://c:/mydev.iml" filepath="c:/mydev.iml" />
it complains module not loaded , creates fake ".." module. think root of problem.
do not declare ..:mytest1:mylib
include. cause many problems. instead, declare following way:
include ':mylib' project(':mylib').projectdir = new file('../mytest1/mylib')
Comments
Post a Comment