im trying to use barcode-reader in visionSamples to implement in webview in my existing app.
So I started off with adding BarcodeCaptureActivity class (copy and paste from sample) and added to my project and made small change in build.gradle.
however, android studio cannot recognize these 3 imports:
import com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSource;
import com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSourcePreview;
i have samples marked red and error message is telling me that
"error: package com.google.android.gms.samples.vision.barcodereader.ui.camera does not exist"
why am i getting this error?
im trying to use barcode-reader in visionSamples to implement in webview in my existing app. So I started off with adding BarcodeCaptureActivity class (copy and paste from sample) and added to my project and made small change in build.gradle. however, android studio cannot recognize these 3 imports: import com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSource; import com.google.android.gms.samples.vision.barcodereader.ui.camera.CameraSourcePreview;
import com.google.android.gms.samples.vision.barcodereader.ui.camera.GraphicOverlay;
i have samples marked red and error message is telling me that "error: package com.google.android.gms.samples.vision.barcodereader.ui.camera does not exist" why am i getting this error?