Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why would Android Studio 1.0 rc start downloading Android SDK without detecting if there existing one?

Tags:

android

sdk

I've installed Android Studio 1.0 rc and Android SDK in my Archlinux box. But when I try to create a new Android Application, the AS would try to download another set of SDK directly from dl-ssl.google.com. I mean why, why wouldn't it start first and let me configure the SDK path? (I am in mainland China, so the connect will be reset all the times, in another word, AS will not start to workspace.

like image 639
UnixAgain Avatar asked Dec 05 '22 23:12

UnixAgain


1 Answers

Looks like that is in the known issues list: http://tools.android.com/knownissues

A bug in Android Studio 1.0 RC1 causes the Setup Wizard to show up and ask you to install an SDK on each startup. To work around this, you can edit the idea.properties file in the bin folder such that it has the below line as well:

disable.android.first.run=true

PLEASE NOTE: This will break patch updating to the next version. We now check full binary checksums on the whole installation to prevent various install corruption bugs as well as to preserve application signatures. Therefore, make a copy of this file first, and before updating, put it back. (Alternatively, just download the full image of RC2 when it is released.)

like image 196
Wedge Avatar answered Dec 10 '22 11:12

Wedge