RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 405 forks source link

CameraView was not found in the project or the libraries #432

Open david-gimeno opened 7 months ago

david-gimeno commented 7 months ago

I followed the instructions you described in the README for setting up the dependencies. However, when defining the layout:

    <io.fotoapparat.view.CameraView
        android:id="@+id/camera_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@id/fab_camera"/>

I am getting the following error:

Class referenced in the layout file, 'io.fotoapparat.view.CameraView', was not found in the project or the libraries

I tried multiple things found in Google, but I could not find out what is wrong.