N
N
NameOf Var2017-03-28 23:18:24
Android
NameOf Var, 2017-03-28 23:18:24

How to install Android SDK from Android Studio in Xamarin?

In general, I decided to reinstall the Android SDK to a different folder. Uninstalled Android SDK, downloaded Android Studio and SDK, installed. Now I want to bind the same SDK in Xamarin. I went into the settings, specified the folder. Visual Studio sees everything, everything seems to work: 6d52ce1d835f4d66b91c5cf4662e41c0.png
But, if I want to start the Android SDK Manager... 83edf23ae9304b0891f239a7de667165.png
A window quickly pops up and disappears: c1ed090348444363bdf15f88010981d1.png
Visual Studio log when opening the Android SDK Manager:

[I:sdk]:                  Looking for Android SDK..
[I:sdk]:                    Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path contains adb.exe in \platform-tools (D:\AndroidSDK).
[I:sdk]:                    Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory found:
    Path does not contain adb.exe in \platform-tools (C:\android-sdk-windows).
[I:sdk]:                    Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found.
[I:sdk]:                    Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Android SDK Tools\Path not found.
[I:sdk]:                  Looking for Android NDK..
[I:sdk]:                    Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory found:
    Path contains ndk-stack.exe in \. (C:\ProgramData\Microsoft\AndroidNDK\android-ndk-r10e\).
[I:sdk]:                    Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory not found.
[I:sdk]:                    Key HKCU\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
[I:sdk]:                    Key HKLM\SOFTWARE\Novell\Mono for Android\JavaSdkDirectory not found.
[I:sdk]:                  Looking for Java 6 SDK..
[I:sdk]:                    Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found.
[I:sdk]:                    Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome not found.
[I:sdk]:                    Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.7\JavaHome found:
    Path contains jarsigner.exe in \bin (C:\Program Files (x86)\Java\jdk1.7.0_55).
[I:Unknown]:              Found Android SDK. API levels: (none)

What is the error? Or will I have to reinstall Xamarin?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-03-29
@Rou1997

Rather, you need to reinstall the Android SDK, but what's the problem at all, is it really the launch of the SDK Manager, which does not have to be launched from the IDE.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question