Open Kanunnikoff opened 6 years ago
Perhaps this is related:
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. REASON: It is currently called from the following trace: java.lang.Thread.getStackTrace(Thread.java:1556) com.android.build.gradle.internal.errors.DeprecationReporterImpl.reportDeprecatedApi(DeprecationReporterImpl.kt:79) com.android.build.gradle.internal.api.BaseVariantImpl.getMergeAssets(BaseVariantImpl.java:374) com.android.build.gradle.internal.api.ApplicationVariantImpl_Decorated.getMergeAssets(null:-1) com.google.ar.sceneform.plugin.SceneformAssets$1.execute(SceneformAssets.java:55) com.google.ar.sceneform.plugin.SceneformAssets$1.execute(SceneformAssets.java:47) ...
Bro do you solve this problem??I also face this
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.7.0'
Gradle version : gradle-4.10.1-all.zip Android studio version : 3.3.1
I got this log when build the project
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019.
the details log is same with @dmitry-kanunnikoff at the top
Bro do you solve this problem??I also face this
The problem is still here. But you can switch off Sceneform plugin, sync and try to connect to Firebase again - must be success now.
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.
implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.7.0'
Gradle version : gradle-4.10.1-all.zip Android studio version : 3.3.1
I got this log when build the project
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019.
the details log is same with @dmitry-kanunnikoff at the top
Thank you, after changed version working fine
I also face this,too.And found the version 1.5.1
working fine.
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:
com.google.gms:google-services:4.2.0
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
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.
@numankaraaslan See https://github.com/google/play-services-plugins/issues/65
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
worked..... wow..
Still now...
WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Affected Modules: app
Chane com.google.gms:google-services:4.2.0 clastpath in project level gradle.
Failed to resolve: com.android.support.appcompat-v7:28.0.0: | |
---|---|
Sync Failed | 8 s 69 ms |
ERROR: Failed to resolve: com.android.support.appcompat-v7:28.0.0: Affected Modules: app
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' So I returned it to 'com.google.gms:google-services:4.1.0' and the warning was gone.
@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 notifications@github.com wrote:
Could you please send screenshot
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google-ar/sceneform-android-sdk/issues/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 notifications@github.com 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 https://github.com/google-ar/sceneform-android-sdk/issues/408?email_source=notifications&email_token=AKE3G3GXI7FAW3OBSBMIEFDP7INEBA5CNFSM4GAHD4V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3W7VA#issuecomment-511143892, or mute the thread https://github.com/notifications/unsubscribe-auth/AKE3G3FR532ZR4UYSLXUAKTP7INEBANCNFSM4GAHD4VQ .
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
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 : _### lorraine@chepkemoi:~/AndroidStudioProjects/MyApplication$ gradlew sync -Pandroid.debug.obsoleteApi=true
Command 'gradlew' not found, did you mean:
command 'gradle' from deb gradle
Try: sudo apt install
I got this when I run : _### lorraine@chepkemoi:~/AndroidStudioProjects/MyApplication$ gradlew sync -Pandroid.debug.obsoleteApi=true
Command 'gradlew' not found, did you mean:
command 'gradle' from deb gradle
Try: sudo apt install _
Run like ./gradlew ...
Chane com.google.gms:google-services:4.2.0 clastpath in project level gradle.
when i change version 4.2.0 , i got an Exception "com.google.android.gms.common.api.ApiException: 12500:" like this on google signin
Chane com.google.gms:google-services:4.2.0 clastpath in project level gradle.
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.
I had this warning after updating my classpath to 'com.google.gms:google-services:4.3.0'
Thanks, it 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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
its working.... Thank You
Maintain project gradle with these versions classpath 'com.android.tools.build:gradle:3.4.2' classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.gms:google-services:4.2.0' works!
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
Worked for me. thanks
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
This works for me.
Related issue: https://github.com/google/play-services-plugins/issues/79
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
I have found this by running:
gradlew sync -Pandroid.debug.obsoleteApi=true
in terminal. Go to view -> tool windows -> Terminal in Android Studio. Gms services will probably fix this in the future versions.
Both 4.3.0
and 4.3.1
are causing this. I'm surprised to see how Google have not corrected this in the latest version (4.3.1
).
I tried to lower the version to 4.2.0, but I still get the same error
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'
would like to make my login button have image how to I go
On Wed, Aug 28, 2019 at 12:51 PM Ali Tamoor notifications@github.com 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 https://github.com/google-ar/sceneform-android-sdk/issues/408?email_source=notifications&email_token=AJ6BEOGIDTFILYQSLROJ2W3QGZDCNA5CNFSM4GAHD4V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5KRRDQ#issuecomment-525670542, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ6BEOEUOTV3PSBVBAOIBOLQGZDCNANCNFSM4GAHD4VQ .
Solved to me by, 1) Go to the (project-level) build.Gradle file; 2) in dependencies{} set the version of google-services to an older version like 4.2.0; Like: classpath 'com.google.gms:google-services:4.2.0'
good luck,
With com.google.gms:google-services:4.3.2
I still have the same warning.
But reverting to 4.2.0 might be worse than having this warning, IMO.
That problem was solved for me with com.google.gms:google-services:4.3.2
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 com.google.gms:google-services:4.3.3
This should be fixed on com.google.gms:google-services:4.3.3
. Reverting to com.google.gms:google-services:4.2.0
isn't a good solution
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.