TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://thewidlarzgroup.github.io/react-native-video/
MIT License
7.19k stars 2.9k forks source link

[BUG]: om.brentvatne.react.test.ReactVideoPackage #4223

Open CeJo1 opened 3 weeks ago

CeJo1 commented 3 weeks ago

Version

6.6.4

What platforms are you having the problem on?

Android

System Version

Sonoma 14.6.1

On what device are you experiencing the issue?

Real device, Simulator

Architecture

Old architecture

What happened?

I can't compile, I have this problem

android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:67: error: package com.brentvatne.react.test does not exist import com.brentvatne.react.test.ReactVideoPackage;

"react-native": "0.70.15"

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

github-actions[bot] commented 3 weeks ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

KrzysztofMoch commented 3 weeks ago

Can you try remove node_modules and android (by cd android && ./gradlew clean) cache and try again? I saw it once but then it resolved by it self ...

CeJo1 commented 3 weeks ago

Can you try remove node_modules and android cache and try again? I saw it once but then it resolve by it self ...

yes, I have removed everything, installed again and the error remains. I have tried many things, but what I have managed to detect is that the problem is the test class, but I don't know how to solve it.

freeboub commented 3 weeks ago

duplicate of https://github.com/TheWidlarzGroup/react-native-video/issues/4170 BTW, we need a sample to understand and fix the issue

arvenjadeaguilar commented 3 weeks ago

Untitled

I think the issue was on the generated package list.. It imported the react-native-video as import com.brentvatne.react.test.ReactVideoPackage; instead of import com.brentvatne.react.ReactVideoPackage;