sceneform-android-sdk icon indicating copy to clipboard operation
sceneform-android-sdk copied to clipboard

Android studio is crashing with this error message after installing this plugin

Open mukherjeepritam opened this issue 6 years ago • 29 comments

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)

mukherjeepritam avatar Nov 02 '18 06:11 mukherjeepritam

To get your IDE back and running you have to remove the plugin from this directory "/.AndroidStudio3.2/config/plugins".

fizodev avatar Nov 09 '18 23:11 fizodev

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.

HEMAL-PATEL avatar Nov 12 '18 12:11 HEMAL-PATEL

Hi, I am using the android studio version 3.2.1. When i am installing the google sceneform tools (beta) from plugin after restarting.Android Studio getting crashed. Please suggest some solution for that.

  • Android Studio 3.2.1
  • Build #AI-181.5540.7.32.5056338, built on October 9, 2018
  • JRE: 1.8.0_152-release-1136-b06 amd64
  • JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  • Windows 7 6.1

maraj91 avatar Nov 30 '18 12:11 maraj91

Hi, I am using the android studio version 3.2.1. When i am installing the google sceneform tools (beta) from plugin after restarting.Android Studio getting crashed. Please suggest some solution for that.

  • Android Studio 3.2.1
  • Build #AI-181.5540.7.32.5056338, built on October 9, 2018
  • JRE: 1.8.0_152-release-1136-b06 amd64
  • JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
  • Windows 7 6.1

Hi @maraj91

Follow below steps to resolve your issue.

Step - 1: Remove your google scene tools (beta) plugin by going to below path in your PC C:\Users***.AndroidStudio3.2\config\plugins. And delete google scene form tools folder from your above path

Step - 2: Download Google Scene Form Tools Plugin version 1.4.0 from below link:

Google Sceneform Tools (Beta) OR Download Google Sceneform Tools Plugin

Step - 3: Install that plugin which you have download from above give link page. To install plugin follow below steps. Go to File menu -> Settings -> Plugins and click on Install plugin from Disk.. and select path where plugin downloaded in your PC.

Restart after installing plugin and enjoy it.

HEMAL-PATEL avatar Nov 30 '18 12:11 HEMAL-PATEL

Hi

There is a new update for google scene form tool with version number 1.6.0. And I have tried to update it from version 1.4.0 to 1.6.0. But still, android studio stops working and crash after updating and restart it. Again I try to open the android studio, it did not open.

The still crash issue is not resolved. Is anyone get the same issue?

HEMAL-PATEL avatar Dec 10 '18 09:12 HEMAL-PATEL

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:188)

I am getting above error when open android studio every time. My android studio details are as below:

  • Android Studio v 3.2.1
  • Google Sceneform Tool (beta) 1.4.0 (Note: I am not updating this plugin as Android Studio Crash after updating it with a new version (1.5.0 or 1.6.0))
  • Windows 10 Pro (64 bit)
  • RAM: 6GB
  • Processor: Intel Core i3 - 3210 CPU (3.20 GHz)

And in a viewer, I am not able to see the preview of the 3D object which we have created using Google Sceneform Tools for files (sfa and sfb).

HEMAL-PATEL avatar Jan 03 '19 07:01 HEMAL-PATEL

Having same issue when installing Google Sceneform Tools (Beta) (1.7.0) with Android Studio 3.3.1, but it works perfect with 1.4.0

ref

@HEMAL-PATEL

samigehi avatar Feb 15 '19 12:02 samigehi

Having same issue when installing Google Sceneform Tools (Beta) (1.7.0) with Android Studio 3.3.1, but it works perfect with 1.4.0

ref

@HEMAL-PATEL

@samigehi

That's right we are not able to update it from version 1.4.0 in Windows OS. While I tried it in Mac OS it updated and android studio open after updating it without a crash.

HEMAL-PATEL avatar Feb 15 '19 13:02 HEMAL-PATEL

Im using the plug-in without problems on Windows 10. Never had any crashes - but many other problems 😒

michaelvogt avatar Feb 15 '19 15:02 michaelvogt

I'm using the plug-in without problems on Windows 10. Never had any crashes - but many other problems 😒

@michaelvogt

But I am getting this issue in Windows 10 as early mention configurations. Android Studio crashed after updating that plugin from version 1.4.0 to latest one.

HEMAL-PATEL avatar Feb 16 '19 05:02 HEMAL-PATEL

Yes there is compatibility issue with latest version of android studio and win 10, when I update plugin to 1.6 or 1.7 even Android Studio wouldn't start. 😒 Hope so google-ar team will resolve ASAP

samigehi avatar Feb 16 '19 06:02 samigehi

I had to use the plugin today, and it worked as always. Which means its a annoying like hell until it does what it should.

But, I don't have crashes. So I wonder, what's different between our environments.

I have: Windows 10 (japanese) Always available AS betas. Which is currently 3.4 beta4 Java that comes with AS Always the Gradle requested by AS, currently 5.1.1 ARCore and Sceneform 1.7

michaelvogt avatar Feb 17 '19 17:02 michaelvogt

I had to use the plugin today, and it worked as always. Which means its a annoying like hell until it does what it should.

But, I don't have crashes. So I wonder, what's different between our environments.

I have: Windows 10 (japanese) Always available AS betas. Which is currently 3.4 beta4 Java that comes with AS Always the Gradle requested by AS, currently 5.1.1 ARCore and Sceneform 1.7

I have below configuration for my PC.:

  • OS: Windows 10 Pro (64 bit)
  • Android Studio: 3.3.1 (Stable)
  • RAM: 6GB
  • Processor: Intel Core i3 - 3210 CPU (3.20 GHz)
  • Sceneform Tool: 1.4.0 (Not using latest one as android studio crashed after updating it)
  • ARCore: Latest 1.6.0
  • JDK - 8u201

HEMAL-PATEL avatar Feb 18 '19 05:02 HEMAL-PATEL

Hi @michaelvogt

Is there any solution to resolve the crash issue. Because today I am trying a new thing to resolve the crash issue but it couldn't resolve. Still, android studio crashed. The way I am trying is as below:

  1. First I updated my JDK from version 1.8.0_65 to 1.8.0_101. Then I tried to update the plugin and then restart android studio which crashed after restarted.

  2. Then again I updated my JDK from version 1.8.0_101 to 1.8.0_201. Then tried to install the latest plugin and still crashed. Then I again tried to install old plugin version 1.5.0 and 1.6.0 but for that two plugins, it still crashed.

I did not crash only when I install 1.4.0 plugin and works fine.

Please help me to resolve this issue.

And I have also uploaded android studio idea log file in #517

HEMAL-PATEL avatar Mar 01 '19 12:03 HEMAL-PATEL

@HEMAL-PATEL I'd be happy to help, but I don't know enough about gradle plugins to debug them.

My suggestion would be to avoid this plugin, because even when its not crashing, it is very creative in finding all sorts of other trouble. I personally will definitely use gltf models in the future (when materials can finally be created programmatically), which can be imported directly. While this importer also has its problems, there is some interesting work happening for filament, that should make the gltf import work much better (they say).

When you need the plugin, I would probably make sure that sceneform and the plugin are the same version. Then I wonder if the project loads with all the sceneform.asset entries removed. Does it crash when adding a certain model as an sceneform.asset, or does it crash with any model?

michaelvogt avatar Mar 01 '19 15:03 michaelvogt

سلام

یک بروزرسانی جدید برای ابزار فرم صحنه گوگل با نسخه 1.6.0 وجود دارد. و من سعی کردم آن را از نسخه 1.4.0 تا 1.6.0 به روز کنم. اما هنوز، استودیوی آندروید پس از به روز رسانی و راه اندازی مجدد آن، کار می کند و سقوط می کند. باز هم من سعی می کنم استودیو اندیشه را باز کند، باز نشد.

هنوز موضوع تصادف حل نشده است. آیا کسی همان مسئله را دریافت می کند؟

hello, yes

yaserozhol avatar Mar 28 '19 17:03 yaserozhol

Hello There is a new upgrade to the Google Stage Form Tool with version 1.6.0. And I tried to update it from version 1.4.0 to 1.6.0. But still, the Android studio works and falls after it's upgraded and restarted. Again, I try to open the Android Studio, it did not open. Crash issue still not resolved. Does anyone receive the same issue?

hello, yes

Yes many developers are still getting same issue. Even with latest one version of 1.7.0 or 1.8.0.

HEMAL-PATEL avatar Mar 29 '19 05:03 HEMAL-PATEL

Same issue with Android Studio 3.4.1 and SceneFormPlugin 1.9.0 (beta). Don't know why new versions are being release without this major crash fix.

rastogitech avatar May 21 '19 04:05 rastogitech

Same issue with Android Studio 3.4.1 and SceneFormPlugin 1.9.0 (beta). Don't know why new versions are being released without this major crash fix.

That's right @rastogitech

Still facing many problems due to this issue. Not be able to use a new feature of this new latest tool.

HEMAL-PATEL avatar May 23 '19 07:05 HEMAL-PATEL

Yes am still facing this problem. Using Android Studio 3.4 with Sceneform Plugin 2.9

Barathwaja avatar Jun 06 '19 18:06 Barathwaja

Still crashing. Using Android Studio 3.4.2 with the sceneform plugin 1.10

Satish2804 avatar Jul 11 '19 13:07 Satish2804

Still crashing. Using Android Studio 3.4.2 with the sceneform plugin 1.10

Thats right. Nothing improvement from version 1.5 to 1.10. Android Studio crashed while updating from 1.4 to latest vestion.

HEMAL-PATEL avatar Jul 12 '19 07:07 HEMAL-PATEL

Hi @michaelvogt, Why this issue is not resolved yet. We are unable to check model configurations before running the app. Apart from that every time importing the assets is getting the problem.

Satish2804 avatar Aug 01 '19 12:08 Satish2804

@Satish2804 As I don't work for Google, I don't know. Activity around ARCore and Sceneform in general has been low (practically non existent).

They even didn't see it necessary to announce some catch-up features as they did so far.

michaelvogt avatar Aug 02 '19 04:08 michaelvogt

@Satish2804 As I don't work for Google, I don't know. Activity around ARCore and Sceneform, in general, has been low (practically non-existent).

They even didn't see it necessary to announce some catch-up features as they did so far.

@michaelvogt Sorry for misunderstanding you as a google developer and Thanks for the info.

Satish2804 avatar Aug 05 '19 07:08 Satish2804

facing same issue. android studio gets close while loading project.

chnouman avatar Sep 23 '19 06:09 chnouman

facing same issue. android studio gets close while loading project.

@chnouman Try to use the latest version of Android Studio with latest version of Sceneform plugin. In my PC that issue is resolved after installing latest version of Android Studio.

Before installing the latest version of Android Studio, first of uninstalling Android Studio completely (remove .AndroidStudio3.4 or other files).

Android Studio - v3.5 Sceneform Plugin - v1.12.0

HEMAL-PATEL avatar Sep 24 '19 05:09 HEMAL-PATEL

@HEMAL-PATEL I resolved this issue by simply removing the project from the path from where the android studio was loading it and placed it on another location. Then tried to open android studio it opened up normally. Again I open a project from a new location and it works. Don't know technical reason behind it.

chnouman avatar Sep 24 '19 05:09 chnouman

@HEMAL-PATEL thank you man you saved my day

erronblackk avatar Mar 10 '20 11:03 erronblackk