good to know, thanks! just to add more details, what exactly happened (and perhaps not only once) was: 1 - sync gradle 2 - during sync i opened a file and got the add module suggestion 3 - added and clicked ok while still syncing 4 - sync failed eventually 5 - sync again and from that moment it always failed until i reverted settings.gradle, so perhaps that is the problem
I have an application in a gradle container (with settings.gradle), and that references a library which is as well within another container (with settings.gradle) which is a git submodule. In order to be able to build both the containers in CI, I had to create aliases for some subproject, and AS seems to misunderstand that. If you want I can provide an example in the next days. On Mon, Jun 2, 2014 at 4:58 PM, 'Alex Ruiz' via adt-dev < [email protected]> wrote: > Thanks, Diego. Just to understand what happened (even though it is not > reproducible anymore, but I'm still curious) I'm going to find where in the > code we are asking users to add modules. > > BTW, the nice folks from JetBrains pointed out the commits that fixed the > bug you mentioned. We will be including the fix as well. > > > On Mon, Jun 2, 2014 at 12:55 AM, Diego Costantini < > [email protected]> wrote: > >> Hi Alex, >> I did not open the bug because I could not reproduce it. >> But here is what happened: >> after updating to 0.5.9, during the gradle sync, it told me that a module >> needed to be added (to the settings.gradle I guess), so I added it, and the >> sync failed due to the eachDependency bug. >> At that point, the above issue was there again, and when clicking it I >> would see my modules greyed out but not selectable. >> This was consistent until I reverted the first change it did on the >> settings.gradle, then all was fine. >> >> >> On Monday, June 2, 2014 8:27:23 AM UTC+2, Alex Ruiz wrote: >> >>> Diego, what is the other bug you found? (Sorry I missed that from your >>> original e-mail.) >>> >>> >>> On Fri, May 30, 2014 at 12:11 PM, Alex Ruiz <[email protected]> wrote: >>> >>>> Thanks, Diego for reporting this. I'll follow up with the IDEA folks >>>> about the fix, and have it applied in the next version of Studio. >>>> >>>> >>>> On Fri, May 30, 2014 at 2:16 AM, Diego Costantini < >>>> [email protected]> wrote: >>>> >>>>> Hi, >>>>> I just updated to 0.5.9 and cannot sync gradle because of this bug: >>>>> http://youtrack.jetbrains.com/issue/IDEA-125592 >>>>> >>>>> I applied the fix posted there, the sync proceeded further and led me >>>>> to another possible bug that I will explain in a separate thread. >>>>> >>>>> It would be nice to have a minor update of AS with such fix for all >>>>> the people using the eachDependency method >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "adt-dev" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "adt-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adt-dev/JzkLu35MaC8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
