NavidShokoufeh / sstp_flutter

BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Flutter build apk --release issue #10

Open aakashch0179 opened 1 month ago

aakashch0179 commented 1 month ago

When I try to build release so i found this error

* What went wrong:
Execution failed for task ':sstp_flutter:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:C:\Users\cheta\AppData\Local\Pub\Cache\hosted\pub.dev\sstp_flutter-1.0.9\android\src\main\AndroidManifest.xml:21:6-32:19: AAPT: error: 'specialUse' is incompatible with attribute foregroundServiceType (attr) flags [camera=64, connectedDevice=16, dataSync=1, location=8, mediaPlayback=2, mediaProjection=32, microphone=128, phoneCall=4].

     ERROR:C:\Users\cheta\AppData\Local\Pub\Cache\hosted\pub.dev\sstp_flutter-1.0.9\android\src\main\AndroidManifest.xml:34:10-45:19: AAPT: error: 'specialUse' is incompatible with attribute foregroundServiceType (attr) flags [camera=64, connectedDevice=16, dataSync=1, location=8, mediaPlayback=2, mediaProjection=32, microphone=128, phoneCall=4].
aakashch0179 commented 1 month ago

any update??