chaimPaneth / react-native-jw-media-player

React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
MIT License
193 stars 92 forks source link

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

Open sidorelamerkaj opened 8 months ago

sidorelamerkaj commented 8 months ago

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 commented 7 months ago

@sidorelamerkaj This issue has been already addressed and solved. Please check this https://github.com/chaimPaneth/react-native-jw-media-player/issues/334