#google

I’ve been trying to update Gradle in my React Native PDF repository from the quite old version 2.2, to version 7.3, when I got the error Could not find method implementation() for arguments.

I’ve tried searching online and testing several suggestions, but most of them didn’t work.
Only after I’ve decided to update the, now deprecated JCenter repository, I’ve found the solution to this problem.

I’ve replaced jcenter() in my gradle.build file with mavenCentral(), like this:

1
2
3
4
5
6
7
8
9
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}

Thinking that the maven central is the de-facto standard for Java packages, I hoped everything will work correctly with the current setup.
However I kept getting the same error.
When I checked the maven central, I’ve found that the last build for android tools was from 2017!
Obviously, that would not be compatible with the lastest Gradle.

It looks like Google have stopped updating the Maven repository and this package should now be downloaded from their own - Google repository.
After updating the gradle.build with the following settings, the error was resolved:

1
2
3
4
5
6
7
8
9
buildscript {
repositories {
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}

In the beginning of this year, YouTube started rolling out a feature they called “Official artist channels”, meant to make it more easy to find content from your favorite artists.

However, while I was browsing, I stumbled upon this video from Lenka:

Only to find a surprise. I liked the song and I wanted to see if there are more like this on her channel… but the link didn’t lead to her channel.

From the screenshot, you can see that, instead, I was led to an empty channel owned by Sony Media Entertainment. It seems that she was partnered with SME before, but cancelled her contract, so why is the “Official channel” still the now empty SME channel? I’ve reported this bug on 24th of October 2018 and now, over a month later, it’s still not fixed.

Funny thing is that when embedded, the above video shows the channel name as “LenkaVEVO” while on the YouTube page it shows “lenkatv”. If you search LenkaVEVO on Google, it will lead you to the correct channel.

YouTube, the community have been asking for some stability to the already existing features, before adding new ones.