Skip to content

[tool_crash] ProcessException: Project 'app' not found in root project 'android'. #63933

@suryadevsingh

Description

@suryadevsingh

Command

flutter run --release

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

ProcessException: ProcessException: Process exited abnormally:
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.4.1/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

  • What went wrong:
    Project 'app' not found in root project 'android'.

  • 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 6s
Command: /home/surya/AndroidStudioProjects/ce5-flutter/android/gradlew app:tasks --all --console=auto

#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:172:5)
#1      _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:322:19)
<asynchronous suspension>
#2      flavorUndefinedHandler.<anonymous closure> (package:flutter_tools/src/android/gradle_errors.dart:273:57)
#3      buildGradleApp (package:flutter_tools/src/android/gradle.dart:412:73)
#4      _rootRunUnary (dart:async/zone.dart:1192:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#9      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#10     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#11     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:298:13)
#12     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#13     _rootRunUnary (dart:async/zone.dart:1192:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:526:5)
[✓] Flutter (Channel unknown, v1.17.0, on Linux, locale en_IN)
    • Flutter version 1.17.0 at /home/surya/Downloads/flutter
    • Framework revision e6b34c2b5c (4 months ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/surya/Android/Sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /home/surya/Android/Sdk
    • Java binary at: /snap/android-studio/91/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /snap/android-studio/91/android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • RMX1971 • 35b040ab • android-arm64 • Android 10 (API 29)

• No issues found!

Flutter Application Metadata

Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 0b8abb4

Plugins

adhara_socket_io-0.4.2+1
android_intent-0.3.7+2
audioplayers-0.15.1
connectivity-0.4.9
connectivity_for_web-0.3.1
connectivity_macos-0.1.0+3
device_info-0.4.2+4
firebase_core-0.4.5
firebase_core_web-0.1.1+2
firebase_messaging-5.1.8
flutter_local_notifications-0.8.4+3
flutter_plugin_android_lifecycle-1.0.8
flutter_tts-1.2.6
flutter_webview_plugin-0.3.11
fluttertoast-3.1.3
geocoder-0.2.1
geolocator-5.3.2+2
google_api_availability-2.0.4
google_map_location_picker-3.3.1
google_maps_flutter-0.5.27+2
image_picker-0.6.7+4
in_app_update-1.1.11
keyboard_visibility-0.5.6
location-2.5.4
location_permissions-3.0.0+1
package_info-0.4.1
path_provider-1.6.11
path_provider_linux-0.0.1+2
path_provider_macos-0.0.4+3
permission_handler-4.4.0+hotfix.4
screen-0.0.5
shared_preferences-0.5.8
shared_preferences_linux-0.0.2+1
shared_preferences_macos-0.0.1+10
shared_preferences_web-0.1.2+7
simple_image_crop-0.1.3
speech_bubble-0.0.6
sqflite-1.1.0
url_launcher-5.5.0
url_launcher_linux-0.0.1+1
url_launcher_macos-0.0.1+7
url_launcher_web-0.1.2
video_player-0.10.11+2
video_player_web-0.1.3+2
wakelock-0.1.4+2

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: crashStack traces logged to the consolet: gradle"flutter build" and "flutter run" on Androidteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy