android - build.gradle dependencies auto updates itself -
compile 'com.google.android.gms:play-services:8.3.0' compile 'com.android.support:support-v4:22.2.1' compile 'com.android.support:design:22.2.1'
to
compile 'com.google.android.gms:play-services:8.4.0' compile 'com.android.support:support-v4:23.1.0' compile 'com.android.support:design:23.1.0'
time time, android studio automatically change values latest version extremely annoying , breaks application. there way prevent happening?
did google search , stackoverflow searched nothing came up.
instead of:
compile 'com.google.android.gms:play-services:8.3.0' compile 'com.android.support:support-v4:22.2.1' compile 'com.android.support:design:22.2.1'
try:
playversion = '8.3.0' supportversion = 'support-v4:22.2.1' designversion = '22.2.1' compile "com.google.android.gms:play-services:$playversion" compile "com.android.support:$supportversion" compile "com.android.support:design:$designversion"
remember replace '
s "
s.
Comments
Post a Comment