JungHoon
JungHoon

Reputation: 302

Android Studio Resolve error. failed to find target android-18

Error image

Hello guys, Now I'm face on some error using android studio(0.3.6 version) (using at win8)

I cloned project from bitbucket and import project, but that error message occured.

what should I do?

ah! Project make from android studio version 0.3.2. is this reason?

In addition, how can I import external library at 0.3.6 project structure? should I make new module? then what?

anyway! thanks in advance. I hope to get answer!

Upvotes: 2

Views: 6991

Answers (2)

Scott Barta
Scott Barta

Reputation: 80020

Android Studio comes bundled with its own SDK, which may not have the same Android API targets you used to create the project in Eclipse. You can either add the APIs to Android Studio's SDK by clicking on the SDK Manager toolbar icon in Android Studio if you have a project open, or if you don't, from the Welcome screen choose Configure > SDK Manager, or you can tell Android Studio to use the same SDK you were using from Eclipse: Project Structure > Android SDK if you have a project open, or Welcome > Configure > Project Defaults > Project Structure > Android SDK if you don't.

Upvotes: 1

Smogger
Smogger

Reputation: 553

Compile the project with latest version of android , go to sdk manager and install the android api level 18 and then in your project right click open android tools and add support library. clean the project and restart the eclipse.

Upvotes: 1

Related Questions