Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

Android studio crashes when installing Google sceneform Tools (Beta) 1.6.0 #517

Open
BharathBunty opened this issue Jan 30, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@BharathBunty
Copy link

Getting this warning..

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 a stack trace.
Affected Modules: app

@tpsiaki
Copy link
Contributor

tpsiaki commented Feb 19, 2019

Hi @BharathBunty - Thank you for the report. The getMergeAssets warning is from the Sceneform gradle plugin and should not cause the Android Studio plugin to crash. The crash is likely caused by something else - will you try enabling the 1.7 Google Sceneform Tools plugin in Android Studio, restarting (to trigger the crash), and then when you open Android Studio after the crash (it should disable the plugin again), please go to Help > Show Log in Explorer, and share out the idea.log file?

Also if you could note the platform you're running on that would be helpful.

@tpsiaki tpsiaki added the bug Something isn't working label Feb 19, 2019
@BharathBunty
Copy link
Author

Hi @tpsiaki i have uploaded my idea.log file.. i am using android 3.3.1 new release , sorry to inform that it crashes for 1.7 Google Sceneform Tools Plugin also..

idea.log

@HEMAL-PATEL
Copy link

Hi @BharathBunty - Thank you for the report. The getMergeAssets warning is from the Sceneform gradle plugin and should not cause the Android Studio plugin to crash. The crash is likely caused by something else - will you try enabling the 1.7 Google Sceneform Tools plugin in Android Studio, restarting (to trigger the crash), and then when you open Android Studio after the crash (it should disable the plugin again), please go to Help > Show Log in Explorer, and share out the idea.log file?

Also if you could note the platform you're running on that would be helpful.

Hi @tpsiaki

As you have say about getMergeAssets warning is from Sceneform gradle plugin but, its now from that plugin. It error comes when your are using gradle plugin 4.10.1 version for any android project.

And Android Studio crashed due to the plugin update after 1.4.0 which is faced by many developers. And we are not be able to update this plugin after version 1.4.0. For that see #409 issue. We have mention it with our development configurations.

And today I am trying to update my JDK version and the try this plugin with different version after 1.4.0 to still latest one. But in all 3 version android studio crashed after restarting android studio. And here I am sharing my log file. Please check it and help us to resolve issue.

My current JDK version is: jdk_1.8.0_201 (This is after updating jdk) and before that I have used version jdk_1.8.0_101 and before this version I am using jdk_1.8.0_65.

idea.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants