Closed Luism96xd closed 3 months ago
Hello @Luism96xd! Can you please revert every change you made and try this? https://github.com/WalletConnect/WalletConnectFlutterV2/issues/290#issuecomment-2118953310
Please run flutter clean
and then flutter pub get
Hello @Luism96xd! Can you please revert every change you made and try this? WalletConnect/WalletConnectFlutterV2#290 (comment)
Please run
flutter clean
and thenflutter pub get
Hi! Thanks for answering my issue, so I need to add:
dependencies:
walletconnect_flutter_v2: ^2.2.3
dependency_overrides:
package_info_plus: ^8.0.0
then I run flutter clean
and flutter pub get
but the error persists if I keep web3modal_flutter package
I'm using web3modal_flutter ^3.2.0 package
That means should I use walletconnect_flutter_v2 package? What's the difference between these two? What are things I can do in web3modal and not in walletconnect_flutter_v2
Do you recommend not using web3modal_flutter until issue is fixed?
Hello @Luism96xd If you use Web3ModalFlutter you don't need WalletConnectFlutterV2
WalletConnectFlutterV2 is the core SDK dependency of Web3ModalFlutter
Where do you set minSdkVersion
exactly?
Ah wait I see, you have set minSdk
in build.grade but the right key is minSdkVersion
so it should be minSdkVersion 23
I only installed web3modal_flutter: 3.2.0
then changed defaultConfig
to minSdkVersion 23
and it works fine. Without any other override dependency
I only installed
web3modal_flutter: 3.2.0
then changeddefaultConfig
tominSdkVersion 23
and it works fine. Without any other override dependencyAh wait I see, you have set
minSdk
in build.grade but the right key isminSdkVersion
so it should beminSdkVersion 23
Thanks for researching, I'm using Flutter 3.22 and when we generate a new project the keys are minSdk and this flutter version and previous one give me this error:
':package_info_plus:compileReleaseJavaWithJavac'. > error: invalid source release: 17
The error persist, with or without dependency override, with minSdk or minSdkVersion, which flutter version are you using?
Thanks in advance
Hello @Luism96xd ! Sorry for the late response. Do you still need help here?
Describe the bug When I add web3modal_flutter package to my recently created flutter project, I've got this error when I try to run the app on device or building an Android APK.
I tried to change
to
and the error keeps the same
Steps to reproduce the error:
Expected behavior
The flutter app with web3 modal should start and run as the tutorial video. But it does not work, yet
Screenshots
This is the error in my terminal:
Additional context
I followed the following tutorial https://www.youtube.com/watch?v=v_M2buHCpc4 and the Official docs: https://docs.walletconnect.com/web3modal/flutter/installation
I used both versions 3.2.0 (latest) and the same as the video (3.0.20) and nothing worked
I uninstalled all other packages and I haven't written code yet, only installing packages and run
I've got the error in the previous version, too
This is my %JAVA_HOME% variable: C:\Program Files\Java\jdk-19
OS: Windows 10
This is my build.gradle file: