pytorch / android-demo-app

PyTorch android examples of usage in applications
1.47k stars 606 forks source link

cannot find symbol ... #173

Open hdnh2006 opened 3 years ago

hdnh2006 commented 3 years ago

Hello!

I am not Android developer, I am just trying to deploy a demo app of object detection in android and everything seems to go well while "make project" in Android Studio, but when I am trying to export the ".APK" file I get the following error

... AbstractCameraXActivity.java:22: error: cannot find symbol
import androidx.camera.core.ImageAnalysisConfig;
                           ^
  symbol:   class ImageAnalysisConfig
  location: package androidx.camera.core

Tha same happens with other package which is PreviewConfig.

Both errors are marked in the AbstractCameraXActivity.java file. And due to I am not Android developer, I don't know how to debug and solve this issue.

Somebody knows how to solve it?

Thanks in advance.