导入.sfb文件未在android的Asset Viewer窗口中打开

时间:2019-08-23 08:03:56

标签: android android-studio

我在Android中使用了Sceneform ar。当我将.fbx文件转换为导入Sceneform资产时,将在原始文件夹中成功创建该文件并将其添加到gadle文件中。但是它无法打开,看起来像是下面的错误...

File loaded in wrong encoding:'UTF-8'

enter image description here

2 个答案:

答案 0 :(得分:0)

您需要安装Google Sceneform Tools(Beta)插件才能查看.sfb文件。 从android-

遵循本指南

https://developers.google.com/ar/develop/java/sceneform/#import-sceneform-plugin

答案 1 :(得分:0)

将您的Sceneform插件更新为版本1.12.0。另外,将项目的build.gradle和应用程序的build.gradle中的各自场景格式版本更新为版本1.12.0