Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 error: package FrameProcessorRuntimeManager does not exist #1669

Closed
3 of 4 tasks
mingkaili opened this issue Jul 27, 2023 · 1 comment
Closed
3 of 4 tasks

🐛 error: package FrameProcessorRuntimeManager does not exist #1669

mingkaili opened this issue Jul 27, 2023 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@mingkaili
Copy link

mingkaili commented Jul 27, 2023

What were you trying to do?

I had the same error as: #1373 but it doesn't seem to have an answer, so just want to create another ticket to see if anyone has a solution for this.

While trying to build android app, had the following error

> Task :react-native-vision-camera:compileDebugJavaWithJavac FAILED
/Users/th/workplace/proko-park-mobile/node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/frameprocessor/FrameProcessorPlugin.java:51: error: package FrameProcessorRuntimeManager does not exist
        FrameProcessorRuntimeManager.Companion.getPlugins().add(plugin);
                                    ^
1 error

Reproduceable Code

"react-native": "0.66.1",
"react-native-vision-camera": "^2.15.2",

Android:

buildscript {
    ext {
        buildToolsVersion = "30.0.2"
        minSdkVersion = 21
        compileSdkVersion = 30
        targetSdkVersion = 30

        kotlinVersion = "1.6.0"
        supportLibVersion = "27.1.1"
        googlePlayServicesAuthVersion = "16.0.1" // <--- use this version or newer
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath('com.android.tools.build:gradle:7.0.2')

        classpath 'com.google.gms:google-services:4.1.0' // <--- use this version or newer
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

What happened instead?

App fails to build.

Relevant log output

No response

Device

Any Android Device

VisionCamera Version

2.15.2

Additional information

@mingkaili mingkaili added the 🐛 bug Something isn't working label Jul 27, 2023
@mingkaili mingkaili changed the title 🐛 🐛 error: package FrameProcessorRuntimeManager does not exist Jul 27, 2023
@mrousavy
Copy link
Owner

mrousavy commented Aug 3, 2023

Hey! Looks like you don't have Kotlin installed. Add kotlin to your build.gradle dependencies

@mrousavy mrousavy closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants