Open can019 opened 2 years ago
I have same problem too.......
Pls fix this issue :c
Did anyone figured out how to fix this issue?
@rodymolenaar could you please find a spare moment to fix this. A lot of people depend on it. Would be really appreciated.
I also had an error with maven in build.gradle script (@lightbase/react-native-panorama-view/android/build.gradle).
If was fixed by changing
apply plugin: 'maven'
to
apply plugin: 'maven-publish'
After this change and Gradle sync I faced a new issue with error message:
Configuration with name 'compile' not found.
It is caused by next line:
classpath += files(project.getConfigurations().getByName('compile').asList())
Because compile
configuration was deprecated and removed. It's now implementation
.
After updating compile -> implementation I ran another sync and got message:
Resolving dependency configuration 'implementation' is not allowed as it is defined as 'canBeResolved=false'. Instead, a resolvable ('canBeResolved=true') dependency configuration that extends 'implementation' should be resolved.
So I tried to add custom configuration
configurations {
customConfig.extendsFrom implementation
}
And updated the line
classpath += files(project.getConfigurations().getByName('customConfig').asList())
So it leads to more errors with react-native can't be resolved etc.
So the component needs to be updated to support modern versions of Gradle. I'm not an expert in Gradle/Android/React Native so it's just a thoughts and suggestions.
Update: I tried update from this PR: https://github.com/lightbasenl/react-native-panorama-view/pull/77 And it fixed all issues. I think it must be approved and merged by maintainers. @rodymolenaar @cristianocca
jcenter is down. So we cant make works on android. :/
A build error occurs in Gradle 7.3. There seems to be an error related to maven, so I hope the problem is solved. In particular, among the panarama views supported by react native, this library is considered the only stable. I really hope it's resolved.