After using android studio 3.1.2 it showing error=2, No such file or directory

前端 未结 5 1729
野的像风
野的像风 2020-12-31 18:50

After installing Ubuntu 18 in new desktop with i7 and 24gb ram . We try to move our android studio project to new pc in zip format and our project

5条回答
  •  太阳男子
    2020-12-31 19:34

    You should check Android Studio configuration on you old PC and compare version of every position in Android SDK > SDK Tools:

    In my case the main problem was with Android NDK. Apparently I've installed update to version 17 and that was causing problems. So what I did:

    1. Remove everything from directory [android-sdk]\ndk-bundle\ or uninstall Android NDK in Android Studio\Sdk tools (see on the image above)
    2. Close Android Studio (AS).
    3. Download (in my case) NDK version 16b from https://developer.android.com/ndk/downloads/older_releases
    4. Extract archive (10 directories and 8 files or so) to [android-sdk]\ndk-bundle\
    5. Start AS and perform full refresh: Build > Refresh Linked C++ projects and Build > Rebuild project.

    Hope it helps.

提交回复
热议问题