daadu / receive_intent

Flutter plugin for passing Android Intents to the Flutter environment.
https://pub.dev/packages/receive_intent
GNU General Public License v3.0
13 stars 23 forks source link

Gradle error on Flutter Version 3.24.3 #32

Open nacuta opened 1 month ago

nacuta commented 1 month ago

New project with version 3.24.3 and the only aded package is receive_intent. At build apk this error occurs:

"Execution failed for task ':receive_intent:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR: /Users//new_project/build/receive_intent/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found."

Screenshot 2024-10-02 at 14 27 54
lonyyy commented 1 month ago

Same for me here.

mohammed-fawaz-cp commented 1 month ago

Same for me here.

daadu commented 1 month ago

I'm out on vacation, the error seems to be with the merged values.xml file

Our plugin has no values.xml, I'm not available to fix this as of now

Post about the temporary fix here, if you're able to find

khomin commented 3 weeks ago

Same, gradle 8 Error in release only

Found a temp fix

Set compileSdkVersion: compileSdkVersion 34 in the plugin: android/build.gradle

jakusb commented 1 week ago

@daadu Someone made PR to fix this issue: https://github.com/daadu/receive_intent/pull/29 Workaround posted above did not work for me

Exnonull commented 1 week ago

workaround above works for me, but i prefer this way to change version https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697 in short words: it changing compileSdkVersion from 30 to 31 for all plugins that below 31