OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
615 stars 213 forks source link

[Bug]: Execution failed for task ':onesignal_flutter:parseDebugLocalResources'. > Could not resolve all files for configuration ':onesignal_flutter:androidApis'. > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for PlatformAttrTransform: C:\Users\Srp Technologoies\AppData\Local\Android\sdk\platforms\android-28\android.jar. #938

Open sajidullah-srp opened 4 weeks ago

sajidullah-srp commented 4 weeks ago

What happened?

PS D:\sajid\nurse_staffing_app> flutter run Launching lib\main.dart on SM A325F in debug mode...

FAILURE: Build failed with an exception.

BUILD FAILED in 40s Running Gradle task 'assembleDebug'... 42.1s Error: Gradle task assembleDebug failed with exit code 1

Steps to reproduce?

1. install API level 28

What did you expect to happen?

solve this

OneSignal Flutter SDK version

Release 5.2.3

Which platform(s) are affected?

Relevant log output

No response

Code of Conduct

nextvisionmx commented 2 weeks ago

It seems to be the problem when updating the flutter version, in this other one they give the solution: https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/930

sohyuyuan has a temporary solution