Xamarin.Android crash only on Android 10 - xamarin.android

I have a project that is working perfectly in any version below api 29.
When i try to run in a Android 10 device the app crashes after show the splash screen, debugger show this error:
Java.Lang.RuntimeException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x0008e] in <fc4bff518fb145b08cf1d4e7e1c0cbf6>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in <fc4bff518fb145b08cf1d4e7e1c0cbf6>:0
at Android.App.Activity.SetContentView (System.Int32 layoutResID) [0x00022] in <4a76267a9af54c85b9b3584cc8303037>:0
at Garcom.Activities.BaseActivity.OnCreate (Android.OS.Bundle bundle) [0x00040] in <d242ef43b0c34a7b9894c0c17a1c6cf5>:0
at Garcom.Activities.Login.OnCreate (Android.OS.Bundle savedInstanceState) [0x00001] in <d242ef43b0c34a7b9894c0c17a1c6cf5>:0
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x0000f] in <4a76267a9af54c85b9b3584cc8303037>:0
at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.1(intptr,intptr,intptr)
at android.view.InflateException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Caused by: android.view.InflateException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference
at at uk.co.chrisjenx.calligraphy.ReflectionUtils.getValue(ReflectionUtils.java:25)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:203)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:302)
at at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:239)
at at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1069)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:997)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:659)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at at android.support.v7.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:631)
at at android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518)
at at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466)
at at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
at at crc64f084fe566d431cdf.Login.n_onCreate(Native Method)
at at crc64f084fe566d431cdf.Login.onCreate(Login.java:30)
at at android.app.Activity.performCreate(Activity.java:7802)
at at android.app.Activity.performCreate(Activity.java:7791)
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1299)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at at android.os.Handler.dispatchMessage(Handler.java:107)
at at android.os.Looper.loop(Looper.java:214)
at at android.app.ActivityThread.main(ActivityThread.java:7356)
at at java.lang.reflect.Method.invoke(Native Method)
at at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
Java.Lang.RuntimeException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x0008e] in <fc4bff518fb145b08cf1d4e7e1c0cbf6>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in <fc4bff518fb145b08cf1d4e7e1c0cbf6>:0
at Android.App.Activity.SetContentView (System.Int32 layoutResID) [0x00022] in <4a76267a9af54c85b9b3584cc8303037>:0
at Garcom.Activities.BaseActivity.OnCreate (Android.OS.Bundle bundle) [0x00040] in <d242ef43b0c34a7b9894c0c17a1c6cf5>:0
at Garcom.Activities.Login.OnCreate (Android.OS.Bundle savedInstanceState) [0x00001] in <d242ef43b0c34a7b9894c0c17a1c6cf5>:0
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x0000f] in <4a76267a9af54c85b9b3584cc8303037>:0
at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.1(intptr,intptr,intptr)
at android.view.InflateException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Caused by: android.view.InflateException: Binary XML file line #17 in com.panterafood.garcom:layout/abc_screen_simple: Error inflating class android.support.v7.widget.FitWindowsLinearLayout
at Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference
at at uk.co.chrisjenx.calligraphy.ReflectionUtils.getValue(ReflectionUtils.java:25)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(CalligraphyLayoutInflater.java:203)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(CalligraphyLayoutInflater.java:20)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(CalligraphyLayoutInflater.java:302)
at at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:239)
at at android.view.LayoutInflater.tryCreateView(LayoutInflater.java:1069)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:997)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:659)
at at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(CalligraphyLayoutInflater.java:60)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at at android.support.v7.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:631)
at at android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518)
at at android.support.v7.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466)
at at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
at at crc64f084fe566d431cdf.Login.n_onCreate(Native Method)
at at crc64f084fe566d431cdf.Login.onCreate(Login.java:30)
at at android.app.Activity.performCreate(Activity.java:7802)
at at android.app.Activity.performCreate(Activity.java:7791)
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1299)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3245)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3409)
at at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016)
at at android.os.Handler.dispatchMessage(Handler.java:107)
at at android.os.Looper.loop(Looper.java:214)
at at android.app.ActivityThread.main(ActivityThread.java:7356)
at at java.lang.reflect.Method.invoke(Native Method)
at at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
About Visual Studio:
=== Visual Studio Community 2019 for Mac ===
Version 8.6.8 (build 2)
Installation UUID: 62dd4eec-8f9a-439f-b01d-4ea3930db8fc
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)
Package version: 610000106
=== Mono Framework MDK ===
Runtime:
Mono 6.10.0.106 (2019-12/77769615db1) (64-bit)
Package version: 610000106
=== Roslyn (Language Service) ===
3.6.0-3.20210.9+4eafdcb1bcbd8d3573f2ba6065e56d9b9ce4f8a3
=== NuGet ===
Versão: 5.6.0.6591
=== SDK do .NET Core ===
SDK: /usr/local/share/dotnet/sdk/3.1.302/Sdks
Versões do SDK:
3.1.302
3.1.300
3.1.101
3.1.100
SDKs do MSBuild: /Library/Frameworks/Mono.framework/Versions/6.10.0/lib/mono/msbuild/Current/bin/Sdks
=== Runtime do .NET Core ===
Tempo de execução: /usr/local/share/dotnet/dotnet
Versões de Tempo de Execução:
3.1.6
3.1.4
3.1.1
3.1.0
2.1.20
2.1.18
2.1.15
2.1.14
=== Xamarin.Profiler ===
Versão: 1.6.13.11
Local: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Versão: 11
=== Apple Developer Tools ===
Xcode 11.6 (16141)
Build 11E708
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: 13.18.3.2 (Visual Studio Community)
Hash: ce0cc74a3
Branch: d16-6-xcode11.6
Build date: 2020-07-16 18:15:27-0400
=== Xamarin.Android ===
Versão: 10.3.1.4 (Visual Studio Community)
Fazer commit: xamarin-android/d16-6/3a10de9
Android SDK: /Users/osdinformatica/Library/Developer/Xamarin/android-sdk-macosx
Versões Android com suporte:
4.4 (nível da API 19)
8.0 (nível da API 26)
8.1 (nível da API 27)
Versão das Ferramentas de SDK: 26.1.1
Versão das Ferramentas da Plataforma SDK: 29.0.4
Versão das Ferramentas de Build do SDK: 28.0.3
Informações do Build:
Mono: 165f4b0
Java.Interop: xamarin/java.interop/d16-6#2cab35c
ProGuard: xamarin/proguard/master#905836d
SQLite: xamarin/sqlite/3.31.1#49232bc
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-6#bfb66f3
=== Microsoft OpenJDK for Mobile ===
Java SDK: /Users/osdinformatica/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
O código EPL do Android Designer está disponível aqui:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android SDK Manager ===
Version: 16.6.0.50
Hash: 5901879
Branch: remotes/origin/d16-6
Build date: 2020-06-10 22:42:50 UTC
=== Android Device Manager ===
Version: 16.6.0.96
Hash: 6e8b80b
Branch: remotes/origin/d16-6
Build date: 2020-06-10 22:43:28 UTC
=== Xamarin Designer ===
Version: 16.6.0.329
Hash: d4f8bcd13
Branch: remotes/origin/d16-6
Build date: 2020-04-24 02:16:02 UTC
=== Build Information ===
Release ID: 806080002
Git revision: e999e2934e8c771fdf6494b80361dacef9427565
Build date: 2020-07-24 15:17:52-04
Build branch: release-8.6
Xamarin extensions: e999e2934e8c771fdf6494b80361dacef9427565
=== Operating System ===
Mac OS X 10.15.4
Darwin 19.4.0 Darwin Kernel Version 19.4.0
Wed Mar 4 22:28:40 PST 2020
root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
I found this question whith a similar error: "https://stackoverflow.com/questions/57495384/crash-on-calligraphy-library-by-chris-jenx-for-android-q".
The anwser for that was migrate to Calligraphy 3, can i do this in Xamarin.Android? How?
Could be something else? What?

I suggest you to take a look at this guide
I faced the same problem on a legacy Xamarin.Android project and I solved it removing Calligraphy. This is not a big problem since you must support and target API 28 (29 from November 2th). The problem was solved in Calligraphy 3+ but that version of library is currently not up to date in available Xamarin Nuget packages (they are still base on calligraphy 2).

Related

Not able to load .net DLL targeted for 64-bit platform only

Below is the exception being thrown:
com.javonet.api.NException: Could not load file or assembly 'file:///C:\downloads\UrlNomalization\Microsoft.Bing.HashUtil.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
at System.Reflection.RuntimeAssembly._nLoad(Unknown Source)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(Unknown Source)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(Unknown Source)
at System.Reflection.Assembly.LoadFrom(Unknown Source)
at SicsClrController.Engine.ClrEngine.LoadAssembly(Unknown Source)
at SicsClrController.Engine.ClrEngine.processCommand(Unknown Source)
at com.javonet.internal.BinaryStreamProtocol.executeCommand(Unknown Source)
at com.javonet.internal.GatewayManager.loadAssembly(Unknown Source)
at com.javonet.Javonet.<clinit>(Unknown Source)
at Hello.main(Hello.java:20)
My system settings:
IntelliJ IDEA 2020.2.2 (Ultimate Edition)
Build #IU-202.7319.50, built on September 14, 2020
Licensed to IntelliJ IDEA Evaluator
Expiration date: October 25, 2020
Runtime version: 11.0.8+10-b944.31 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1971M
Cores: 8
Actually, my .net dll was blocked (since came from 3rd party) by windows, unblocking this file solved the issue.

Visual Studio Xamarin Android System.Net.WebException: Error: ConnectFailure (Network is unreachable)

my Android app created in Xamarin has problem with internet connection, below is error code.
Time Device Name Type PID Tag Message
10-09 05:04:52.256 Genymotion Samsung Galaxy S7 - 6.0.0 - API 23 - 1440x2560 Error 1453 AndroidRuntime android.runtime.JavaProxyThrowable: System.Net.WebException: Error: ConnectFailure (Network is unreachable) ---> System.Net.Sockets.SocketException: Network is unreachable
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000b6] in <6c708cf596db438ebfc6b7e012659eee>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0016d] in <6c708cf596db438ebfc6b7e012659eee>:0
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (System.String method_name, System.Object[] parameters) [0x000a7] in <3f9824dbe67544e1805773e0a3dbdf6b>:0
at GWAWE.localhost.Service1.Get_Data () [0x00001] in <1baad81b40d64c6886bf076df034661f>:0
at (wrapper remoting-invoke-with-check) GWAWE.localhost.Service1:Get_Data ()
at gwawe.MainActivity.BuildLayout () [0x00031] in <1baad81b40d64c6886bf076df034661f>:0
at gwawe.MainActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x0004e] in <1baad81b40d64c6886bf076df034661f>:0
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x0000f] in <9663139ab15947a89e15a6bcd9621f68>:0
at (wrapper dynamic-method) System.Object:e6ea694d-cf84-4098-a161-481a5ad1d4ae (intptr,intptr,intptr)
at md5a9dcb246785c0066d52ff25b77e1a72d.MainActivity.n_onCreate(Native Method)
at md5a9dcb246785c0066d52ff25b77e1a72d.MainActivity.onCreate(MainActivity.java:29)
at android.app.Activity.performCreate(Activity.java:6237)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Force finishing activity GWAWE.gwawe/md5a9dcb246785c0066d52ff25b77e1a72d.MainActivity
I'm using Visual Studio 2017 with Xamarin and Genymotion. Visual Studio, Xamarin and Genymotion are up to date. App is created only for Android 6.0.
In android manifest I added android.permission.RECEIVE_BOOT_COMPLETED.
I'm using "Wi-Fi" on emulator.
Application have to autostart after device boot up and error show only when I reboot emulator. If I run application manually everything works fine.
The application connects to IIS web service.
Does anybody have a clue what is going on here?
Well from what i understand either the internet permission isn't granted in your Android application or you do not have an internet connection, in case you don't have the permission all you have to do is add this line in your manifest.
<uses-permission android:name="android.permission.INTERNET" />

App Crash on Simulator after xCode9 update

Please help.
After updating to xCode 9 and Xamarin I started getting this error when launching my app on the simulator (iPhone4s and iPhone 5)
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Beginning launch sequence for bundle 'AppName'
retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout )
bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout )
bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway )
Note: Use 'xcrun simctl spawn booted defaults write ' to modify defaults in the booted Simulator device.
Simulator booted at: 2017-09-27 06:13:45 +0000
Current time: 2017-09-27 06:38:43 +0000
Within boot leeway: NO
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Launch attempt #0 for bundle 'AppName', have been trying to launch for 0 seconds. Modern launch services = NO
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x8c48][1673]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x8c48]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x8c48]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.
Sep 27 08:38:43 Administrators-MacBook-Pro.local CoreSimulatorBridge[1307]: Non-FBS error launching 'AppName', will NOT retry. Error was: Error Domain=NSPOSIXErrorDomain Code=3 "Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch." UserInfo=0x79625e00 {NSLocalizedDescription=Failed to lookup the process ID of AppName after successful launch. Perhaps it crashed after launch.}
Sep 27 08:38:43 Administrators-MacBook-Pro com.apple.CoreSimulator.SimDevice.F31CDDCE-9C99-49C9-9BDE-2F2C7330CFC1[1288] (UIKitApplication:AppName[0x315b][1674]): Program specified by service does not contain one of the requested architectures: Äúé
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to get pid for 'UIKitApplication:AppName[0x315b]': No such process (err 3)
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Application 'UIKitApplication:AppName[0x315b]' exited voluntarily.
Sep 27 08:38:43 Administrators-MacBook-Pro.local SpringBoard[1301]: Unable to deliver -[UIRemoteApplication showTopMostMiniAlertWithSynchronizationPort:] message to port 0: (ipc/send) invalid destination port
Sep 27 08:40:24 Administrators-MacBook-Pro.local DTMobileIS[1403]: Could not create service named com.apple.instruments.server.services.processcontrol.posixspawn
Any help in the right direction would be much appreciated.
My Supported Architectures are : i386 + x86_64
More info:
=== Visual Studio Community 2017 for Mac ===
Version 7.1.5 (build 2)
Installation UUID: 7ab56de2-d309-4bf5-99dc-8e8927831737
Runtime:
Mono 5.2.0.224 (d15-3/14f2c81) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 502000224
=== NuGet ===
Version: 4.3.0.2418
=== .NET Core ===
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.5.5
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Xamarin.Android ===
Version: 7.4.5.1 (Visual Studio Community)
Android SDK: /Users/administrator/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
7.0 (API level 24)
7.1 (API level 25)
SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3
Java SDK: /usr
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Xamarin Inspector ===
Version: 1.3.1
Hash: cbc48dd
Branch: 1.3-release
Build date: Thu, 21 Sep 2017 19:52:53 GMT
Client compatibility: 1
=== Apple Developer Tools ===
Xcode 9.0 (13247)
Build 9A235
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: 11.0.0.0 (Visual Studio Community)
Hash: 152b654a
Branch: xcode9
Build date: 2017-09-15 02:25:56-0400
=== Build Information ===
Release ID: 701050002
Git revision: 7afedcaef8e7542e70e3cf8f9bdb26938b8c0876
Build date: 2017-09-15 08:39:58-04
Xamarin addins: 3262aadf811a18c12eac6742532d052b0139a808
Build lane: monodevelop-lion-d15-3-xcode9
=== Operating System ===
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Actually how this works is that the Xcode version in your mac system and the xamarin version on your windows device should match.
To see which xcode version matches your xamarin version check here:
https://releases.xamarin.com/stable-release-15-3-5-with-xcode-9-support/

Xamarin iOS Error initialized task IBTool

I can't run any project for iOS in Xamarin, It shows me the following error "Error Initialized task IBTool: Not registered task IBToll", how I can resolve this error?
I use Xamarin Studio 5.9.4, XCode 5.0, Xamarin Ios 8.10.3.2 (Business Edition) and S.O Mac Os X 10.9.5
I hope you can help me
UPGRADE
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 616c0f77-e96a-4f5d-a6f7-c303c7e143c3
Runtime:
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 5.1.4.16 (Business Edition)
Android SDK: /Users/student/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
=== Xamarin Android Player ===
Not Installed
=== Apple Developer Tools ===
Xcode 5.0 (3332.22)
Build 5A1412
=== Xamarin.iOS ===
Version: 8.10.3.2 (Business Edition)
Hash: 8b265d6
Branch: master
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
Not Installed
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.9.5
Darwin Students-Mac.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64

Can't get program to load on customers computer, keep getting error.

I'm trying to figure this out because I haven't had this issue. I am trying to load my HVAC coil selection software on my customers computer running windows XP and no matter what I try I get the same error. My IT dept says that it is a virus on my customers computer, according to him he has had it cleaned. I am hoping you can help as this is a good customer and I think my IT dept is being lazy. Below is the full detail of the error. Thanks for any help you can give.
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObjectSearcher.Initialize()
at System.Management.ManagementObjectSearcher.Get()
at Microsoft.VisualBasic.Devices.ComputerInfo.get_OSManagementBaseObject()
at Microsoft.VisualBasic.Devices.ComputerInfo.get_OSFullName()
at TotPackage.Login.btnLogin_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
The TOTAL PACKAGE
Assembly Version: 9.12.2012.2
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Documents%20and%20Settings/bhearn/Local%20Settings/Apps/2.0/PKLPRNX9.DOY/ONT96PNM.EH6/thet..tion_a6332c07e9ae935a_001a.0000_1afb0bd62aad833e/The%20TOTAL%20PACKAGE.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3637 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3639 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
lwdnwexc
Assembly Version: 9.12.2012.2
Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Rae.Core
Assembly Version: 2007.4.9.1
Win32 Version: 2007.04.09.01
CodeBase: file:///C:/Documents%20and%20Settings/bhearn/Local%20Settings/Apps/2.0/PKLPRNX9.DOY/ONT96PNM.EH6/thet..tion_a6332c07e9ae935a_001a.0000_1afb0bd62aad833e/Rae.Core.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
We had the exact same problem with one of our costomers. I had some help of their IT-Guy and we solved it by repairing the WMI.
I resolved it using this post:
System.Management.ManagementException: Not found

Resources