问题
When I am trying to install Android NDK plugin from
Android Developer Tools Update Site - 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.
'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.
回答1:
Just change the URL to https://dl-ssl.google.com/android/eclipse/
It solved.. :)
回答2:
You can follow below steps
step 1: download ndk from this url https://developer.android.com/tools/sdk/ndk/index.html
step 2: Extract the downloaded sdk
step 3: open eclipse and browse the NDK window->perference->android->NDK->browse your ndk
回答3:
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
来源:https://stackoverflow.com/questions/24118098/android-ndk-plugin-installation-in-eclipse-sdk