google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Sceneform plugin v1.15.0 not working w/Android Studio 3.6 stable (or Android Studio 4 Canary 9) #989

Closed tellypresence closed 4 years ago

tellypresence commented 4 years ago

SceneForm 1.15.0 plugin installed for three versions of Android Studio. Asset imports perfectly in legacy stable Android Studio (3.5.3) but not in

Android Studio 3.5.3 import_sceneform_asset_android_studio_3 5 3

Android Studio 4 Canary 9 import_sceneform_asset_android_studio_4_canary_9

AndreaGrizzi commented 4 years ago

issue found on Android Studio 3.6 on stabile channel. import .obj file result in Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)

dawcules commented 4 years ago

Updated to Androis Studio 3.6 and Sceneform 1.15.0. Every .obj and .fbx import results to: Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)

tellypresence commented 4 years ago

Confirm broken w/3.6 stable as well, changing title

VCDo commented 4 years ago

After Android Studio update from stable 3.5.x to 3.6 the Sceneform Import stopped working! Updating tools and gradle versions did not fix this problem...

VCDo commented 4 years ago

Since the plugin is not working anymore, is it possible to import a sceneform asset without android studio?

tellypresence commented 4 years ago

@VCDo for now suggest having Android Studio 3.5.3 co-installed and doing all sceneform importing there; after successful import copy all the generated code/files (build.gradle block, .sfa/.sfb/.fbm etc) to your Android Studio 3.6.X or 4.X project and it should work fine -- IIRC using the .sfb isn't the problem, it's just the import process itself that's broken ...or just hold back on 3.5.3 pending proper fix...

BhaktijPatil commented 4 years ago

Do we have any official confirmation from the Sceneform team as to when this issue will be addressed?

YinXiuYu commented 4 years ago

I have the same issue.

f4bsn commented 4 years ago

+1

sameerjj commented 4 years ago

+1

A-khames commented 4 years ago

I have the same issue

tellypresence commented 4 years ago

IIUC Sceneform v1.16.0 deprecates the entire SceneForm plugin and .sfa/.sfb workflow instead migrating to direct support for .gltf/.glb format assets

saechimdaeki commented 4 years ago

same issue in 3.6.3