Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio - Failed to refresh Gradle project - failed to find target 4.4w

enter image description here

I'm trying to move my project from eclipse into android studio so that I can start building an android wear app. I exported the app from eclipse and imported it into android studio. However, when I try and add the android wear app, I start getting the error message "failed to find target 4.4w" see screen shot.

When creating a brand new project, this error does not occur. I noticed that i'm still running on android api 19 for external libraries, but I can't upgrade it since it can't find it.

The 4.4w is installed via sdk manager, why can't android studio see this?

like image 322
TWilly Avatar asked Jul 01 '14 16:07

TWilly


1 Answers

For some reason, the wear project had '4.4w' as the build target, i updated this to 20 and the error went away.

like image 155
TWilly Avatar answered Nov 03 '22 00:11

TWilly