Closed md-rifatkhan closed 1 month ago
Stuck on
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task assembleDebug
when photo_manager: 3.2.2 library is installed
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at E:\Android Studios\Android Sdk\Sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
Your doctor's result tells that you don't have a valid Android setup. Consider solving that first before you make further steps. Also, a long duration with assembleDebug
usually means there are something wrong with the network connection to the Gradle dependencies.
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at E:\Android Studios\Android Sdk\Sdk X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
Your doctor's result tells that you don't have a valid Android setup. Consider solving that first before you make further steps. Also, a long duration with
assembleDebug
usually means there are something wrong with the network connection to the Gradle dependencies.
But i dont think something wrong with my setup or network, its run immediately when i remove this library.
We have a workflow to ensure you can build the APK with the code. https://github.com/fluttercandies/flutter_photo_manager/actions/workflows/build-example-apk.yml You can try to run the example of the package and see if it works.
We have a workflow to ensure you can build the APK with the code. https://github.com/fluttercandies/flutter_photo_manager/actions/workflows/build-example-apk.yml You can try to run the example of the package and see if it works.
Yeah now worked, thanks for helping
Version
3.2.2
Platforms
Android
Device Model
Pixel 7
flutter info
How to reproduce?
Stuck on ``` Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... when photo_manager: 3.2.2 library is installed
Contact
No response