Skip to content

Could not find method namespace() for arguments [com.reactnativenavigation] on extension 'android' of type com.android.build.gradle.LibraryExtension #7935

@buildwithhamid

Description

@buildwithhamid

What happened?

A problem occurred evaluating project ':react-native-navigation'.

Could not find method namespace() for arguments [com.reactnativenavigation] on extension 'android' of type com.android.build.gradle.LibraryExtension.

What was the expected behaviour?

The react-native-navigation should start working like on API 34,

I already have tried to upgrade the library to react-native-navigation: 7.40.3, but still not working

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

This issue not reported until android targeted version was 33 or less but with this
targetSdkVersion = 34, this issue appears
build tools version is 4.0.2

'com.android.tools.build:gradle:4.0.2'

and I can't update it just to fix this issue because because after upgrading this I stuck with the issue

Fatal Exception: create_react_context

In what environment did this happen?

React Native Navigation version: 7.25.3
React Native version: 0.67.5
Has Fabric (React Native's new rendering system) enabled: (yes/no) No
Node version: v14.21.3
Device model: Google pixel 6
Screenshot 2024-11-13 at 5 12 46 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions