-
Notifications
You must be signed in to change notification settings - Fork 101
react_native_pytorch_core error during gradle build #213
Comments
I am also getting this same error no matter if I create a new project and add
|
Same here, I am also getting this issue with a clean app with only |
Not yet, its very frustrating to get any pytorch model into android app using react-native. Hoping this problem to be fixed with future releases. |
Is there any fix for now? I kinda need this |
I think |
For demo purpose you can run the project using expo and playtorch app on ios or android device. |
It looks like react native intentionally remove the contents of the |
which version of pytorch-core you were working with? |
Hi, I got the same error for expo sdk version 48, but not for sdk 47. {
"name": "test",
"version": "1.0.0",
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"dependencies": {
"expo": "~47.0.14",
"expo-status-bar": "~1.4.2",
"react": "18.1.0",
"react-native": "0.70.8",
"react-native-pytorch-core": "^0.2.4",
"expo-splash-screen": "~0.17.5"
},
"devDependencies": {
"@babel/core": "^7.12.9"
},
"private": true
} Try with this and tell me ! |
when did you run the project laslty with the above configuration, because i am getting the same error everytime not matter which configuration i am running with. |
I immediately posted this message after launching 😊 Perhaps, test it whith a fresh blank app ? |
yeah you were right its working with the configuration that you have suggested. Although it was a blank app but if you have any functional app than it throws
|
I am a tad confused, so do I need to use a lower version of expo, react and react-native , AND also manually change the build.gradle files? |
yes need to use lower version and manually add the changes in gradle file because i found only this thing to be working. |
Due to work-related issues, I, for example, cannot downgrade RN, when will the release for newer RN versions happen? Is this being planned? |
Version
No response
Problem Area
react-native-pytorch-core (core package)
Steps to Reproduce
No response
Expected Results
No response
Code example, screenshot, or link to repository
The text was updated successfully, but these errors were encountered: