io2015-codelabs icon indicating copy to clipboard operation
io2015-codelabs copied to clipboard

Cannot resolve symbol 'Builder'

Open dbc2201 opened this issue 5 years ago • 0 comments

FaceDetector faceDetector = new
                        FaceDetector.Builder(getApplicationContext()).setTrackingEnabled(false)
                        .build();    // Cannot resolve symbol 'Builder'
                if(!faceDetector.isOperational()){    //  Cannot resolve method 'isOperational()'
                    new AlertDialog.Builder(v.getContext()).setMessage("Could not set up the face detector!").show();
                    return;
                }

I tried to build the sample face detection app from the codelab provided here but the code seems to be broken

dbc2201 avatar Mar 08 '19 16:03 dbc2201