问题
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