Log in or register to post comments

I can't init Vuforia in my own project

February 8, 2018 - 8:05am #1

I can successfully run your sample code with my dev key, but when I try to integrate Vuforia SDK in my own project it fails to run.

I try to init Vuforia in the InitVuforiaTask but Vuforia.init() returns 50 and then -1.

    private int mProgressValue = -1;

    protected Boolean doInBackground(Void... params) {

        synchronized (mLifecycleLock) {

            Vuforia.setInitParameters(mActivity, mVuforiaFlags, «my dev key«);


                mProgressValue = Vuforia.init();


            } while (!isCancelled() && mProgressValue >= 0

                && mProgressValue < 100);

            return (mProgressValue > 0);



Log in or register to post comments