Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Step 11 (importing models) does not work as documented when using Android Studio 3.6 #22

@mr-z-ro

Description

@mr-z-ro

Following the instructions exactly leads to the following exception when using Android Studio 3.6:

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

There is a workaround noted a couple of days ago on StackOverflow which should at least be noted for those using the latest platform.

However that SO answer doesn't include the .fbx animation list. So while the community awaits an official fix, perhaps the instructions in this tutorial could also include a note for 3.6 users that they should update their build.gradle (app) to include the following lines at the end:

apply plugin: 'com.google.ar.sceneform.plugin'

sceneform.asset('sampledata/models/andy_dance.fbx', // '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 (do not include extension)
        ['sampledata/models/andy_dance.fbx']) // List of Animation Path Strings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions