plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Bug]: Could not create task ':android_intent_plus:generateDebugUnitTestConfig'.

Open TheCarpetMerchant opened this issue 1 year ago • 4 comments
trafficstars

Platform

Android

Plugin

android_intent_plus

Version

4.0.3

Flutter SDK

3.13.9

Steps to reproduce

Go to the MainActivity.kt of a Flutter project and click "Open for Editing in Android Studio". This will run a Gradle sync and raise the error.

Code Sample

No response

Logs

Multiple build operations failed.
    Could not create task ':android_intent_plus:generateDebugUnitTestConfig'.
    Could not create task ':flutter_plugin_android_lifecycle:generateDebugUnitTestConfig'.
    Could not create task ':path_provider_android:generateDebugUnitTestConfig'.
    Could not create task ':shared_preferences_android:generateDebugUnitTestConfig'.
    Could not create task ':url_launcher_android:generateDebugUnitTestConfig'.
Could not create task ':android_intent_plus:generateDebugUnitTestConfig'.
this and base files have different roots: D:\Code\Flutter\ao3_reader\build\android_intent_plus and C:\Users\user\AppData\Local\Pub\Cache\hosted\pub.dev\android_intent_plus-4.0.3\android.

Flutter Doctor

[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3803], locale fr-BE)
    • Flutter version 3.13.9 on channel stable at D:\Code\Flutter\sdk\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (10 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

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

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\user\AppData\Local\Android\sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio 2022\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

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

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio 2022
    • 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.6+0-b2043.56-10027231)

[√] VS Code (version 1.85.1)
    • VS Code at C:\Users\user\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] VS Code, 64-bit edition (version 1.79.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] Connected device (2 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64 • Microsoft Windows [Version 10.0.19045.3803]

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

• No issues found!

Checklist before submitting a bug

  • [X] I searched issues in this repository and couldn't find such bug/problem
  • [X] I Google'd a solution and I couldn't find it
  • [X] I searched on StackOverflow for a solution and I couldn't find it
  • [X] I read the README.md file of the plugin
  • [X] I'm using the latest version of the plugin
  • [X] All dependencies are up to date with flutter pub upgrade
  • [X] I did a flutter clean
  • [X] I tried running the example project

TheCarpetMerchant avatar Jan 02 '24 15:01 TheCarpetMerchant

same issue... in windows

jsolra avatar Feb 20 '24 07:02 jsolra

Same Issue

muneebahmad0600 avatar May 05 '24 20:05 muneebahmad0600

same issue

answer0732 avatar Jun 06 '24 05:06 answer0732

same issue.

pfzsteven avatar Jun 12 '24 09:06 pfzsteven