I'm trying to get an app to run on my Android Studio emulator, when I hit run it complains: Unknown command-line option '--version'
I've tried a few things
--version
I have the tools SDK downloaded.
How does the run process work? Which files does it read first in the project to arrange its process? My emulator is Android API 30, my project's targetSdkVersion is 32.
Is there a fault in some AS IDE hooks/commands being unavailable from the command line? This appears to be what it says. I also can't run Flutter commands from AS's terminal.
If this is the problem how would I fix it?
Without this working, I can't run any apps on the emulator.
Go now and update to the Bumblebee February update. It solves the issue with environments. https://androidstudio.googleblog.com/2022/02/android-studio-bumblebee-202111-patch-1.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.