Importing Vufoira Scene Into Native Android App
I am working on AR app made with unity + vufoira and I wanted to embed it in a native android app. I used this procedures to embed my app Embedding Unity In Android App . But I kee
Solution 1:
I had the same problem. This is how I fixed it:
- In the project build.gradle I added this under allprojects repositories:
flatDir {
dirs'libs'
}
- In my module build.gradle I added the dependencies:
implementationfileTree(dir: 'libs', include: ['*.jar'])
implementation(name: 'VuforiaWrapper', ext:'aar'
Hope this may help you
Solution 2:
I have also tried that Embedding Unity In Android App tutorial from Medium and it didn't work.
Try this Unity3d tutorial -Export Unity Project to Android Studio.
- First in Unity Build Settings, make sure you choose Gradle for Build System, Export Project, Development Build and Script Debugging.
- Also, make sure you change the Gradle dependency version in Android Studio.
Here is a similar question from Quora.
Post a Comment for "Importing Vufoira Scene Into Native Android App"