Not able to connect adb after upgrate Android Studio to 3.4

后端 未结 17 1678
南方客
南方客 2020-12-02 16:34

unable to connect to adb.check the event log for a possible issue, verify that localhost entry is pointing to 127.0.0.1 or:: 1 for ipv4 or ipv6

17条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 17:16

    If non of the above answers worked for you (as same happend to me), down grade to the old version of Android Studio by following these steps:

    1. Uninstall current Android Studio
    2. Go to Android Studio Archive and download any older version
    3. After installation, Open the project. You might see an error like this

    This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or newer.

    1. Now, open project gradle and update classpath tools.build version. I.e. in my case Android studio version is 3.2 and classpath 3.2.1

    Hope it might save someone time.

提交回复
热议问题