1

I am using Android Studio version 4.0 and to get started with Sceneform 1.15.0 i firstly added all the dependencies and plugins mentioned here . Inside my sampledata folder in the app folder i have added both .obj and .mtl files for the model. Now when i click import sceneform asset i don't see any .sfa or .sfb file generated in any of my project folders. Though Sceneform 1.18.0 is available at the moment but I am using Sceneform 1.15.0 since support for .sfa and.sfb was removed in Sceneform 1.16.0 as mentioned here. How to fix this issue ?

mehul bisht
  • 682
  • 5
  • 15

1 Answers1

0

You will have to do it manually.

Error while importing FBX with Import Sceneform Asset in Android Studio 3.6 I had the same issue and was able to fix it using this.

Have a look at the answer with the 4 steps. After the gradle sync finishes don't forget to rebuild the project.

  • ok so i wasn't rebuilding the project so i do have the .sfa and .sfb files generated now as mentioned in that 4-step method but on opening the sfb file i get the error as "File was loaded with wrong encoding 'UTF-8' " – mehul bisht Jul 19 '20 at 08:39
  • I get the same UTF - 8 error, let me know if you figure it out? – Aryan Chand Jul 19 '20 at 10:42
  • Also Mehul since we are both new to AR and are facing issues would you mind sharing your email id so that we can help each other? I completely understand if you wish not to share it. – Aryan Chand Jul 19 '20 at 10:44
  • Aryan i would definitely have no problem in that but even though my device is android 9 and google play services for android require android 7+, my device still shows not supported and my laptop isn't powerful enough for an emulator with 4GB of RAM . For now i'm no longer working on AR so i don't think it will be helpful even if i drop my email here. But good luck to you for making great AR apps in the future ! – mehul bisht Jul 20 '20 at 14:20