FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 23 forks source link

Execution failed for task ':shared_preferences_android:parseDebugLocalResources'. #3656

Closed NS-InStrand closed 2 months ago

NS-InStrand commented 2 months ago

Can we access your project?

Current Behavior

I'm trying to run local run and getting this error: Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Upgrading build.gradle Running Gradle task 'assembleDubug'....

Failure: Build failed with an exception.

Get more help at https://help.gradle.org/

BUILD FAILED in 7s Running Gradle task 'assembleDebug'... 8.0s Error: Gradle task assembleDebug failed with exit code 1`

I have tried to run my project and a new project with just a text widget but they have the same error. I have also tried to connect a physical phone for local run but it has the same error too. During local setup it all checks out from setup flutter>doctor output>configure ide>code export.

Expected Behavior

To have a local run on android simulator and physical devise. So that I could test my app on mobile.

Steps to Reproduce

  1. Install Flutterflow for windows
  2. Install local run > set up local run
  3. Create new project
  4. Add text widget
  5. Run android studio and run virtual mobile devise / connect physical phone
  6. Select android device either emulator/physical phone
  7. Hit test run

Reproducible from Blank

Bug Report Code (Required)

N/A

Visual documentation

local_run_bug

Environment

- FlutterFlow version: v4.1.83+
- Platform: Windows
- Browser name and version:
- Operating system and version affected: Windows 10

Additional Information

No response

paulperez-dev commented 2 months ago

Hi @NS-InStrand! Can you please share the bug report code of your project?

NS-InStrand commented 2 months ago

Hi @NS-InStrand! Can you please share the bug report code of your project?

Hello @paulperez-dev where do I find bug report code? during testing I only get from the local debug run. Here is the latest test I did. image PS: I'm a beginner in flutterflow. Thank you

paulperez-dev commented 2 months ago

Hi @NS-InStrand! In the widget tree (second tap) right click on any widget and there you will find the 'Get bug report code' option.

NS-InStrand commented 2 months ago

Hello @paulperez-dev Apologies for the late reply. This is resolve, I have found a GitHub post with similar issue, It said to download jar file into android folder.

NS-InStrand commented 2 months ago

Hello @paulperez-dev Apologies for the late reply. This is resolve, I have found a GitHub post with similar issue, It said to download jar file into android folder.

paulperez-dev commented 1 month ago

Hi @NS-InStrand! Thanks for the confirmation!