google-ar / sceneform-android-sdk

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

Sceneform plugin v1.13.0 not working w/Android Studio 4 Canary 1 #912

Open tellypresence opened 5 years ago

tellypresence commented 5 years ago

Android Studio 4 Canary 1, android gradle plugin 3.5.1 SceneForm plugin 1.13.0 Error typ. Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V

Works perfectly on Android Studio 3.5.1

danielawde9 commented 4 years ago

The issue still remain on android studio 3.6.1, working normal on 3.5.1

VCDo commented 4 years ago

Already mentioned here: https://github.com/google-ar/sceneform-android-sdk/issues/989 with Sceneform plugin version 1.15.0. Not working with Android Studio 3.6.0/3.6.1. But working with 3.5.3.

danielawde9 commented 4 years ago

You can use this workaround till the issue is fixed

sameerjj commented 4 years ago

@danielawde9 thanks but that fix doesn't work for me currently.

danielawde9 commented 4 years ago

@sameerjj did you follow the same step? it worked for me, Manually add the code, then android studio will automatically generate both sfa and sfb

sameerjj commented 4 years ago

@danielawde9 it might have to do with my project being a library not an application, but wasn't able to get it work. Ended up reverting to 3.5. Kind of embarrassing that these guys are putting out releases with such glaring issues. Probably won't update for the foreseeable future can't risk having issues when I need to focus on development