Bug #1380
build issue with gradle and studio
0%
Description
I am getting this when I try to "assembleDebug" (cli) and also in studio http://dl.dropbox.com/u/364883/Screenshots/ro9w.png:
$ gradle clean assembleDebug FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'pluto'. > Could not resolve all dependencies for configuration ':_debugCompile'. > Could not find any version that matches com.android.support:support-v4:19.1.+. Required by: :pluto:unspecified * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 3.225 secs
History
#1 Updated by cpg about 8 years ago
i should have mentioned that i updated studio to 0.5.8 and the sdk to the latest at this time, 19.1
megabitdragon suggested i try Tools -> Android -> Sync Project with Gradle Files in studio
i get: http://dl.dropbox.com/u/364883/Screenshots/kmj0.png
then when i double click i get: http://dl.dropbox.com/u/364883/Screenshots/6g8p.png
#2 Updated by ming about 8 years ago
You haven’t installed the Android support repo as the README.md
file mentions. I just included the Gradle plugin which should download Android components itself, you can try it first or install the repo manually.
#3 Updated by cpg about 8 years ago
- Status changed from New to Closed
- Assignee set to ming
my bad. i did not realize that was new in the readme and only really "synced" from studio.
thanks!
Also available in: Atom