问题
Don't know since when, but I was off work for a few days, and now Android Studio is wont to not let me type into the built in terminal.
I use Android Studio on my HP laptop with Windows 10 on top of it.
Here's a screenshot, as I click on it the cursor gets highlighted and starts blinking as usual but typing into it doesn't work anymore.
Well I have tried
- adding terminals,
- removing Terminals,
- deleting AS data, and
- even reinstalling AS completely
If anyone has got a solution, please assist.
回答1:
This is an issue on Windows 10. To fix it, open a command prompt window (cmd.exe
), then right click the title, and open Properties
. Check Use legacy console
, and it should go back to working (might need to restart Android Studio).
回答2:
This behavior is a problem related to an incompatibility between IntelliJ (and then Android Studio) and the new windows 10 console
It is possible to bypass the problem enabling the legacy mode in the terminal options.
Launch a command prompt from windows (win+r and then type cmd)
Right click on the title
properties
options
check Use legacy console, then click OK
- Close the terminal and open another one (or just restart Android Studio, it works both ways)
回答3:
This happens with Windows 10.I also experienced the same issue and Resolved with the following steps.
- Step 1
- Step 2
- Step 3
回答4:
If you are a poweruser and you don't to use the old console. You can add the path of android tools to OS 'PATH' variable, and then you could access from the CMD. Cumbersome but works.
回答5:
It is still not working for me. Did both path setting and old console ,restarted studio ;still I cant type in the terminal window of android studio; however on some occasions,if I remember correctly , it has worked though - using Windows 10 + studio 1.4.1 .
来源:https://stackoverflow.com/questions/31954437/cant-type-into-android-studios-built-in-terminal