By default the environment is not selected for Studio. Thus, when you try to publish, you will get a warning message. For more information, see Previewing & Publishing Your App in the Studio Guide.
2 Selecting the Studio Deployment Environment
To select the environment for Studio, do the following:
Open Deploy > Environments in the left menu bar in the Developer Portal.
In the Deploy tab > Environments section, select the environment that you want to select for Studio deployment by clicking Details.
In the General tab, select Studio Target and click Change:
Only Technical Contact can see the Change button and click it.
In the Select Studio Target dialog window, click the drop-down menu and select the environment.
You have selected the environment for Studio.