Skip to content
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

A problem occurred configuring project ':agora_rtc_engine' #2112

Open
Asmitta-01 opened this issue Nov 26, 2024 · 4 comments
Open

A problem occurred configuring project ':agora_rtc_engine' #2112

Asmitta-01 opened this issue Nov 26, 2024 · 4 comments

Comments

@Asmitta-01
Copy link

I've updated flutter and my packages and now i have an issue when i build the app:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':agora_rtc_engine'.
> [CXX1101] NDK at C:\Users\GENIUS ELECTRONICS\AppData\Local\Android\sdk\ndk\25.1.8937393 did not have a source.properties file

* 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.

Flutter doctor:

[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [version 10.0.22631.4460], locale fr-FR)
    • Flutter version 3.24.3 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\GENIUS ELECTRONICS\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.0)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34607.119
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2024.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] VS Code (version 1.95.3)
    • VS Code at C:\Users\GENIUS ELECTRONICS\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.100.0

[√] Connected device (1 available)
    • Windows (desktop) • windows • windows-x64 • Microsoft Windows [version 10.0.22631.4460]

[√] Network resources
    • All expected network resources are available.

• No issues found!

The project was running well before the update(and i need to be up to date on it). Any suggestion to resolve it please ?

@SatyaMirthipati
Copy link

SatyaMirthipati commented Nov 26, 2024

Yes, I am also facing this issue
Unable to run flutter app

  • What went wrong:
    A problem occurred configuring project ':agora_chat_sdk'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Please specify a namespace in the module's build.gradle file like so:

 android {
     namespace 'com.example.namespace'
 }

 If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.

@Asmitta-01
Copy link
Author

Check this out @SatyaMirthipati : flutter/flutter#159480 (comment)

@Asmitta-01
Copy link
Author

I resolved it by downloading the NDK of version 25.1.8937393 in Android Studio.

Copy link
Contributor

github-actions bot commented Dec 5, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2024
@Asmitta-01 Asmitta-01 reopened this Dec 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants