Installing Vuforia in Android Studio

前端 未结 2 618
梦如初夏
梦如初夏 2021-01-06 03:10

Can anyone give me some instructions of how I\'m supposed to install Vuforia in Android Studio? I\'m making a new app and I need to use augmented reality with Vuforia. Hope

2条回答
  •  失恋的感觉
    2021-01-06 03:27

    answer from here and work for me:

    (Seems like the project needs access to the Vuforia.jar file and can't access it outside of the sample folder(?))

    So,

    1. copy the Vuforia.jar file from the folder \vuforia-sdk-android-x-x-x\build\java\vuforia to a folder in the sample project, e.g. to \samples\app\libs (it's important it's in the "\app" path, so you can find it in the next step)

    2. in Android SDK hit F4 (or right click on the app folder in the project structure and click on "Open Module Settings". Select the tab "dependencies", click on the "+" to add a dependency and select "2 File dependency". Now select the above path and file ((\samples\app) \libs\Vuforia.jar) and the project will run just fine...

    Good luck.

提交回复
热议问题