Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Plugin "Google Sceneform Tools (Beta)" is incompatible (supported only in IntelliJ IDEA)' [closed]

I am getting an error Plugin "Google Sceneform Tools (Beta)" is incompatible (supported only in IntelliJ IDEA)**. I installed Google Sceneform Tools (Beta) plugin from plugins and after restarting the error stated above is shown. I am currently using Android Studio 4.1

like image 374
Abhinav Gupta Avatar asked Oct 28 '20 13:10

Abhinav Gupta


People also ask

What can I use instead of Sceneform?

Sceneform maintained and successor:SceneView - Kotlin Successor : SceneView/sceneview-android.

What is Sceneform plugin?

Once installed, the Sceneform plugin lets you import, view, and build 3D assets in the Sceneform SDK for AR apps in Android Studio. It requires Android Studio versions 3.1 and above.


2 Answers

TL;DR: to make the error message go away I'd suggest to manually remove the plugin because it's not listed in the installed plugin list (possibly due to the error). To do that you need to navigate to the plugin folder and delete the directory of the Sceneform plugin. The folder location is operating system dependent, assuming here that the Android Studio version is 4.1:

  • For Windows: C:\Users\{USER}\AppData\Roaming\Google or also check C:\Users\{USER}\.AndroidStudio4.1\config\plugins
  • For MacOS: ~/Library/Application\ Support/Google/AndroidStudio4.1/plugins/ (you may check out ~/Library/Application\ Support/AndroidStudio/marketplace or other places for older versions, see Where is the plugin folder for Android Studio on MAC)
  • For Linux: ~/.local/share/Google/AndroidStudio4.1/

Update: here is maintained successor of the Google Sceneform source code advised by Romain Guy: https://twitter.com/romainguy/status/1371864003882807300?s=03 https://github.com/ThomasGorisse/sceneform-android-sdk


Adding to @GokulDAS027's answer (that the plugin is deprecated) you can also see that the Sceneform Github repo (https://github.com/google-ar/sceneform-android-sdk/) is archived. Now you have to basically make sceneformsrc and sceneformux directories part of your project. See my blog post: https://csaba.page/blog/sceneform-breaking-change.html. Or just follow the archived Sceneform repository's README. One gotcha is that if you start recently you probably have an AndroidX project, and you need to upgrade Sceneform's source code to AndroidX. You can fish among the forks of the archived repository. Many people perform some code re-styling and refactoring, while I did just the necessary changes, you are welcome to just copy those two directories from the https://github.com/CsabaConsulting/ARPhysics repository.

Sceneform is an abstraction layer over ARCore. It offers great things like TransformableNode or a notch higher level abstractions than ARCore. It's up to you to decide if it offers enough features that you embrace it as a whole, or maybe you'll cherry pick. One thing you won't have though is the plugin. As we saw that provided some sfa/sfb compilation tooling and visualization panes for those objects in Android Studio. @GokulDAS027 mentions that you can use more standard formats for your models now.

like image 108
Csaba Toth Avatar answered Sep 28 '22 01:09

Csaba Toth


Google has deprecated the Sceneform library earlier this year. But since the library itself was opensourced, we can still use and modify it. But can't expect support for the plugin.

The plugin was intended to help loading .sfb(3d file format for Sceneform) but later, this format was ditched and started supporting the standard GLB, glTF, Obj and other formats. So probably you won't need the plugin anymore. Also, loading GLB is easy, just place it in the assets folder and load it in

ModelRenderable.builder()
        .setSource(context, Uri.parse(ASSET_LOC))
        ...
like image 41
GokulDAS027 Avatar answered Sep 28 '22 02:09

GokulDAS027