You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am new to react-native and @rnmapbox/maps and I need you help.
I created new react-native project without framework(expo) with below command.
"npx @react-native-community/cli@latest init" following instruction on "https://reactnative.dev/docs/getting-started-without-a-framework#step-1-creating-a-new-application"
This project by itself runs fine on Android device.
Then I added @rnmapbox/maps followinginstruction on "https://rnmapbox.github.io/docs/install"
And when I tried to run my app, error occurs.
Error
Command
Start metro: 'npm start'.
Start app: 'npm run android'.
Environment
package.json:
"dependencies": {
"@react-native/new-app-screen": "0.80.2",
"@rnmapbox/maps": "^10.1.40",
"react": "19.1.0",
"react-native": "0.80.2"
},
android/build.gradle:
buildscript {
ext {
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 35
ndkVersion = "27.1.12297006"
kotlinVersion = "2.1.20"
}
What can I do to fix this problem?
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions