Skip to content

The development environment runs to Android emulator, report an error #606

@miaoaa66

Description

@miaoaa66

Describe the bug
`
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':pdfx:compileDebugJavaWithJavac'.

Cannot query the value of this provider because it has no value available.

  • 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 3s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).
`
There is no problem running and packaging on the web page

To Reproduce
tried
`
flutter clean

flutter pub get

cd android

.\gradlew clean

cd ..

flutter run
`

Expected behavior

Screenshots

Image

Smartphone (please complete the following information):

  • Device: pc
  • OS: window10

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions