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

react-native-jw-media-player:compileDebugJavaWithJavac #342

Open
sidorelamerkaj opened this issue Jan 30, 2024 · 1 comment
Open

react-native-jw-media-player:compileDebugJavaWithJavac #342

sidorelamerkaj opened this issue Jan 30, 2024 · 1 comment

Comments

@sidorelamerkaj
Copy link

Hello,
I am trying to run react native app in android studio simulator in windows pc.
Attached you can find the logs when I try to run the app.
As we are the developers of your customer, we have android and ios sdk key.

I followed the documentation here https://www.npmjs.com/package/react-native-jw-media-player?activeTab=readme.

I installed it with command npm i react-native-jw-media-player --save

and I changed the build.gradle adding the full code as this is missing in installing the latest version of react native, also files .java are converted to .kt.

allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}

    google()
    jcenter()
    maven { url 'https://jitpack.io/' }
    // Add these lines
    maven{
        url 'https://mvn.jwplayer.com/content/repositories/releases/'
    }
}

}
jwplayer logs.txt

I would appreciate your help

Thank you in advance

@ahsanreal4
Copy link

@sidorelamerkaj This issue has been already addressed and solved.
Please check this #334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants