Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

After importing 1-Base, SDK location not found #2

Open
dodokov opened this issue Oct 24, 2015 · 6 comments
Open

After importing 1-Base, SDK location not found #2

dodokov opened this issue Oct 24, 2015 · 6 comments
Assignees

Comments

@dodokov
Copy link

dodokov commented Oct 24, 2015

  1. Double checked local.properties in root have location of my SDK: sdk.dir=/Applications/android-sdk-mac_x86. (Using Mac, 10.11). Tried manually to change SDK location in sdk.dir using relative notation ../../../ (etc), same outcome
  2. Tools-Android-SDK Managers sees SDK, all updated, Android Support Library 23.1 Installed, Build-tools 23.1 installed, SDK tools 24.4.1 installed
  3. while importing project, tried both manually specifying Gradle location (inside AStudio package (2.4)), or leave it for AStudio to download Gradle

Anyone has suggestions? Other projects on this machine works without problem (projects using design support lib)

@andreipop
Copy link

@dodokov The project appears to be set up as a module inside the 'android-design-library' project. If you clone the repo and import 'android-design-library' instead of just 1-Base, you can then run it.

@tjohns tjohns self-assigned this Nov 2, 2015
@edoan
Copy link

edoan commented Nov 18, 2015

Perhaps Step 2 on this page (https://www.code-labs.io/codelabs/material-design-style/index.html#1) should be omitted:
Select the 1-Base directory from the sample code folder (Quickstart > Import Project… > 1-Base).

Importing the entire android-design-library-master folder into Android Studio works with no Gradle errors.

@sih4sing5hong5
Copy link

sih4sing5hong5 commented May 10, 2016

I got same error when I import the 1-Base folder.
I change to import the entire android-design-library-master folder into Android Studio,
and then fix the error.

Thank you! @andreipop and @edoan

@juanjoc333
Copy link

Same here, importing the entire android-design-library-master solves the problem. Thanks @andreipop and @edoan

@taquo
Copy link
Contributor

taquo commented Aug 17, 2016

Apologize for confusion, I'll update codelab doc, to make sure import entire android-design-library-master.

@baggednismo
Copy link

I spent the last 30 minutes checking environment variables, local.properties, project structure & invalidating caches to find this issue by chance. Thanks for the information, I was about to give up on the demo app entirely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants