Error when importing Sceneform Asset for obj and gltf file

一曲冷凌霜 提交于 2020-05-29 11:58:08

问题


I get this error while importing Sceneform Asset: Gradle build failed with new import rules. Would you like to revert the changes? and the options are Revert and Keepbroken gradle changes.

A error messege also pops up:

Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V


回答1:


I think it is a problem with Android studio 3.6, I reverted to 3.5.1 and the import worked fine. With 3.6 I got the exact same problem and crash.

Seems to me as there are more people having this problem:

https://github.com/google-ar/sceneform-android-sdk/issues/912



来源:https://stackoverflow.com/questions/60446438/error-when-importing-sceneform-asset-for-obj-and-gltf-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!