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

Is it an error with rn 0.75.2. addView overrides nothing. #862

Closed
Firesoul18 opened this issue Aug 21, 2024 · 5 comments
Closed

Is it an error with rn 0.75.2. addView overrides nothing. #862

Firesoul18 opened this issue Aug 21, 2024 · 5 comments
Labels
question Further information is requested

Comments

@Firesoul18
Copy link

when I try to run my application I get the following error in building phase:

e: file:///C:/Users/yogid/Desktop/WE%20RNS/indibaba/node_modules/react-native-pager-view/android/src/paper/java/com/reactnativepagerview/PagerViewViewManager.kt:72:5 'addView' overrides nothing

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-pager-view:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

The following is my package.json:

{
  "name": "indibaba",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest",
    "clean": "react-native-clean-project"
  },
  "dependencies": {
    "@react-native-community/masked-view": "^0.1.11",
    "@react-navigation/bottom-tabs": "^6.6.1",
    "@react-navigation/drawer": "^6.7.2",
    "@react-navigation/material-top-tabs": "^6.6.14",
    "@react-navigation/native": "^6.1.18",
    "@react-navigation/native-stack": "^6.11.0",
    "@tanstack/react-query": "^5.51.23",
    "axios": "^1.7.3",
    "indibaba": "file:",
    "react": "18.3.1",
    "react-native": "0.75.2",
    "react-native-bootsplash": "^6.1.1",
    "react-native-gesture-handler": "^2.18.1",
    "react-native-mmkv": "^2.12.2",
    "react-native-notifier": "^2.0.0",
    "react-native-pager-view": "^6.3.4",
    "react-native-reanimated": "^3.15.0",
    "react-native-safe-area-context": "^4.10.8",
    "react-native-screens": "^3.34.0",
    "react-native-tab-view": "^3.5.2",
    "zustand": "^4.5.4"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.75.2",
    "@react-native/eslint-config": "0.75.2",
    "@react-native/metro-config": "0.75.2",
    "@react-native/typescript-config": "0.75.2",
    "@types/react": "^18.2.6",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "babel-plugin-module-resolver": "^5.0.2",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-native-clean-project": "^4.0.3",
    "react-test-renderer": "18.3.1",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  },
  "packageManager": "[email protected]"
}

I haven't used it yet I just installed react-native-pager-view and @react-navigation/material-top-tabs. Now I am getting this error

@Firesoul18 Firesoul18 added the question Further information is requested label Aug 21, 2024
@MrRefactor
Copy link
Collaborator

Already merged changes in #857 will release new version soon

@anudit
Copy link

anudit commented Aug 22, 2024

Running into this too, Thanks @MrRefactor !

image

@MrRefactor
Copy link
Collaborator

@hakanolgun
Copy link

Hi @MrRefactor , this issue seems also exist in version 7.0.0-rc.0.
will you also update that version with the patch or should we back to 6.4.0 which has other issues with react native 0.75

i can confirm that changes in the following commit also fix the same issue in 7.0.0-rc.0 :
993928c

@MrRefactor
Copy link
Collaborator

hey @hakanolgun as for now 7.0.0-rc is no longer supported, all features from 7.0.0 are also in 6.4.0 so I highly encourage you to use that version.

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

No branches or pull requests

4 participants