Skip to content

How to add Sceneform Maintained to existing Android project? #227

Answered by RGregat
agGitHub asked this question in Q&A
Discussion options

You must be logged in to vote

In general this should be enough

implementation "com.gorisse.thomas.sceneform:sceneform:1.20.2"

The first approach should work as well, make sure that the sceneform-android folder is in the root folder of your project.

include ':app', ':core', ':ux'

project(':core').projectDir = new File('sceneform-android/core')
project(':ux').projectDir = new File('sceneform-android/ux')

Also use only the Dependency OR the direkt import of the source files not both. Also try to invalidate the cache, that can help!
Tomorrow I can take a look on one of my projects, there I have both ways implemented and I comment the Dependency or the source variant out in in, depending on my needs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasGorisse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants