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
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 checkC:\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.
import androidx.annotation.Nullable
. If you are uncertain of an androidx import look up the corresponding file's imports and lines in github.com/CsabaConsulting/ARPhysics/tree/master/sceneformsrc and github.com/CsabaConsulting/ARPhysics/tree/master/sceneformux –
Fiddlededee 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))
...
To make the error go away after Android Studio updation,
Just go to this path
- For windows - C:\Users\User Name\AppData\Roaming\Google\AndroidStudio4.1\plugins
- For Linux - ~/.local/share/Google/AndroidStudio4.1/plugins
You can see all the installed plugins' folders and there you have to delete the sceneform folder.
© 2022 - 2024 — McMap. All rights reserved.