Skip to content Skip to sidebar Skip to footer

Unity (vuforia) Project Integrated In Android Project Shows A Black Screen On Startup

My situation: I created an Android app and an AR Unity app that makes use of Vuforia 7.0.47. The Android app has lots of features, one of the features is the augmented reality made

Solution 1:

You need to take VuforiaWrapper.aar file from

ExportedAndroidStudioProject/libs/VuforiaWrapper.aar

and add it to your app in the same directory where you added UnityGame.aar file and add it in gradle as a dependency

dependencies {
implementationfileTree(dir: 'libs', include: ['*.jar'])
implementation(name: 'UnityGame', ext:'aar')
implementation(name: 'VuforiaWrapper', ext:'aar')}   

Hope this helps you. Good luck

Solution 2:

As mentioned you have to add VuforiaWrapper.aar

But sometimes you will have to add the dependency as

implementation project(':VuforiaWrapper')
implementation fileTree(dir: 'libs', include: ['*.jar'])

Post a Comment for "Unity (vuforia) Project Integrated In Android Project Shows A Black Screen On Startup"