更新到了最新版的ADT居然没有找到ndk的目录设置,这对于ndk开发很不方便。方法也很简单。

到http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting

这里下载最新的adt更新一下就行。

一下是Google的原文

If you are having trouble downloading the ADT plugin after following the steps above and you are behind a firewall (such as a corporate firewall), make sure that you have properly configured your proxy settings in Eclipse. In Eclipse, you can configure proxy information from the main Eclipse menu in Window (on Mac OS X, Eclipse) > Preferences > General >Network Connections.

If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it:

  1. Download the ADT Plugin zip file (do not unpack it):

    Package Size MD5 Checksum
    ADT-23.0.4.zip 103336810 bytes 91a43dcf686ab73dec2c08b77243492b
  2. Start Eclipse, then select Help > Install New Software.

  3. Click Add, in the top-right corner.

  4. In the Add Repository dialog, click Archive.

  5. Select the downloaded ADT-23.0.4.zip file and click OK.

  6. Enter "ADT Plugin" for the name and click OK.

  7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.

  8. In the next window, you'll see a list of the tools to be downloaded. Click Next.

  9. Read and accept the license agreements, then click Finish.

    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

  10. When the installation completes, restart Eclipse.

To update your plugin once you've installed using the zip file, you will have to follow these steps again instead of the default update instructions.


更多相关文章

  1. 【摘录】Android的线程使用来更新UI----Thread、Handler、Looper
  2. 【Android优化】去掉屏幕上方应用程序的名称或标题栏
  3. Android中的UI更新
  4. Android(安卓)adb 命令总结_持续更新
  5. Android(安卓)SDK下载和更新失败的解决方法!!!
  6. 更新Activity的几个方法
  7. android 多线程编程
  8. Android检测版本更新
  9. 新手android 开发 错误集锦(持续更新中)

随机推荐

  1. android 8.1 修改禁止状态栏下拉
  2. Android关于Task的一些实践之SingleTask,
  3. Android开发指南-二维图形
  4. Android Listview addHeaderView setadap
  5. Android 近百个项目的源代码,覆盖Android
  6. Android SDK
  7. Android(安卓)5.1编译大于2G的OTA包是会
  8. Android(安卓)实现圆形的 ImageView 的3
  9. android menu放在下面且横排
  10. EditText 失去焦点