Skip to content

Expo managed - Having problems while creating build. #2

@dev-andremonteiro

Description

@dev-andremonteiro

Your Environment

  • Plugin version: 0.7.7
  • Platform: Android
  • OS version: 13
  • Running in Simulator: Yes
  • React Native version: 0.69.6
  • EXPO SDK: 46

Context

After tweaking the configuration I am still not able to make this work while trying to build it with EAS build.

Actual Behavior

Throws error:

[stderr] 
FAILURE:

[stderr] 
Build failed with an exception.

[stderr] 
* What went wrong:

[stderr] 
Could not determine the dependencies of task ':app:mergeDebugAssets'.

[stderr] 
>

[stderr] 
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.

[stderr] 
>

[stderr] 
Could not resolve project :@mak12_react-native-background-geolocation.

[stderr] 
Required by:

[stderr] 
project :app

[stderr] 
      > No matching configuration of project :@mak12_react-native-background-geolocation was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.1' but:

[stderr] 
- None of the consumable configurations have attributes.

[stderr] 
   > Could not resolve project :@mak12_react-native-background-geolocation-common.

[stderr] 
     Required by:

[stderr] 
         project :app > project :mak12_react-native-background-geolocation

[stderr] 
      > No matching configuration of project :@mak12_react-native-background-geolocation-common was found. The consumer was configured to find a runtime of a component, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '7.1.1'

[stderr] 
but:

[stderr] 
          - None of the consumable configurations have attributes.

[stderr] 
* Try:

[stderr] 
> Run with --stacktrace option to get the stack trace.

[stderr] 
> Run with --info or --debug option to get more log output.

[stderr] 
> Run with --scan to get full insights.

[stderr] 
* Get more help at https://help.gradle.org

[stderr] 
BUILD FAILED in 2m 56s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions