1

I try to use the Agera Android Codelab with Android Studio 2.2 Preview 5. The problem is that the run-configurations do not show up - although I have checked them out from git again after opening the project first.

In other words: the project is already open in Android Studio and the run configuration files (e.g. Step_1.xml) exist in the expected directory ~/android-agera/.idea/runConfigurations - but they don't show up in the run-configurations drop-down.

TmTron
  • 17,012
  • 10
  • 94
  • 142

1 Answers1

1

the solution/workaround that I found, is to manually change the factoryName in all run-configuration files from Android Application to Android App.

example for the fixed file Step_1.xml:

<component name="ProjectRunConfigurationManager">
  <configuration default="false" name="Step 1" type="AndroidRunConfigurationType" factoryName="Android App">

Then the run-configurations show up immediately in the drop-down (i.e. you don't even need to close/reopen Android Studio).

TmTron
  • 17,012
  • 10
  • 94
  • 142