I know, I know. I was just kidding! Actually I was baiting the team. My 
thought was that if I create the impression that your user base is under 
the thinks that it was designed this way it would further motivate a 
potential fix! ;)

On Tuesday, May 6, 2014 12:04:46 PM UTC-7, sbarta wrote:
>
> I haven't had a chance to look in detail at the bug yet, but it sounds 
> like a bug. Don't assume that everything happens by design ;)
>
>
> On Tue, May 6, 2014 at 11:59 AM, Clifton Craig 
> <[email protected]<javascript:>
> > wrote:
>
>> Wow, yup! Changing the structure to have the module in a nested folder 
>> with a top level build and settings.gradle seems to fix the issue. This 
>> appears to be a new requirement (maybe it shouldn't be?) in Android Studio.
>>
>>
>> On Tuesday, May 6, 2014 11:31:15 AM UTC-7, Xavier Ducrohet wrote:
>>
>>> We should support simple project with no sub modules though.
>>>
>>>
>>> On Tue, May 6, 2014 at 11:28 AM, Clifton Craig <[email protected]>wrote:
>>>
>>>> Looking a little closer and I see what you mean. I suppose Android 
>>>> studio wants the module nested in a folder with a settings.gradle and top 
>>>> level build.gradle and all. I can make this structure manually and try 
>>>> again.
>>>>
>>>>
>>>> On Tuesday, May 6, 2014 11:07:15 AM UTC-7, sbarta wrote:
>>>>
>>>>> Okay, that's a bug. But looking at the code, it wouldn't have been 
>>>>> able to show a useful dependencies panel anyway because it wasn't able to 
>>>>> find the build.gradle file. How is your project structured? There must be 
>>>>> something unusual about it.
>>>>>
>>>>>
>>>>> On Tue, May 6, 2014 at 11:04 AM, Clifton Craig <[email protected]>wrote:
>>>>>
>>>>>> Interesting, I get an internal IDE error when opening the dialog:
>>>>>>
>>>>>> Error while creating dialog
>>>>>> java.lang.NullPointerException
>>>>>> at com.android.tools.idea.structure.ModuleDependenciesPanel.<init>
>>>>>> (ModuleDependenciesPanel.java:112)
>>>>>>  at com.android.tools.idea.structure.AndroidModuleEditor$5.call(
>>>>>> AndroidModuleEditor.java:101)
>>>>>>  at com.android.tools.idea.structure.AndroidModuleEditor$5.call(
>>>>>> AndroidModuleEditor.java:98)
>>>>>> at com.android.tools.idea.structure.GenericEditor.createCompone
>>>>>> nt(GenericEditor.java:49)
>>>>>>  at com.android.tools.idea.structure.AndroidModuleEditor.getPane
>>>>>> l(AndroidModuleEditor.java:111)
>>>>>> at com.android.tools.idea.structure.AndroidModuleConfigurable.c
>>>>>> reateOptionsPanel(AndroidModuleConfigurable.java:59)
>>>>>>  at com.intellij.openapi.ui.NamedConfigurable.createComponent(Na
>>>>>> medConfigurable.java:78)
>>>>>> at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.selectConfigurable(AndroidProjectStructureConfigu
>>>>>> rable.java:315)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.selectModuleConfigurable(AndroidProjectStruc
>>>>>> tureConfigurable.java:305)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.access$600(AndroidProjectStructureConfigurab
>>>>>> le.java:73)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable$SidePanel$2.valueChanged(AndroidProjectStruc
>>>>>> tureConfigurable.java:507)
>>>>>>  at javax.swing.JList.fireSelectionValueChanged(JList.java:1795)
>>>>>>  at javax.swing.JList$ListSelectionHandler.valueChanged(JList.
>>>>>> java:1809)
>>>>>> at javax.swing.DefaultListSelectionModel.fireValueChanged(Defau
>>>>>> ltListSelectionModel.java:167)
>>>>>>  at javax.swing.DefaultListSelectionModel.fireValueChanged(Defau
>>>>>> ltListSelectionModel.java:147)
>>>>>> at javax.swing.DefaultListSelectionModel.fireValueChanged(Defau
>>>>>> ltListSelectionModel.java:194)
>>>>>>  at javax.swing.DefaultListSelectionModel.changeSelection(Defaul
>>>>>> tListSelectionModel.java:388)
>>>>>> at javax.swing.DefaultListSelectionModel.changeSelection(Defaul
>>>>>> tListSelectionModel.java:398)
>>>>>>  at javax.swing.DefaultListSelectionModel.setSelectionInterval(D
>>>>>> efaultListSelectionModel.java:442)
>>>>>> at javax.swing.JList.setSelectedIndex(JList.java:2209)
>>>>>>  at javax.swing.JList.setSelectedValue(JList.java:2325)
>>>>>> at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable$SidePanel.select(AndroidProjectStructureConfigu
>>>>>> rable.java:552)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.reset(AndroidProjectStructureConfigurable.java:251)
>>>>>>  at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(
>>>>>> SingleConfigurableEditor.java:66)
>>>>>>  at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(
>>>>>> SingleConfigurableEditor.java:89)
>>>>>> at com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(
>>>>>> SingleConfigurableEditor.java:104)
>>>>>>  at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(
>>>>>> ShowSettingsUtilImpl.java:253)
>>>>>> at com.intellij.ide.actions.ShowSettingsUtilImpl.editConfigurable(
>>>>>> ShowSettingsUtilImpl.java:233)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.doShowDialog(AndroidProjectStructureConfigur
>>>>>> able.java:112)
>>>>>>  at com.android.tools.idea.gradle.structure.AndroidProjectStruct
>>>>>> ureConfigurable.showDialog(AndroidProjectStructureConfigurab
>>>>>> le.java:108)
>>>>>>  at com.android.tools.idea.actions.AndroidShowStructureSettingsAc
>>>>>> tion.actionPerformed(AndroidShowStructureSettingsAction.java:39)
>>>>>>  at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.per
>>>>>> formAction(IdeKeyEventDispatcher.java:564)
>>>>>>  at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.proce
>>>>>> ssAction(IdeKeyEventDispatcher.java:611)
>>>>>> at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inIni
>>>>>> tState(IdeKeyEventDispatcher.java:463)
>>>>>>  at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispa
>>>>>> tchKeyEvent(IdeKeyEventDispatcher.java:206)
>>>>>> at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.
>>>>>> java:493)
>>>>>>  at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.
>>>>>> java:335)
>>>>>> at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDis
>>>>>> patchThread.java:296)
>>>>>>  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispat
>>>>>> chThread.java:211)
>>>>>> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDis
>>>>>> patchThread.java:201)
>>>>>>  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
>>>>>> java:196)
>>>>>> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.
>>>>>> java:188)
>>>>>>  at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
>>>>>>
>>>>>>
>>>>>> On Tuesday, May 6, 2014 10:04:06 AM UTC-7, sbarta wrote:
>>>>>>
>>>>>>> It's possible that it's a bug. If it's a Gradle-based module it 
>>>>>>> should always be showing you the tab (there's no selective logic 
>>>>>>> there), 
>>>>>>> and if not, there could be an exception thrown while trying to 
>>>>>>> instantiate 
>>>>>>> it. If you see anything interesting in the log file, please file a bug.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, May 6, 2014 at 9:59 AM, Clifton Craig 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I have noticed in some of my recent projects that Android Studio 
>>>>>>>> now includes a dependencies tab when I open my project structure. This 
>>>>>>>> tab 
>>>>>>>> seems to echo the configuration from the build.gradle. My question is 
>>>>>>>> what 
>>>>>>>> causes Android Studio to display this tab? I have 2 projects, a 
>>>>>>>> multi-module project that I built from scratch and a downloaded copy 
>>>>>>>> deckard-gradle that I'm using to understand Robolectric. wget 
>>>>>>>> https://github.com/robolectric/deckard-gradle/archive/master.zip In 
>>>>>>>> my multi-module project I see the dependencies tab. However, in the 
>>>>>>>> deckard-gradle project there is no dependencies tab. What governs the 
>>>>>>>> display of the tab? Is it a bug? I am running the latest Android 
>>>>>>>> Studio, 
>>>>>>>> 0.5.7 and Gradle 1.11.
>>>>>>>>  
>>>>>>>> -- 
>>>>>>>> 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 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.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Xavier Ducrohet
>>> Android SDK Tech Lead
>>> Google Inc.
>>> http://developer.android.com | http://tools.android.com
>>>
>>> Please do not send me questions directly. Thanks! 
>>>
>>  -- 
>> 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] <javascript:>.
>> 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.

Reply via email to