Can't type into Android Studio's built in terminal

时光毁灭记忆、已成空白 提交于 2019-12-05 12:43:12

问题


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.

  1. Launch a command prompt from windows (win+r and then type cmd)

  2. Right click on the title

  3. properties

  4. options

  5. check Use legacy console, then click OK

  1. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!