eclipse SDK中的Android NDK插件安装

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24118098/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 07:48:34  来源:igfitidea点击:

Android NDK plugin installation in eclipse SDK

androideclipsesdkeclipse-pluginandroid-ndk

提问by Shahjalal

When I am trying to install Android NDK plugin from

当我尝试从以下位置安装 Android NDK 插件时

Android Developer Tools Update Site - https://dl.google.com/android/eclipse/

Android 开发者工具更新站点 - https://dl.google.com/android/eclipse/

in my Eclipse, it is showing the the following error message - I am using Android Developer Tools from Google, Build: v22.6.2-1085508. And I have downloaded android-ndk-r9d-windows-x86_64.

在我的 Eclipse 中,它显示以下错误消息 - 我正在使用 Google 的 Android 开发者工具,版本:v22.6.2-1085508。我已经下载了 android-ndk-r9d-windows-x86_64。

'Installing Software' has encountered a problem.

An error occurred while collecting items to be installed

An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.android.ide.eclipse.ndk,22.6.3.v201404151837-1123206
No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ndk,22.6.3.v201404151837-1123206

I don't know how to solve it.

我不知道如何解决。

回答by Shahjalal

Just change the URL to https://dl-ssl.google.com/android/eclipse/

只需将 URL 更改为https://dl-ssl.google.com/android/eclipse/

It solved.. :)

它解决了.. :)

回答by Pradeep Bishnoi

You can follow below steps

您可以按照以下步骤

step 1: download ndk from this url https://developer.android.com/tools/sdk/ndk/index.html

第 1 步:从此网址下载 ndk https://developer.android.com/tools/sdk/ndk/index.html

step 2: Extract the downloaded sdk

第二步:解压下载的sdk

step 3: open eclipse and browse the NDK window->perference->android->NDK->browse your ndk

第3步:打开eclipse并浏览NDK窗口->perference->android->NDK->browse your ndk

回答by Volodymyr Kulyk

Just instal Developer Tools (Help -> Instal New Software -> http:////dl-ssl.google.com/android/eclipse/).
Dowload NDK. Extract it.
Then go to Window -> Preferences -> Android -> NDK -> And set NDK path

只需安装开发人员工具 ( Help -> Instal New Software -> http:////dl-ssl.google.com/android/eclipse/)。
下载NDK。提取它。
然后去Window -> Preferences -> Android -> NDK -> And set NDK path