[10:45:31] ping codezee [16:39:53] Hi, I clone the project and try to build it. But unfortunately "Gradle sync failed: Could not find method compile() for arguments [com.android.support:support-core-utils:25.0.1] on DefaultExternalModuleDependency{group='com.android.support', name='support-compat', version='25.0.1', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency. Please install the [16:40:03] " error comes up [16:40:25] I have already installed the Android Support repository [16:41:18] Can someone help me to get rid of this error and successfully build and run the wikipedia android project in Android studio [16:42:58] MaxSem: anything look wrong here? https://en.wikipedia.org/w/api.php?action=query&format=json&generator=search&gsrsearch=bridge%7Cnearcoord%3A37.77666667%2C-122.39 [16:46:00] https://en.wikipedia.org/w/index.php?search=bridge+nearcoord+37.77666667+12.39&title=Special:Search&go=Go&searchToken=7jkdoloev5i6er7nhsorfm8y6 [16:54:00] coreyfloyd, you used pipe [16:54:43] MaxSem: whats the right format? [16:55:06] https://www.mediawiki.org/wiki/Help:CirrusSearch [16:55:18] (aka use spaces) [16:56:05] MaxSem: ahh… thanks [17:21:17] sandaru: o/ hi there and sorry you're having trouble building the project! i haven't seen that error before and it shouldn't happen from a fresh clone of the repo. what OS are you using? [17:21:48] Mac OS [17:24:21] sandaru: and you made no changes to either of the build.gradle files (either the one on the root directory or the one in app/ )? [17:24:33] yeah [17:24:42] I didn't make any changes [17:24:53] https://www.mediawiki.org/wiki/Wikimedia_Apps/Team/Wikipedia_Android_app_hacking [17:24:54] sandaru: hmmm, yeah, i would have guessed not [17:25:12] I followed this. And cloned and try to build [17:25:51] sandaru: i'm on mac OS as well, let me see if i can at least reproduce the error [17:26:04] Sure. Thank you very much [17:26:21] OS shouldn't matter but i'm not seeing any obvious causes [17:26:34] meanwhile I am still trying to find a solution googling [17:32:53] Do you think something is wrong with the build.gradle file? [17:44:06] sandaru: that's what the error would seem to indicate, but i just built it without any trouble. [17:44:14] it looks like your copied message was cut off above [17:44:18] "Please install the... " [17:44:21] is there more? [17:44:57] Gradle sync failed: Could not find method compile() for arguments [com.android.support:support-core-utils:25.0.1] on DefaultExternalModuleDependency{group='com.android.support', name='support-compat', version='25.0.1', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency. Please install the Android Support Repository from the Android SDK Manager. [17:45:11] This is the complete message [17:45:58] sandaru: thanks [17:46:35] sandaru: i have v.41.0.0 of the Android Support Repository and the v.41 of the Google Repository. Do you have the same? [17:46:37] I tried removing the Android Support Repository and reinstalling it [17:47:10] yeah [17:47:22] I have the same versions [17:48:36] What is the compile sdk version? I selected it as API25 : Android 7.1.1 [17:49:26] Build Tools version 25.0.1 [17:53:40] sandaru: another possibility is that if you have the Android SDK installed in multiple locations on your machine (say, an old installation located elsewhere), the SDK manager could be looking in the wrong place [17:53:51] sandaru: i've run into that kind of problem in the past [17:54:00] Ah That can be a problem :D [17:54:06] I will check that [18:01:42] mdholloway: I checked the sdk location and the location where sdk manager installs, and they are the same [18:04:07] sandaru: is the same location also given in your local.properties file for the project? [18:06:16] yes it is the same [18:08:17] mdholloway: I tried cleaning everything. Getting a new clone and building again. That worked. :D [18:08:47] sandaru: ah, nice. i was about to recommend getting rid of all old SDK installations and working from one main one. i'm glad to hear you got it working! [18:09:03] Thank you very much for the help! :D [18:09:08] sandaru: you're welcome! [18:12:19] mdholloway: i liked that x'ed out album you shared last week, particularly the until lufthansa song which reminds me a little of ozma [18:27:05] niedzielski: glad you liked it! i haven't listened to much ozma, i'll have to check that out [18:27:58] really great guitar. kind of like a russian weezer [19:46:36] niedzielski-afk: wow, they don't try to hide the weezer influence :D [19:46:57] niedzielski-afk: there's another ozma record i listened to a long time ago and thought was pretty weird but it turns out that's a different ozma [20:46:51] jdlrobson, mdholloway: last call for https://gerrit.wikimedia.org/r/#/c/332423. I would love to get this deployed today (window starts in 13 minutes) [20:49:28] bearND: looking [21:09:01] Bearnd it looks fine to me but I haven't tested it or truly groked what its fixing but I'm fine with it being merged if mdholloway says it's good [21:09:16] Did we miss the window? [21:10:37] jdlrobson: bearND: just hit +2, i think there's still time (the window's an hour long) [21:20:45] jdlrobson: the icons on staging still dont look right, do you wanna sync today or tomorrow when you are in office