-
Notifications
You must be signed in to change notification settings - Fork 599
API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider() #408
Comments
Perhaps this is related:
|
Bro do you solve this problem??I also face this |
Gradle version : gradle-4.10.1-all.zip I got this log when build the project
the details log is same with @dmitry-kanunnikoff at the top |
The problem is still here. After successful connection to Firebase you can return your plugin and resync. Warning will appear again, but it is not important, because Firebase has configured already. |
Thank you, after changed version working fine |
I also face this,too.And found the version project gradle: buildscript {
repositories {
google()
...
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.ar.sceneform:plugin:1.5.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
} app gradle: dependencies {
...
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.5.1"
}
apply plugin: 'com.google.ar.sceneform.plugin'
sceneform.asset('sampledata/tiger/Mesh_BengalTiger.obj',
'default',
'sampledata/tiger/Mesh_BengalTiger.sfa',
'src/main/assets/Mesh_BengalTiger') |
Same here. |
In my case, it was caused from gms services 4.3.0. So i had to change it to:
I have found this by running:
in terminal. Go to view -> tool windows -> Terminal in Android Studio. |
Thanks bro, this worked for me. |
I think it's safe to use 4.3. This is a usual warning message that you'll see when upgrading google-services. That warning usually disappears before the method is removed end of 2019. |
worked..... wow.. |
Still now...
|
Chane com.google.gms:google-services:4.2.0 clastpath in project level gradle. |
ERROR: Failed to resolve: com.android.support.appcompat-v7:28.0.0: how to resolve??? |
Could you please send screenshot |
I had this warning after updating my classpath to 'com.google.gms:google-services:4.3.0' |
@Gunjan9sahoo maybe you should migrate to android X framework for support libraries. |
AndroidX does not change the problem. It still exists. |
i solved it thank you very much
…On Thu, Jul 11, 2019 at 8:21 PM mjjabarullah ***@***.***> wrote:
Could you please send screenshot
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#408?email_source=notifications&email_token=AKE3G3DX6PWGU3OZL4BERD3P65CHHA5CNFSM4GAHD4V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW6PNI#issuecomment-510519221>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKE3G3AYON7GK27T7QZ2OULP65CHHANCNFSM4GAHD4VQ>
.
|
i solved it thank you very much
…On Sat, Jul 13, 2019 at 11:58 PM Mendhie Emmanuel ***@***.***> wrote:
I had this warning after updating my classpath to
'com.google.gms:google-services:4.3.0'
So I returned it to 'com.google.gms:google-services:4.1.0' and the warning
was gone.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#408?email_source=notifications&email_token=AKE3G3GXI7FAW3OBSBMIEFDP7INEBA5CNFSM4GAHD4V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3W7VA#issuecomment-511143892>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKE3G3FR532ZR4UYSLXUAKTP7INEBANCNFSM4GAHD4VQ>
.
|
worked 👍 |
In my case, it was caused from gms services 4.3.0. So i had to change it to: com.google.gms:google-services:4.2.0 Thanks man for the answer. It worked for me. |
I got this when I run : Command 'gradlew' not found, did you mean: command 'gradle' from deb gradle Try: sudo apt install _ |
Run like |
when i change version 4.2.0 , i got an Exception "com.google.android.gms.common.api.ApiException: 12500:" like this on google signin |
I have the same problem. I don't find how to solve it. |
Thanks, it worked |
its working.... Thank You |
Maintain project gradle with these versions |
classpath 'com.google.gms:google-services:4.2.0' works! |
Worked for me. thanks |
This works for me. |
Related issue: google/play-services-plugins#79 |
Both |
I tried to lower the version to 4.2.0, but I still get the same error |
Thanks man solved it after chnaging
to
|
would like to make my login button have image how to I go
…On Wed, Aug 28, 2019 at 12:51 PM Ali Tamoor ***@***.***> wrote:
Thanks man solved it after chnaging 4.3.1 to 4.2.0 in the project level
build.gradle as
classpath 'com.google.gms:google-services:4.3.0'
to
classpath 'com.google.gms:google-services:4.2.0'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#408?email_source=notifications&email_token=AJ6BEOGIDTFILYQSLROJ2W3QGZDCNA5CNFSM4GAHD4V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5KRRDQ#issuecomment-525670542>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ6BEOEUOTV3PSBVBAOIBOLQGZDCNANCNFSM4GAHD4VQ>
.
|
Solved to me by,
good luck, |
With |
That problem was solved for me with |
That problem was solved for me with com.google.gms:google-services:4.3.2 |
Problem solved for me with com.google.gms:google-services:4,.3.2 as well. |
Fixed on |
This should be fixed on |
Good afternoon.
Thank you very much for your work.
But I have a problem with the latest plugin version (1.5.0) - Android Studio "says", that "API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'. It will be removed at the end of 2019.".
And seems the problem is in your plugin. It is the stacktrace:
And it is the reason, why I can't connect to Firebase and configure the notifications in my app.
Please, fix the problem in the future release.
Thank you in advance.
Regards.
The text was updated successfully, but these errors were encountered: