Android Designer not working

Hi,
i have been using Xamarin Studio 5.7.1 for a week now and everything is working fine but yesterday the Android Designer is not loading properly, i mean it is not loading at all. The circle icon at the center just keeps going round and round. I tried changing Java SDK(1.6,1.7,1.8)32 and 64 bit, i uninstalled and re-installed both the Java and the Studio, still it does not work. I will truly appreciate your help and time. Thank you,

Best Answer

Answers

  • Mar.9922Mar.9922 USMember

    i see, thank you for your feedback, i hope they can resolve this asap.

  • NumanArifNumanArif USMember
    edited September 2015

    i have recently installed Xamarin and facing the same issue in both XamarinStudio and VisualStudio

  • AlanMcGovernAlanMcGovern USXamarin Team Xamurai

    Can you attach the log files and any relevant error information? You can get the log files by clicking Help -> Open Log Directory

  • SaifAsadSaifAsad USMember
    edited July 2016

    Having the same error, please help asap, this is my log file:

    Xamarin Information: 0 : [2016-07-18 22:48:55.0207] Xamarin - 4.1.1.3-c7sr0+34a92cd
    Xamarin.VisualStudio.Activation.AccountManager Information: 0 : [2016-07-18 22:48:55.4999] VS2015 Enterprise
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:55.6692] No license found for iOS
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:55.8042] Running license sync for iOS
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:55.9544] No license found for Android
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:56.1191] Running license sync for Android
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:58.6394] Updated license: Android VSEnterprise
    Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-07-18 22:48:59.0249] Updated license: iOS VSEnterprise
    Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 22:49:48.6099] Hooked up SDB tracing adapter
    Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 22:49:48.8090] Initialization finished
    Xamarin.VisualStudio.Android.XamarinAndroidPackage Warning: 0 : [2016-07-18 22:49:48.9635] Initializing Xamarin.VisualStudio.Android.XamarinAndroidPackage
    Xamarin.VisualStudio.Android.MonoAndroidDesignerPane Error: 0 : [2016-07-18 22:51:08.3230] System.AggregateException: One or more errors occurred. ---> System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
    at EnvDTE.Document.Close(vsSaveChanges Save)
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 548
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at EnvDTE.Document.Close(vsSaveChanges Save) at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 554 at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.<OpenViewCodeAsync>b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542 at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

    Xamarin.VisualStudio.Android.MonoAndroidDesignerPane Error: 0 : [2016-07-18 22:55:42.8917] System.AggregateException: One or more errors occurred. ---> System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
    at EnvDTE.Document.Close(vsSaveChanges Save)
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 554
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at EnvDTE.Document.Close(vsSaveChanges Save) at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 554 at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.<OpenViewCodeAsync>b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542 at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

    Xamarin.VisualStudio.Android.MonoAndroidDesignerPane Error: 0 : [2016-07-18 22:56:19.9385] System.AggregateException: One or more errors occurred. ---> System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
    at EnvDTE.Document.Close(vsSaveChanges Save)
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 554
    at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542
    at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- ---> (Inner Exception #0) System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) at EnvDTE.Document.Close(vsSaveChanges Save) at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.OpenViewCode() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 554 at Xamarin.VisualStudio.Android.MonoAndroidDesignerPane.<OpenViewCodeAsync>b__54_0() in C:\Users\builder\data\lanes\3420\34a92cd0\source\xamarinvs\src\Core\VisualStudio.Android\Designer\MonoAndroidDesignerPane.cs:line 542 at System.Threading.Tasks.Task1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()<---

    Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 23:01:00.3391] Hooked up SDB tracing adapter
    Xamarin.VisualStudio.TastyPackage Information: 0 : [2016-07-18 23:01:00.7268] Initialization finished
    Xamarin.VisualStudio.IOS.XamarinIOSPackage Warning: 0 : [2016-07-18 23:01:01.0498] Initializing Xamarin.VisualStudio.IOS.XamarinIOSPackage.
    Xamarin.VisualStudio.IOS.XamarinIOSPackage Information: 0 : [2016-07-18 23:01:01.3881] MDAddinsHash: 33f406fa2dcf214012c78cb846585f062b2e1d24

  • Same problem, same logs.

  • DaveVronayDaveVronay USMember

    I have this exact same issue. The first time I open an axml, it usually works. But after making some changes - particularly when I make them in the source view (which I used all the time since the organized property panel in visual studio is pretty much unusable).

  • Andrew6458Andrew6458 ROMember

    Same problem here. After the error

    Xamarin.VisualStudio.Android.MonoAndroidDesignerPane Error: 0 : [2016-10-12 16:07:08.3740] System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.

    comes this error:

    System.IO.IOException: The process cannot access the file 'c:\users\alex\documents\visual studio 2015\Projects\App4\App4\obj\Debug\Schemas\23\schemas.android.com.apk.res.android.xsd' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName) at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) at Xamarin.AndroidDesigner.Completion.Xsd.AndroidXsdCompletionEngine.WriteAndroidXsds(AndroidRawCompletionData data, CancellationToken token) at Xamarin.AndroidDesigner.AndroidDesignerSession.<GenerateXsdCompletionFiles>d__275.MoveNext() Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-10-12 13:33:05.9162] INFO: Changing layoutlib, from 0 to 23 Xamarin.VisualStudio.ActivationManager Information: 0 : [2016-10-12 13:33:06.1143]

Sign In or Register to comment.