Skip to content

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

Description

@sidorelamerkaj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions