Open mehmetgencdal opened 9 months ago
@fadihere
@fadihere
I believe that this issue occurs because of android gradle sync. Follow these steps and let me know if it works for you.
flutter clean
android
folder in Android Studioflutter run
@fadihere
I believe that this issue occurs because of android gradle sync. Follow these steps and let me know if it works for you.
- set latest kotlin version
flutter clean
- open
android
folder in Android Studio- click on the gradle sync
- go back to project dictionary and
flutter run
I tried it but many other problems occurred. For example:
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
I'm trying to fix. Thanks for the answer.
@mehmetgencdal please just downgrade your Permission handler package version
@mehmetgencdal please just downgrade your Permission handler package version
Unfortunately when i downgrade the version the permission handler doesn't work. It doesn't ask for any permission.
I tried to upgrade the gradle version but it always fails. Is there any way to create a project with the latest gradle version? Then i can move the codes? @dr7866 @fadihere
Hi again @vavadiyahiren @dr7866 ,
Situation 1: When i delete proguard rules the problem doesn't occurs but the app doesn't work for release version. Situation 2: When i use flutter_plugin 2.2.3 and permission_handler 9.2.0 the release version works but 9.2.0 version is not useful.
When it is debug mode everthing is fine but i can't get release verison. I have tried many solutions but none of them work.
Problem: When i use permission_handler above version 9.2.0 with flutter_plugin i have error given below:
android/build.gradle file:
android/app/build.gradle file:
proguard files: