Comments (27)
Going through the same problem as of today.
So far, I've tried downgrading AGP (no success) and upgrading gradle.
Using gradle 8.7 leads to problems with autolinking, which seems to be fixed in 0.75.1.
Unfortunately, the newer RN version breaks some deps (safe-area-context, expo-core, etc..).
Print of the autolinking problem
from react-native.
Newer Version of React Native is Available! | |
---|---|
ℹ️ | You are on a supported minor version, but it looks like there's a newer patch available - 0.74.5. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
from react-native.
Missing Reproducible Example | |
---|---|
ℹ️ | We could not detect a reproducible example in your issue report. Please provide either:
|
from react-native.
Missing Reproducible Example | |
---|---|
ℹ️ | We could not detect a reproducible example in your issue report. Please provide either:
|
from react-native.
Newer Version of React Native is Available! | |
---|---|
ℹ️ | You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
from react-native.
I cannot reproduce your problem. Please provide a valid repro as I think this is specific to your setup.
Anyway, you can simply update the Gralde version in the file android/gradle/wrapper/gradle-wrapper.properties
from react-native.
I cannot reproduce your problem. Please provide a valid repro as I think this is specific to your setup.
Anyway, you can simply update the Gralde version in the file
android/gradle/wrapper/gradle-wrapper.properties
Sorry, but this is not the exit, updating to the next gradle versions brings new problems connected with autolinking.
from react-native.
I have a same issue. (0.74.5)
from react-native.
Sorry, but this is not the exit, updating to the next gradle versions brings new problems connected with autolinking.
Then please provide a reproducer.
If I create a project with React Native 0.74.5 I can safely build without any problems so this is most likely introduced by a dependency of yours.
from react-native.
Sorry, but this is not the exit, updating to the next gradle versions brings new problems connected with autolinking.
Then please provide a reproducer. If I create a project with React Native 0.74.5 I can safely build without any problems so this is most likely introduced by a dependency of yours.
Could you please confirm that you have run the project on the latest mac os 14.6.1 (23G93)?
from react-native.
I'm using 14.6.1 (23G93).
Looking at the 0.75.1 guide, there is the following code in the app/build.gradle location.
app/build.gradle
react {
...
/* Autolinking */
autolinkLibrariesWithApp()
}
I put this in and tried (from 0.74.5 version), and I get Duplate class found in the file error, but I don't get an authLinking error.
(Of course, I don't think this is the right way.)
from react-native.
I'm using 14.6.1 (23G93).
Looking at the 0.75.1 guide, there is the following code in the app/build.gradle location.
app/build.gradle
react { ... /* Autolinking */ autolinkLibrariesWithApp() }
I put this in and tried (from 0.74.5 version), and I get Duplate class found in the file error, but I don't get an authLinking error. (Of course, I don't think this is the right way.)
Yes, I have been trying the same and i got such results also
from react-native.
I'm using 14.6.1 (23G93).
Looking at the 0.75.1 guide, there is the following code in the app/build.gradle location.
app/build.gradlereact { ... /* Autolinking */ autolinkLibrariesWithApp() }
I put this in and tried (from 0.74.5 version), and I get Duplate class found in the file error, but I don't get an authLinking error. (Of course, I don't think this is the right way.)
Yes, I have been trying the same and i got such results also
This way, it looks like it's working normally.
Could you give it a try?
app/build.gradle
react {
...
/* Autolinking */
autolinkLibrariesWithApp() // Add this line.
}
...
// Remove this line
// apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
...
from react-native.
@Arthur-Noh unfortunatly it doesn't help me, could you please share your entire app/build.gradle
and settings.gradle
?
from react-native.
@YuriOlepir we need a reproducer of your project using this template:
https://github.com/react-native-community/reproducer-react-native
without that we can't help further
from react-native.
Related Issues (20)
- When an Activity is destroyed, the AppState listeners are not cleared HOT 5
- VirtualizedList: You have a large list that is slow to update HOT 5
- [Accessibility] [TalkBack] PanResponder callbacks do not fire when TouchableOpacity/Pressable is pressed and TalkBack is on HOT 2
- Flipper repeatedly launches when initiating JS debugger HOT 9
- TextInput with Large Font Size (>40) Causes Text to Become Invisible on iOS HOT 1
- ScrollView doesn't scroll when overflows the parent view HOT 4
- Trying to add unknown view tag HOT 5
- Open Debugger button is missing when Hermes is disabled HOT 5
- Issue with ScrollView and position: absolute in React Native 0.72.4 HOT 5
- Apperance.getColorScheme() returns incorrect value if app opened in background (e.g. using Healthkit.HKObserverQuery) HOT 7
- Incorrect TextInput email field suggestion for "Hide my Email" (iOS)
- [0.75.0] Failed to download template when init new app HOT 14
- 【Android】There is a delay in calculating the height of Modal content HOT 6
- returnkeytype do not work immediately HOT 3
- react-native build-ios error: unknown option '--device' HOT 5
- [android] Plugin [id: 'com.facebook.react.settings'] was not found in any of the following sources HOT 23
- [Android] Emiting Events from HeadlessTask on Android in New Arch + Bridgeless + interop layer HOT 2
- Flatten margin styles are not properly overriding when applied from specific to general properties HOT 8
- Cannot build project after a clean setup without expo HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.