I am developing Xamarin.Forms on Visual studio 2015, I have a mac connected to my PC, when trying to preview by the option
(View > OtherWindows >Xamrin.Forms Previewer) The android preview shows the error below
But the IOS preview is working fine and is updated as soon as I change the xaml code
How can I fix this ? What I have already tried are
Rebuilding the project and solution
Installing the latest android build tool
Restarting Visual studio
Updating Android SDK
Installing a x64 bit JDK and mapping its path in visual studio
none of these are working. I would also like to know if ANDROID NDK has something to do with this (currently running android-ndk-r10e) and if it is necessary to update that as well ?? Any help is appreciated.
Thanks in advance!
I'm having the exact same issue . I re-posted your topic in Xamarin forum . Hope that is ok : https://forums.xamarin.com/discussion/87991/xfpagerendererview-error-on-xaml-previewer/p1?new=1
I'm using ndk r13b - same issue
Related
I am running Mac OS Catalina, and have Visual Studio version 8.3.8 installed. Before installing Catalina I had no problems building and running my code in Visual Studio.
I don't get any errors when building the code, but each time I try to run my code I get the following dialog popup
Could not connect to the debugger
And I get the following in my terminal:
bash: /Library/Frameworks/Mono.framework/Versions/6.4.0/bin/mono32:
Bad CPU type in executable
I suspect that Catalina doesn't run 32 bit programs, is there a way around this? I thought that Mono from version 5.2 defaulted to 64 bit.
I ran into this issue while using the following settings:
Windows 10
Visual Studio 2019
Macbook Pro
macOS Big Sure 11.4
Visual Studio for Mac (latest)
XCode 12.5
When trying to debug my Xamarin app for IOS and connect my mac in visual studio I had to follow the following steps.
Install mono - https://www.mono-project.com/docs/about-mono/supported-platforms/macos/
Open Visual Studio for Mac (on mac)
Open XCode (mac)
Connect To mac through Visual Studio
After that I stopped getting the connection error.
I know this isn't your exact question, but maybe it can help someone in the future.
I experienced the same problem when trying to debug practically any app in VS Mac. I am now using 2022 and the same issue persisted since using 2019. If trying to debug your code locally, what you can do is to run your app first without debugging. Then, attach the debugger to the executed process. So, if your web app is executing in let's say, "Chrome", then search for that process, usually, it will be the name of your app (it's a dotnet process), then simply attach the debugger to it. Then, you should be able to set breakpoints and hit them.
Hope this will help anyone working with VS for Mac.
I got this error when trying to update android studio 3.1.3:
Anyone know how to fix this ?
I ran into a similar error. The only solution I found was to uninstall my outdated Android Studio version (which wouldn't patch/upgrade) and then I went online and installed the latest/current Android Studio version. No patching/upgrade would go through, so I just uninstalled and reinstalled it.
I made a project in IBM Worklight Version 6.2.I am have added android,iOS and WindowPhone8 Enviournment for the project.I am able to build and run the application in android and iOS.But when i imported the project in VS2012 for windowPhone8 It is not Working.It is not showing the Css and the click events are not working.Seems like it did not loaded Js and css but these files are present in folder structure.
Do i need to do any changes or am i doing anything wrong.Kindly help me running my project in Windows phone 8.
Thanks in Advance
From tests performed, the Windows environment is built and displayed correctly. You've been asked to provide the project where this is happening to you. Do that.
Try cleaning Visual Studio's cache, try to preview your app in MobileFirst Studio and make sure there are no errors.
In the process of creating an Hybrid app while adding other environmenent i mean adding apple and android thus it requires the necessary sdk to be preinstalled in eclipse help pls ?
MobileFirst Studio generates for you the native project for each environment.
iOS: an Xcode project is generated. You then need to open it in Xcode, which requires a Mac.
Windows/Windows Phone: a Visual Studio project is generated. You then need to open it in Visual Studio, which requires a PC running Windows 8 or above
Android: for the native project to be generated, you need to:
either install the Android ADT plug-in for Eclipse
or setup Android Studio and open the project there
Much like your previous question, the answer to this is in the Getting Started training materials. Please read them: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/setting-up-your-development-environment/
I want to do Windows Phone development with Titanium Studio.
I followed https://wiki.appcelerator.org/display/guides2/Getting+Started+with+the+Windows+Phone+SDK#GettingStartedwiththeWindowsPhoneSDK-UsingStudio(Preview) in order to get the Windows plugin. After a required restart of the software, the Windows option apears in the Deployment Targets when creating a new project.
Unfortunately, for all Titanium SDK Versions I have installed, 3.5.1.GA, 3.5.0.GA, 3.4.0.GA, 3.3.0.GA, I am getting an error like "Titanium SDK v3.5.1.GA does not support the Windows platform".
So I basically cannot create projects for Windows Phone.
I am using Titanium Studio 3.4.1 and followed the installation tutorial, though I deleted the SDK path after setting it (it is the default path, setting a value caused an error message, also I left the publisher GUID and Windows Store Certificate empty, since I just want to develop and don't have publishing credentials yet).
How can I create an app that runs on Windows Phone, too?
Edit:
I add some images to show the problem better. In the last step, I don't have the possibility to create a Windows project in Titanium Studio.
2nd edit:
As per Eduard's answer, I skipped https://wiki.appcelerator.org/display/guides2/Getting+Started+with+the+Windows+Phone+SDK#GettingStartedwiththeWindowsPhoneSDK-WindowsPlatform(Preview) and had to do it. Now I got Titanium SDK 4.1.0.v2015... and I get the option.
Unfortunately, it still does not work.
https://jira.appcelerator.org/browse/TISTUD-7171
So I also need to update Titanium Studio.
Well, I guess mobile development has to be buggy and cumbersome, at least that is my experience so far with various (cross-platform) products.
Try opening the solution generated in Visual Studio to attempt packaging the .sln to .appxupload to upload it to the Windows Store. Hopefully that will serve as work around until Titanium has full support for Windows (very likely 4.0.0 or 4.1.0 Titanium SDKs).