OS/Android

[Android] error: android studio start failed.

백공소 2021. 9. 1. 23:46

React Native로 넘어가기 위해서, https://reactnative.dev/docs/environment-setup 에서 소개한 대로

 

Setting up the development environment · React Native

This page will help you install and build your first React Native app.

reactnative.dev

choco install -y nodejs.install openjdk8 을 명령 프롬프트에 쳤더니...

설치는 잘 됐는데..

만약 기존에 Android Studio를 설치하고 쓰고 있었는데 이런 에러를 볼 수 있었다.

 

Start Failed...

 

잘 쓰던 Android Studio는 어디로 가고 Error만 뿜는다. 속을 뒤집어 버리는 에러 메시지가 미울뿐이다.

 

혹시 몰라 C:\Users\{사용자 계정명}\AppData\Local\Google\AndroidStudio2020.3\log로 가서 idea.log를 봤는데 잘 보이는 문구 하나가 있었다.

2021-09-01 23:17:44,656 [   4730]  ERROR - llij.ide.plugins.PluginManager - java.net.BindException: Address already in use: bind 
java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind
...
Caused by: java.net.BindException: Address already in use: bind

이 로그에서 확실한 건 주소, 포트 관련 문제라는 결론을 내릴 수 있다. 근데 Hyper-V를 끄고 중복 포트 죽이고 다시 살렸는데도 떠서 미쳐버릴 지경에 이르러러 본 해답은 이러했다.

 

 

Android Emulator - AMD Processor & Hyper-V Support

Posted by Jamal Eason , Product Manager, Android Since the major revamp of the Android Emulator two years ago, we have focused on del...

android-developers.googleblog.com

프로그램 추가/제거 > Windows 기능 켜기/끄기로 간 후 Windows 하이퍼바이저 플랫폼을 활성화시키면 되더라. 하..

반응형