Posts

error MT0117: Can't launch a 32-bit app on a simulator that only supports 64-bit apps (iPhone 6). If you change the support architectures to "i386 + x86_64" or "x86_64", it should solve your problem. xdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfgdfg java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable enable multidex for the above problem

Xamarin App Folder Structure

Image
Folder Structure Let us now see the folder structure of a Xamarin Project, understanding this gives us more access to project. In this tutorial we are considering Android and iOS projects only, which means this is not included Windows Projects. Project Folder Structure Solution folder The project is called the solution. This contains all the main folders of the project. Here we can also add other libraries folders. Additional Libraries The libraries are optional, assume you have working with multiple projects and you will have add/create few files that are common in every project. So we can create a library folder and add this common files in at and add this library to every project that you are working on., and then this folder is to be referenced in the folders where you want to use the library. I will be covering how to add and use a library in Advanced Xamarin tutorials so that we can avoid confusion for now. This contains three primary folders...

First Mobile App with Xamarin.Forms

Image
First Mobile App with Xamarin.Forms Let us start with a single page application or consider it as a simple hello world application. The main point here is to learn how to create a application and test in Android emulator and iOS simulator. Create Project  : Start Visual Studio. Click on “Create new project” Select “Visual C#” on left menu and “Cross-Platform App (Xamarin.Forms)”. Change name to any name of your choice. Here I set it to HelloWorld. Now click on ”OK” button in the bottom right corner. Then in the next step select “Blank App” for now. Select required platforms you can also select all the projects. Select UI Technologies to Xamarin.Forms. Let us discuss the differences between Xamarin.Forms and Native projects in the coming tutorials. Change the code sharing strategy to .NET standard project. The difference between different code sharing strategies will be discussed in upcoming tutorials. Now click “OK” button in the botto...

Prerequisites(2)

Image
Prerequisites After once you have installed the Visual Studio, there are few things to be taken care of For android Usually along with Visual Studio Android SDK will also be installed that includes the latest Android platform(emulator) and SDK tools. If you want to test them on devices with old android OS you have to  install respective build tools versions and Android SDK platform versions. If you want to test them on emulators with old android OS you have to  install respective build tools versions, Android SDK platform versions and their respective Android System Images. See the following images for reference: From the above images : It is clear that we can test our app in physical devices with Android OS versions 27, 26, 25, ……. But if I want to test the app in Android Emulator, then it is possible only with version 26. If we want to test in other versions the we have to install system images of the respective OS versions. ...

Prerequisites

Prerequisites To develop mobile apps in Xamarin.forms, we need the following skills and tools. Here I am going to describe the essential and optional requirements to develop a mobile app using Xamarin. Skills: C# This is a essential skill to develop application in xamarin. This is used to develop both UI and also back-end/logic parts. Xaml This is not so essential if you a hobbyist. If you wanted to be professional or working in a company then they might ask about this. Actually XAML is a scripting language like HTML and XML. This is used to develop the UI part of the application. No logic or process will be taken care here. This is optional because if you have knowledge in C# then you can develop the UI part in the C# itself. MVVM This is a framework. This is an optional skill. If you are a beginner to Xamarin and coding I personally suggest you to avoid this. Here we separate the code into parts like where the UI part is designed separately and logic p...

Introduction

Introduction Xamarin.Forms Xamarin.forms is a cross platform mobile development tool kit. Here we can be  able to develop mobile apps for Android, iOS and Windows mobile operating systems. Xamarin.Android Xamarin.Android is a native Android mobile app development tool kit. Xamarin.iOS Xamarin.iOS is a native Android mobile app development tool kit. The programming language that is used is C# and F#.

Xamarin Problems And Solutions

Hi fellas, Here is a post regarding Xamarin issues, being a Xamarin(Xamarin.Forms) mobile app developer i have faced a lot of troubles in Xamarin and also I am able to solve them eventually. But solving took a lot of time too, So i decided to make post regarding this so that if someone with same problems can solve quickly without wasting your time. I hope this helps you. Xamarin issue : 1 ----------------------- This is a issue which keeps showing Updating resources forever Reason : This is mostly occurs in android when you are dealing with " .xml" and " .axml" files in android resources, android layouts, strings folder, values folder, ... Solution: If you have added an .xml file recently and this error appears: Then you have placed the xml file in wrong folder or you have entered a invalid code in .xml file so just remove the file to solve the issue. 1) close the solution or force quit the studio. 2) open the folder location of the file in sys...