Hi,

I already have local.properties configured that way.

For some reason it is not liking the way that the SDK directory is 
configured. Last time 
(http://code.google.com/p/android/issues/detail?id=57398), it was trying to 
create a directory for a missing part which failed due to not having write 
access. I cannot find any log of the error in the idea.log file and setting 
via the Project Structure dialog does not yield any useful info (hence the 
message).

NOTE: The SDK works and I can build the project via Gradle on the command 
line and in Android Studio. The Run (Edit Configuration) dialog reports 
"Error: Please select Android SDK".

Thanks,
- Reece H. Dunn

On Wednesday, 21 May 2014 00:04:17 UTC+1, Tor Norbye wrote:
>
> As a workaround try setting it in your project's local.properties file. 
> The IDE should read it from there (and if it differs from the IDE's own 
> setting, ask which one to use).
>
> local.properties:
> sdk.dir=/usr/lib/android-sdk
>
>
> On Sun, May 18, 2014 at 9:00 AM, Reece Dunn 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi,
>>
>> I am trying to set the Android SDK location to /usr/lib/android-sdk, but 
>> the Project Structure dialog is not persisting the path and there is no 
>> information that anything went wrong/why it is not persisting it.
>>
>> The path exists, and contains a platforms/android-18 folder (i.e. 
>> /usr/lib/android-sdk/platforms/android-18). It is locked from being 
>> modified by me, as I am running as a regular user and the files have been 
>> installed as the root (Administrator) user. Everything else works with this 
>> set-up.
>>
>> I have reported issue 69787 (
>> http://code.google.com/p/android/issues/detail?id=69787) to cover the 
>> lack of error reporting.
>>
>> I can build the project on the command like, but cannot get it to work in 
>> Android Studio (including running the APK on an emulator).
>>
>> Thanks,
>> - Reece H. Dunn
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "adt-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to