CameraKit / camerakit-android

Library for Android Camera 1 and 2 APIs. Massively increase stability and reliability of photo and video capture on all Android devices.
https://camerakit.io
MIT License
5.35k stars 878 forks source link

Can't use CameraKit #639

Open Sagar0-0 opened 1 year ago

Sagar0-0 commented 1 year ago

Is this a bug report?

No

Have you read the Contributing Guidelines?

Yes

Environment

CameraKit Version: 1.0.0-beta3.11

Android Device: Realme RMX1831

Android Version: 9

Steps to Reproduce

(Write your steps here:)

  1. Add dependencies to the build.gradle (app level)
  2. Add rules in proguard
  3. Add xml code

Expected Behavior

Use camera

Actual Behavior

Gradle sync issues with the following errors.

In app level build.gradle

2022-08-15 22 35 03

In proguard-rules.pro

2022-08-15 22 35 34

In xml layout file

2022-08-15 22 35 43

This was more of a setup problem than an actual project issue, was supposed to ask this thing in some community discussion section, but I found none. Also, Spectrum is also read-only now. I will request to have a community discussion platform for beginners.

Al-khateebBahaa commented 1 year ago

You need to add jcenter to your Gradle. Yes jcenter is down, but it won't work without adding jcenter 🤷🏻‍♂️

imammufiid commented 1 year ago

but it won't work without a

I'm already jcenter in gradle, but it's the same not working