-
Notifications
You must be signed in to change notification settings - Fork 0
Common problems and fixes
Problem:
Build fails and this error appears:
Severity Code Description Project File Line Suppression State Error An outdated of 'Android SDK Build-tools' is in use which this version of Android Support Library does not support. You must uninstall any 'Android SDK Build-tools' versions older than 23.0.0 from the 'Tools' section in your 'Android SDK Manager' You also need to install 'Android SDK Build-tools' version 23.0.0 or higher. Glimpse.Droid
Comment: Even if versions older than 23.0.0 from the 'Tools' section in the 'Android SDK Manager' are not installed. The error still appears.
Solution:
the tools were not installed according to SDK Manager, but they were still in C:\Program Files (x86)\Android\android-sdk\build-tools. I deleted all but 23.0.1 to get past this error.
Problem:
Deployment fails when running Droid Application
Solution:
Search Regedit in your computer Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android The path originally was C:\Users[User]\AppData\Local\Android\android-sdk
Change to the Path that is set in Xamarin Visual Studio. Go to Tools -> Options -> Xamarin, Click on Change for Android SDK , Copy Path Path should look like something like this: C:\Users[User]\AppData\Local\Xamarin\Universal\AndroidSDK
Paste it in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Android, and changing the SDK path to my Xamarin Mono Android SDK folder.
Run now and it should deploy properly.
Problem:
If you can't see the UI Tools in the designer view
Solution:
Go in tools -> options -> xamarin -> other -> click check now and see if u need a new version
Problem:
When starting web services project, your browser displays "ERROR CONNECTION REFUSED"
Solution:
Go to where you have your glimpse project: Ex: .\glimpse.vs\config\applicationhost.config
Open applicationhost.config with notepadd++, then Ctrl+F "sites" and find the site tag. In the tag, copy the content from . Ex: localhost:8080
Go WebServices, Right click open ->Properties -> Click Web Tab -> Change the Project URL in the Servers Section to what appeared in applicationhost.config file previously. Ex: localhost:8080
Run your WebServices project and your localhost should appear.
Problem:
If you get this error in Visual Studio, "exception has been thrown by the target of an invocation"
Solution:
You need to go to Add/Remove Programs or Control Panel -> on Modify Visual Studio -> Repair
NOTE: Repair will take a while to complete, do not close or files will get corrupt. Allow it to complete.
Problem:
The "LinkAssemblies" task failed unexpectedly. Xamarin
Solution:
Your configuration has been set to "Release" possibly, switch it back to "Debug" and run the program.