无法生成Sceneform 1.15.0 .sfa和.sfb文件

时间:2020-07-16 09:28:02

标签: android kotlin sceneform

我正在使用Android Studio version 4.0,并从Sceneform 1.15.0开始,我首先添加了here中提到的所有依赖项和插件。 在sampledata文件夹的app文件夹中,我添加了模型的.obj.mtl文件。现在,当我单击import sceneform asset时,在我的任何项目文件夹中都看不到任何.sfa.sfb文件。尽管目前Sceneform 1.18.0可用,但是我正在使用Sceneform 1.15.0,因为.sfa中对.sfbSceneform 1.16.0的支持已被here删除。 如何解决此问题?

1 个答案:

答案 0 :(得分:0)

您将必须手动进行。

Error while importing FBX with Import Sceneform Asset in Android Studio 3.6 我遇到了同样的问题,并能够使用此问题进行修复。

通过4个步骤查看答案。 gradle同步完成后,别忘了重建项目。