Android Studio 4.0, can't find LLDB in SDK-manager? - android

I know there are similar questions but most of them are either incomplete or don't really answer the question at all.
So I just installed Android Studio 4.0 and I need to install LLDB in the SDK Tools tab. However LLDB doesn't show in the list so I can't even select it to download/install:
I'm following a guide that does a fresh install of Android Studio where LLDB shows in the list from the start so I'm not really sure what I have to do to be able to install it?
I've searched around a bit both here and on Google and most answers talk about proxy settings but have incomplete or missing comments. There are no error messages in the SDK Update Sites tab either.
To be clear this is without any open projects since I just installed it and I'm trying to set everything up as according to the guide which is pretty recent from this year. Also I'm on Mac OS Catalina 10.15.4.
I'm sure it's going to turn out to be an easy fix and that I'm just being silly but I really could use some help with this.

According to https://developer.android.com/studio/projects/install-ndk:
LLDB: the debugger Android Studio uses to debug native code. By default, LLDB will be installed alongside Android Studio.

Related

"SDK tools directory is missing" when launching Android Studio on my mac

It shows that I've already installed the Android SDK but I can't find it.:<
Tried in terminal to see what's in the folder but find nothing, this location is empty. Why the app tell me that I've installed it? How can I solve this problem? Thank you!!
I would say that you reinstall Android Studio after checking the SDK Manager at first. The SDK Path may also be corrupted, so check that.
For me it was two issues, proxy settings although tested okay was not connecting to display the list of available SDKs. Also launching Android Studio using "Run as administrator" was also required.
I had exactly the same issue and I came across this post but then before implementing the suggested solutions, I decided to first restart my AndroidStudio, on restart it gave me the option to download SDK and after that, it worked perfectly well.
I have fixed it by downloading the Android SDK from IntelliJ rather than Android Studio.
Then restart Android Studio, It detects the installed version.

How to resolve : unexpected error occured Initializing Android Designer" in VS 2015 with Xamarin

Bringing up a new PC with Xamarin and VS 2015 Pro I received the following error:
An unexpected error occurred trying to initialize Android Designer.
Please verify the Android SDK path and the Java Development Kit path
on Tools->Options->Xamarin->Android Settings menu. Please see the logs
for more details.
I verified the SDK's are installed correctly. VS didn't generate any kind of Activity Log so I believe the log must lie elsewhere. Anyone know where I can find this log to find out more about what is wrong ?
I had exactly the same problem described (on a new PC, with a new Visual Studio install) and am 99.9% sure the answer is in how updates are applied. Or, more importantly, how they aren't being applied when you think they are.
Go to Tools | Options | Xamarin | Other, and under Xamarin for Visual Studio Updates, Check now for STABLE updates. Make sure you're running at least 4.2.0.680. You will have to close Visual Studio in the background as the updater is running--it'll warn you. Uninstalling and installing the cross-platform development tools from Visual Studio was not applying this update for me. I had to force the issue.
Now, as mentioned earlier, go to Tools, Android SDK Manager. I noticed my "Android SDK Tools" and "Cross Platform Tools" were out of date and updates were available. I accepted and applied the updates to version 24.4.1. BEAR WITH ME, THIS IS WHERE IT GETS TRICKY--it still didn't work.
Go back to Tools, Android SDK Manager. I immediately noticed that even though I'd just applied the latest update for "Android SDK Tools", (24.4.1), a new version (25.2.2) was now available, along with 17 other updates. I accepted them all.
Bingo. Where I once had the annoying error message and an empty design surface and an empty toolbox with the sad "no usable controls" message, I now have the attached screen snapshot--a design surface where I can see a visual representation of my .axml, and a toolbox from which I can drag and drop controls and they actually show up on my Samsung tablet.
Sorry so verbose. I lost hours on this problem and thought others might appreciate another working solution.
I had a similar problem as explained below.
Here a solution that worked for me:
1) delete the one package appearing in the screen shot below.
Nota bene: At this stage VS 2015 greyed out the Android SDK manager buttons, even after a restart.
2) download installer_r24.4.1-windows.exe for windows https://developer.android.com/studio/index.html
3) launch the Android SDK Manager outside of VS and install the proposed 19 packages. This time I could go through the installation.
4) Launch VS 2015 and create Xamarin Android project. Launching Main.axml would launch the designer properly on an android project.
The bug I had
I had the same problem here on a fresh install of Win10 + Full visual studio community 2015 update 3 + .Net Core + Azure SDK and Xamarin. Creating a new project Xamarin Native (iOs + Androird) shows up the same message as mentioned by MikeJ. In addition, running in debug F5 makes the designer have a new popup
Problem seems to appear also here
https://bugzilla.xamarin.com/show_bug.cgi?id=44374
and here
https://forums.xamarin.com/discussion/77669/how-do-i-fix-this-error-the-installed-android-sdk-is-too-old-version-25-1-3-or-newer-is-required
.
Opening the Android Manager does not show up version 25 as an option, instead it shows this
However, we cannot install (greyed out button even by accepting license)
Updating Xamarin did not work neither How to update Xamarin for Android within Visual Studio Community 2015
Some guidance would be great to understand what happened.
I had the same problem (when bringing up a new PC with Xamarin) and after a few days I solved the problem.
I moved sdk directory from "C:\Program Files (x86)\Android\android-sdk" to "C:\android-sdk". Then I opened the sdk manager and made updates. It's all.
I think the problem is with the path, which has space :)
I was able to to fix the issue by opening the Android SDK Manager and updating all the tools to the latest version.
If you are already using Android Studio in your computer then this might solve your problem.
Check whether SDK is already available at some other location. That worked for me. To check SDK path- Open Android Studio-> Click on SDK Manager Icon. Check Android SDK Location. Copy that path.
In Visual Studio-- Open Tools->Options->Xamarin->Android Settings menu and replace the new SDK path. It will automatically ask to download the updates. Install all packages and you are done!
before you go through all that trouble (and I went through many convoluted steps myself for several hours) please try run your VisualStudio as administrator and see what happens!
It solved the above issue (and then some) for me. I used fresh WIN 10 and VS2015 Community install and I must have set some of my permissions to tight.
Also I learned that updating my NuGet package: Xamarin.Forms (v.2.3.3.168)
solved errors related to:
System.MissingMethodException: Method Android.Support.V4.Widget.DrawerLayout.AddDrawerListener not found.
But that is another issue all together.
Adding these two references to Droid.csproj and packages.config fixed the problem for me:
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
<package id="Xamarin.Android.Support.Vector.Drawable" version="23.3.0" targetFramework="monoandroid60" />
Another issue to be aware of is that you need to have Java Development Kit 8 referenced in Xamarin, instead of JDK 7. You can set this is Tools > Options > Xamarin > Android.

Xamarin installation and update keep crashing

I am trying desperately to make my Xamarin studio work again. I was on Xamarin studio 5.10.3 and I try to update it to 6.0.2 and it keep crashing , I uninstall everything, delete all the xamarin folder information, delete the key product with regedit, download everything again and again but nothing is working, it is stuck to version 5.10.3 newer version even stable keep giving me the same error message (screenshot in image attachement). thanks in advance guys for your help
Screenshot here
Although you could work around this by ensuring the correct items are installed. We highly recommend that you move over to use Visual Studio on Windows instead.
https://www.xamarin.com/faq#xpq6
Here are some things you may need to ensure are installed to see if it resolves your problem even though the FAQ above is saying differently:
1) Ensure you download the correct developer pack: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html
(4.5.2 should suffice)
2) Ensure you have MSBuild Tools 2013/2015 Installed
https://www.microsoft.com/en-us/download/details.aspx?id=40760
https://www.microsoft.com/en-us/download/details.aspx?id=48159
However I would recommend just using VS from this point on as noted in the FAQ.
As I see in your screenshot, when Xamarin Studio opens, you see MonoDevelop stuff instead of Xamarin. I had the exact same problem some months ago. I solved it by going to main menu > account and then log out. Then restart and log-in again.
Still not sure if that will work in Windows because it was on a mac in my particular case.

Unable to link LiveCode to Android SDK

This is my first question on this forum, i'm really sorry if i missed something that i was unable to find by my multiple search efforts.
I am am using a 16GB Ram Mac upgraded to Maverick 10.9, i have just purchased the Livecode Commercial package (6.5.1-RC-1)
I have successfully linked the IOS SDK to the Mobile Support Preference list.
I've attempted to load the Android SDK without success. :(
When navigating and selecting the Android SDK Folder /Users/macuser/Documents/My LiveCode/adt-bundle-mac-x86_64-20131030/SDK i get the error message:
"The chosen folder is not an Android SDK, please ensure you have installed it correctly and enabled support for Android 2.2 (Froyo)"
I've noticed others have also encountered this, but i've not seen how they solved it :(
In attempt to ensure i have loaded everything, i have followed the steps on this link with success all the way up to and including Starting the Virtual Device Simulator.
http://lessons.runrev.com/s/lessons/m/2571/l/27389-how-do-i-become-an-android-developer-on-a-mac
Thank you in advance for any guidance on next steps.
Joe
I think I've discovered the answer.
The error message was more helpful that i expected.. and i'm feeling pretty foolish! So.. In the Android SDK Manager Dialog Box there's a list of Android versions that you can download. At this time the current version is Android 4.4 (Kit Kat?) but if you don't go all the way back and select the SDK's associated with version 2.2 then the Livecode seems unsatisfied :). Makes total sense.. since it tells you in the error message that it is in fact looking for the Froyo release.
So if this happens to you.. open the Android SDK Manager Dialog box. You can find it in the Android ADT Application under the 'Window' menu item and selecting the 'Android SDK Manager' list item. This will launch the Android SDK Manager dialog box. Then select the Android 2.2 (API 8) folder, check it, accept the license and download it. Then go back to Livecode and link to the SDK Folder /Users/macuser/Documents/My LiveCode/adt-bundle-mac-x86_64-20131030/SDK and no error will be raised. Hope this helps someone that happened to ignore the obvious like me :) -Joe

Can't Install ADT. org.eclipse.wst.xml.ui is missing

I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error.
Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found
I am running Kubuntu 9.10 and Eclipse 3.5. I have managed to get the Android DDMS to install. But I keep running into blocks with the Development Tools. I have the Android SDK installed.
What do I need to do in order get the missing component?
Ran into the same problem, and after a bit of searching, I found this:
http://code.google.com/eclipse/docs/faq.html#wstinstallerror
It looks like fedora ships with the official eclipse repository disabled by default. (was true for me on fedora 12 64bit) You need to go to Help->Install New Software, click on the "Available Software Sites" link, find the official repository in the list, and enable it.
I never use Eclipse classic as ADt requires wst..install eclipse j2ee or modeling to fix missing components
I ran into this when I did not precisely follow the order of the installation instructions. Delete your eclipse install and reinstall, run update until it doesn't find anything new, then install the android plugin checking the box that says to search all sites for required packages. It should clean it right up. You'll still need to do all the configuration in the developer.android.com instructions for installation.
Had the same issue.
I had to add the plugin for (in my case) galilio, by adding
http://download.eclipse.org/releases/galileo in the install new software tab,
then selected each of the WST packages (the xml one alone didnt resolve it).
They were listed twice (same version, different checksums), so I choose the first of each.
HTH,
Stuart
I was having this trouble for a couple weeks then i noticed my Anti-Virus icon (AVG) kept popping up beside my clock when i normally have it hidden.
I disabled my anti-virus and the web link scanner and tried again.
Worked fine.
Hope it helps.

Categories

Resources