Xamarin installation and update keep crashing - android

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.

Related

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

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.

My Android Studio is completely broken

I recently started learning android development and I am using Android Studio. For the first couple of days it worked fine but now nothing is working. I can't even get passed the welcome screen. I have tried to delete everything and reinstall it multiple times but it hasn't worked. When I try to start a new Android Studio project it says "Your Android SDK is missing , out of date, or is missing templates." I would like to just completely delete everything and reinstall it. But i'm not sure how to properly do that. Also im using a mac.
To completely remove you can open Finder, goto the Applications folder and locate Android Studio then drag that to the Trash, once done you need to empty Trash.
Then you can download and re-install Android Studio.
Also you may need to take a look at this question as well
Hope that helps.

Basic Xamarin Android SDK Issue

I've never struggled with anything in programming as much as this Xamarin installation, unbelievably flakey. I've got my environment (VS 2015 Enterprise) to a point whereby I can spin up a new Blank App (Android) but the designer requires a newer version of the Android SDK (apparently):
I've only just installed the latest Android Studio, so I can confirm (in Xamarin settings) I'm pointing to the correct path for the SDK (in AppData/Local etc.)
On opening the SDK manager I can see the latest SDK tools is installed.
Please note: I've also tried running the SDK manager independently of VS (and as admin).
Never had this much trouble trying to get something installed and configured. Any help MASSIVELY appreciated.
Whoever helps me crack this gets a massive bounty.
EDIT:
Found this in the logs, fairly certain this is the issue:
Xamarin.VisualStudio.Android.MonoAndroidDesignerPane Error: 0 : [2016-09-22 16:36:54.2716] System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Xamarin.VisualStudio.Android.Designer.MonoAndroidDesignerDocumentCache.Push(String filePath, AndroidDesignerDocumentCacheItem value) in C:\data\lanes\3513\c4382f51\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerDocumentCache.cs:line 25
at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\data\lanes\3513\c4382f51\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 619
at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.b__66_0() in C:\data\lanes\3513\c4382f51\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 612
EDIT
Bounty is for Jon when it allows me to award it. This issue has already been resolved.
Try to delete your obj/bin folders as it seems you might have an AndroidSdksCache holding the old version. Specifically look for a file here obj\Debug\sdks.cache.
The second note is that you have build-tools 23.0.0 installed. Please uninstall that version and any other old version and install 24.0.2.
It shows the current directory as being C:\sdk1\ when the referenced SDK version is different in your screenshot. You will need to update C:\sdk1\ to the latest Android SDK Tools.
I think that can be many things.
1) some time your user name in your PC if have character specials like accents or spaces. Make problems with the VS.
2) you need check if you install Visual studio Emulator android. After donwload a device and check the api that have that device.
Windows 8 or windows 10 pro.
https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx
DonĀ“t use the generic emulator. If you dont know how configure.
3)Make sure that you have install Xamarin correctly in your VS.
Tool -> options -> Xamarin
you need watch all the green check.
if the android dont have the green check. Search the route when you have install the sdk. For example watch the image. My root for example
Let me know if this solve your problem. Regards.

Android studio error i can't build any app

I'm from a country that is blocked from google android developers so I download it through en.uptodown.com. I have installed and everything but still I can't build any app.
I tried to use offline mode but nothing helped me to fix this error and when I use it without offline mode I wait a lot and I don't get anything, screenshot of the errors
Please keep it in mind I can't use SDK manager because I'm from blocked countries.
If anyone can help me how to use the Android Studio offline and which SDK files that I need to use android studio offline because I start to think I have to use eclipse but it's old
You can use the this link to download what ever you need. It contain all the build-tools and platform tools.
You should change your country in your control panel
Windows 10 : Settings -> Time & Language -> Region and Language
I hope this helps, haven't tried it yet.

Starting Android Learning

Recently i've started android training, and i've got the below 2 issues.
In my desktop i already had eclipse installed, and when trying to import the android plugins, I was getting some error, so what i did was downloaded eclipse+android package from android developers website and I copied it onto my programs files folder where java is installed and when i open it, it is throwing me an error saying the javaw is not found, goinf through the earlier posts on SO website, i've tried the below.
-vm
\adding the java path
But this didn't work for me. so what i did was installed the same package in my laptop(there is no another eclipse on my laptop). and it started working fine.
On my laptop in the eclipse+android package i write a program and when i hit the Android virtual device manager, it asks me to create a AVD, and when i've filled the entire data here, the OK button is still greyed out. Below is the screenshot.
Also i've tried to create by creating from Device definition,even here i'm not getting the ok button hoghlighted and below is its screenshot
please let me know how can i fix the above issues.
Thanks
Firstly you need not wonder for such a mess ..
For IDE purpose .. go to this link .. https://developer.android.com/sdk/installing/studio.html
Android Studio IDE contains all you need .. Just download ..extract and start creating your first Android project.
And now for tutorials to learn .. try these site ..
(1) https://buckysroom.org/videos.php?cat=6 ( Travis ... provide best tutorial in this world )
(2) https://developer.android.com/index.html
Now you are good to go ..
You can see it clearly says: "CPU/ABI: No system images installed for this target"
So either:
Lower your target.
Update your SDK.
Then set a CPU and you can go on in the AVD creation process.
update the sdk, install ARM/intel(x86) for CPU/ABI
Try using Android Studio by IntelliJ ,as it is for more better than eclipse and moreover ADT plugin for Eclipse is no longer in active development.
if you then also get the same error again try this link android Developer and setup java environment.

Categories

Resources