Skip to content

A problem occurred configuring project ':app_links'. #1172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Stefanny19 opened this issue May 12, 2025 · 3 comments
Open

A problem occurred configuring project ':app_links'. #1172

Stefanny19 opened this issue May 12, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Stefanny19
Copy link

Stefanny19 commented May 12, 2025

Describe the bug
When I run the command flutter run I get the issue

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':app_links'.
> Failed to notify project evaluation listener.
   > Could not get unknown property 'android' for project ':app_links' of type org.gradle.api.Project.
   > Could not get unknown property 'android' for project ':app_links' of type org.gradle.api.Project.

Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 30s
Running Gradle task 'assembleDebug'...                             90,9s
Error: Gradle task assembleDebug failed with exit code 1

I´ve followed all the steps to set up supabase_flutter, even creating a new project and copying the project in the "Building The app" section, but the error is still there

To Reproduce
Steps to reproduce the behavior:

  1. You can try the "Building The app" project.
  2. Once all is set up, run flutter run
  3. You get the error

Expected behavior
The app is built on the emulator

Screenshots
If applicable, add screenshots to help explain your problem.

Version (please complete the following information):
On Linux/macOS
Please run dart pub deps | grep -E "supabase|gotrue|postgrest|storage_client|realtime_client|functions_client" in your project directory and paste the output here.

On Windows
Please run dart pub deps | findstr "supabase gotrue postgrest storage_client realtime_client functions_client" in your project directory and paste the output here.

dart pub deps | findstr "supabase gotrue postgrest storage_client realtime_client functions_client"
????????? supabase_flutter 2.9.0
    ????????? supabase 2.7.0
    ???   ????????? functions_client 2.4.2
    ???   ????????? gotrue 2.12.0
    ???   ????????? postgrest 2.4.2
    ???   ????????? realtime_client 2.5.0
    ???   ????????? storage_client 2.4.0

Additional context
Add any other context about the problem here.

@Stefanny19 Stefanny19 added the bug Something isn't working label May 12, 2025
@Vinzent03
Copy link
Collaborator

Are you sure you didn't alter any files in ./andorid other than the manifest file?
From this stackoverflow it seems like your build.gradle might not be correct.

Please try running the example from the repo: https://github.com/supabase/supabase/tree/master/examples/user-management/flutter-user-management

@RunTerror
Copy link

i'm also facing same issue with ios

Image

@junaidlodhi22
Copy link

junaidlodhi22 commented May 24, 2025

i am having same issue as well in flutter 3.32 dart 3.8

A problem occurred configuring project ':app_links'.
Parameter specified as non-null is null: method com.flutter.gradle.VersionUtils.mostRecentSemanticVersion, parameter version1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants