Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing models using the Sceneform plugin on Android studio but getting 'error creating sfa'

I'm trying the new Sceneform SDK from Google for AR.

It says to use the Google Sceneform Tools plugin to import the assets. So I'm following all the steps mentioned here to import my assets.

While importing any 3D model (in .obj or .fbx format), everytime I get this error - error creating sfa with no other details of the error and then it gives an option to revert the process of asset importing.

I'm using Android Studio 3.1.2 and I'm on Linux OS (Ubuntu 18.04).

I have verified the steps again and again but everything looks fine. Anyone else facing this same issue ?

like image 685
Asutosh Panda Avatar asked May 13 '18 08:05

Asutosh Panda


People also ask

What can I use instead of Sceneform?

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

What is Sceneform plugin?

The Google Sceneform Tools (Beta) plugin is designed to help you work with 3D assets and the Sceneform SDK to build AR apps in Android Studio. It requires Android Studio versions 3.1 and above.


1 Answers

This solution on github helped me:

Link

1.right-click the 3D asset and select "Import Sceneform Asset"

2.click "finish"

3.click "keep broken gradle changes"

4.in the "gradle files have changed..." click "sync now" - the sync succeed, the .sfa file created in sampledata folder, and .sfb file created in assets folder

like image 166
Koorosh Avatar answered Sep 29 '22 12:09

Koorosh