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

Android studio is crashing with this error message #411

Open
AbhishekPantUK opened this issue Nov 2, 2018 · 14 comments
Open

Android studio is crashing with this error message #411

AbhishekPantUK opened this issue Nov 2, 2018 · 14 comments
Labels
bug Something isn't working

Comments

@AbhishekPantUK
Copy link

Error Message "Couldn't create Engine"
Couldn't create Engine
java.lang.IllegalStateException: Couldn't create Engine
at com.google.android.filament.Engine.create(Engine.java:37)
at com.google.ar.sceneform.filament.wrapper.Engine.create(Engine.java:14)
at com.google.ar.sceneform.plugin.viewer.Filament$3.run(Filament.java:192)

@tpsiaki
Copy link
Contributor

tpsiaki commented Nov 6, 2018

Hi, did you recently upgrade or install the Sceneform plugin for the first time? Which OS and version of Android Studio are you running?

@AbhishekPantUK
Copy link
Author

Hi, I have install Scenform plugin for first time, I am using Android Studio 3.2.1 and ubuntu 14.04 LTS.

@HEMAL-PATEL
Copy link

Hi,

I am using android studio version 3.1.4. When I am updating Google SceneForm Tools(Beta) plugin from 1.4.0 to 1.5.0, android studio stop working in Windows. I have also try to update Android Studio with the latest version (3.2.0 / 3.2.1) but the same issue occurred android studio stop working.

My PC Configuration is as below:
OS: Windows 10 Pro (64 bit)
RAM: 6GB
Processor: Intel Core i3 - 3210 CPU (3.20 GHz)

Android Studio: 3.1.4
Google SceneForm Tool: 1.4.0

Please help me to resolve this issue.

@tpsiaki tpsiaki added the bug Something isn't working label Nov 12, 2018
@tpsiaki
Copy link
Contributor

tpsiaki commented Nov 12, 2018

@AbhishekPantUK - Thanks! We have a fix for the crash you reported on Linux and it will be available in an upcoming plugin release.

@tpsiaki
Copy link
Contributor

tpsiaki commented Nov 12, 2018

@HEMAL-VES - What is the error message you are getting when you try to launch on Windows? Is it the same one as reported above in this issue?

@HEMAL-PATEL
Copy link

@HEMAL-VES - What is the error message you are getting when you try to launch on Windows? Is it the same one as reported above in this issue?

I am not getting any error message. It just shows that android studio stops working with close program option. And not be able to open android studio.

Yesterday I have just updated Android Studio to the latest version and install Google SceneForm Tool plugin version 1.4.0 which works fines but when I am updating it to the latest version (1.5.0) Android Studio stops working.

@Qenawi
Copy link

Qenawi commented Nov 18, 2018

i had the same problem and solved it by resting android studio like follow -
bug cause-> Sceneform plugin
bug fix->
delete android studio 3.x file in C:\Users"username" and lunch android as normal
and disable Sceneform plugin

@HEMAL-PATEL
Copy link

I had the same problem and solved it by resting android studio like follow -
bug cause-> Scene from a plugin
bug fix->
delete android studio 3.x file in C:\Users " username" and lunch android as normal
and disable the Scene from a plugin

I have also tried this way but It does not work. So, I just update Android Studio to 3.2.1 version and added Sceneform plugin with a version of 1.4.0 which works fine.

@HEMAL-PATEL
Copy link

There is one more issue with Scene from a plugin. As Sceneform plugin shows the preview of the 3D object in the viewer. I am not able to show preview file for any 3D object. This issue occurs on any version of the android studio after 3.1.0 and any version of scene from plugin

@mistrydarshan99
Copy link

I have faced the same issue every time in the android studio.
Android studio canary version: 3.4 canary 4
Sceneform plugin version: 1.5

sceneform plugin

@jamie-kb
Copy link

I'm having the same issue as mistrydarshan99, with the beta and 1.4 versions of Sceneform. Running on Debian 9 with a new install of everything.

@babasureshpal
Copy link

Was anyone able to resolve it??

I am also facing similar issue on my Mac machine.
I have Android studio 3.3 and Sceneform plugin version 1.6.

Android Studio crashes multiple times with same exception.
And whenever it runs, I can not see any preview for my 3D assets.
Whenever I try to open model, Android Studio says there is fatal error and following exceptions can be seen:
java.lang.IllegalStateException: Couldn't create Engine at com.google.android.filament.Engine.create(Engine.java:37) at com.google.ar.sceneform.filament.wrapper.Engine.create(Engine.java:18) at com.google.ar.sceneform.plugin.viewer.Filamentor$3.run(Filamentor.java:191)

Then it will ask to disable Sceneform plugin.

@HEMAL-PATEL
Copy link

Was anyone able to resolve it??

I am also facing similar issue on my Mac machine.
I have Android studio 3.3 and Sceneform plugin version 1.6.

Android Studio crashes multiple times with same exception.
And whenever it runs, I can not see any preview for my 3D assets.
Whenever I try to open model, Android Studio says there is fatal error and following exceptions can be seen:
java.lang.IllegalStateException: Couldn't create Engine at com.google.android.filament.Engine.create(Engine.java:37) at com.google.ar.sceneform.filament.wrapper.Engine.create(Engine.java:18) at com.google.ar.sceneform.plugin.viewer.Filamentor$3.run(Filamentor.java:191)

Then it will ask to disable Sceneform plugin.

Hello @babasuresh ,

The solution is that you have to downgrade Sceneform plugin with version 1.4.0 in which Android Studio will not crash. The version after 1.4.0 version can not be used as Android Studio will crash.

For resolving your crash issue and downgrade Sceneform plugin folllow instruction which I mention on another issue #409

@dabcmexpertise
Copy link

dabcmexpertise commented Feb 27, 2020

For Ubuntu users, Go to Home Directory, Search for .androidstudio 3.5 or related versions. Goto Plugins and search for sceneform plugin. Remove that folder and restart IDE. And Thank me to save your precious time!
Need more help then contact : darshan.cmexpertise@gmail.com

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

8 participants