How to make Flutter work on WSL2 using host’s emulator?

You cannot use “hot reload” features with flutter app because the process of deployment/running never finishes Actually, you can! Just connect to the device with adb connect <IP> instead of going through the socket. See my full blog post here: https://dnmc.in/2021/01/25/setting-up-flutter-natively-with-wsl2-vs-code-hot-reload/

Error: device offline

If “adb devices” lists your device but as “offline” chances are your path leads to an old version of adb (eg 1.0.29) which has problems with latest Android 4 devices. Make sure “adb version” returns 1.0.31 or greater. Starting with Android 4.2.2, you must confirm on your device that it is being attached to a … Read more

How do I execute an adb command in Android Studio? [duplicate]

$ isn’t part of the command. Use adb shell monkey -p your.package.name -v 500 adb is the command you ran on your terminal. For example: adb devices shows you the connected devices. adb shell Starts a remote shell in the target emulator/device instance. See https://developer.android.com/studio/command-line/adb.html for more info about adb.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)