½ñÌì´ò¿ªAndroid Studio2.2.3£¬´ò¿ªÒ»¸ö¾É¹¤³Ì£¬±àÒëÌáʾ"No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android"£¬±¨´í½ØͼÈçÏ£º
ÍøÉÏÒ²ÓÐÒ»°ãµÄ½â¾ö°ì·¨£¬ÄǾÍÊÇÏÂÔؾɰæµÄNDK£¬½«ÆäÖеÄtoolchain¸´ÖƵ½Ð°æµÄNDKÖм´¿É£¬µ«ÊǸоõÕâÖÖ·½Ê½²¢²»Êǽâ¾öÎÊÌâµÄÕýµÀ¡£
¾¹ý¶ÔаæNDKµÄÑо¿£¬·¢ÏÖNDKµÄ¸üмǼÀïÓÐÒ»¶Î»°£¬ÄÚÈÝÈçÏ£º
This version of the NDK is incompatible with the Android Gradle plugin version 3.0 or older. If you see an error like ¡±No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android¡±,update your project file to [use plugin version 3.1 or newer]. You will also need to upgrade to Android Studio 3.1 or newer. |
Ò²¾ÍÊÇ˵а汾µÄNDKÓë3.0¼°ÒÔÇ°¾É°æµÄAndroid Gradle plugin²å¼þ²»¼æÈÝ£¬Æäʵ½â¾ö·½·¨ºÜ¼òµ¥£¬¾ÍÊÇÐÞ¸Äbuild.gradleÖеĺì×Ö²¿·Ö£¬¸ÄΪ3.1ÒÔÉÏ°æ±¾¼´¿É£¬µ±È»´ËÖÖ½â¾ö·½°¸ÊÊÓÃÓÚAndroid Studio3.0¼°ÒÔÉÏ°æ±¾£¬ÀýÈ磺
dependencies { classpath 'com.android.tools.build:gradle:3.2.0'
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } |