How to turn off notification in Android Studio to set proxy configuration in the project's gradle.properties file? -


i'm switching our project eclipse android studio. had proxy settings in our project's gradle.properties file, realized have check file version control , expose passwords.

i moved these settings [user_home]/.gradle/gradle.properties , works fine, except android studio asks @ every gradle sync if want copy configuration project folder.

how turn notification off?

in ${idea.config.path}/options/options.xml file, there /application/component[@name='propertiescomponent']/property[@name='show.do.not.copy.http.proxy.settings.to.gradle'] element node.

  • if value true(default value), "proxy settings" dialog shown normally;

    <property name="show.do.not.copy.http.proxy.settings.to.gradle" value="true" />

  • if value false, android studio "do not ask again".

    <property name="show.do.not.copy.http.proxy.settings.to.gradle" value="false" />

tips:

  • don't forget click synchronize(ctrl+alt+y) button or file->synchronize, after change file.

  • idea.config.path set in android-studio\bin\idea.properties, default value ${user.home}/.androidstudio${version}/config


tested android studio 1.4 preview 2 @ win8.1 x64


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -