导入Sceneform资源时出现此错误。我已经添加了
dependencies {
classpath 'com.google.ar.sceneform:plugin:1.15.0
}在Project level gradle文件中,这也是
dependencies {
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.15.0"
}我搜索了很多,但得到了这个错误

发布于 2020-08-20 02:54:26
您应该在项目gradle中使用此格式手动导入模型
apply plugin: 'com.google.ar.sceneform.plugin'
sceneform.asset('sampledata/models/andy.obj', // 'Source Asset Path' specified during import.
'default', // 'Material Path' specified during import.
'sampledata/models/andy.sfa', // '.sfa Output Path' specified during import.
'src/main/res/raw/andy') // '.sfb Output Path' specified during import.如下所示:https://developers.google.com/sceneform/develop/import-assets
https://stackoverflow.com/questions/60315147
复制相似问题