Error Message APK Not Installed In Xamarin Form - xamarin

I am new in Xamarin Forms, And I have created one sample application in vs 2017 community version 15.9.12, All works fine during dubbing and testing, and it run very fine on emulator. But the problem is after creating APK and trying to install it in other android devices its showing error message, "APK not installed", I have searched a lot, but not able to find any solution, let me share you images what i am trying to do.
Setting Android Minimum And Maximum Version here
Setting Release Option As provided guide on internet
Archiving project
successfully created apk
Created Android Key Store
With save as option created apk and trying to open in other android device
At last I am trying to install created apk in other android devices and its showing error message "APK Not Installed".
Can anyone help?
Thanks In Advance :)
Happy programming.

If you have Signed the Android Application Package, hava a try follow.
Drop the SIGNED APK file onto your phone
Install using the SIGNED APK file
When installing, a PLAY STORE prompt will appear...choose "Install Anyway"

Related

Xamarin.Forms - Release apk not installing

I am trying to install the application as a release APK in my android device but it is crashing when the installation of the application starts. When I run the app on release mode directly from the visual studio, it is showing no error and worked perfectly.
When the same signed APK file I am trying to install in the same or some other android device it just crashed when the installation of the application starts.
The linking property of the Android project is set to None (tried with all the three options), the minimum Android version is jelly bean and maximum version is Oreo 8.1.
I am using the latest Xamarin.Forms package and visual studio 2017. My Android SDK is updated. Please let me know what corrections do I need to make in order to successfully run the APK on all the devices.
I think these are possible things which can help you
Remove the old build from mobile and restart the mobile. while releasing, delete bin and obj folders, clean the solution and rebuild the solution after rebuilding deploy the solution
In android manifest file Set target android version to (api 27) oreo instead Use Compile using SDK.
Check the permission in release mode like (Internet, wifi and other permission which your app needs).

Appcelerator | 'Android Distribution' Android SDK version 4.1.2 not found

I have pulled an Appcelerator project from our developer group and unable to publish or run the project on a local Android device.
When trying to publish the below error screen immediately pops up.
Android SDK version 4.1.2 not found.
I have checked both in the Appcelerator platform settings and Android Studio config and have the SDK installed.The install SDK screen in Appcelerator Tried uninstalling/reinstalling Appcli and the SDK to no avail.
After a few days of searching all the appecelerator files in my project. I finally found the fix for my problem (for anyone googling this).
There's a hidden file in the root of the Appcli project called .settings
Inside of settings there's a package called com.appcelerator.titanium.android.core.prefs
There is an android/sdk_version=4.1.2 that was causing all my issues. Hope that helps someone.
Most likely, your issue seems to be with unsupported Android SDK version as per Ti SDK you are using.
So before doing anything, try to grab what this page says to know all about software compatibilities: Titanium Comptability Matrix
It says that minimum Android version as of latest Ti SDK 6.x.x is API 16.
Now, follow these steps carefully to get a fresh start on your system.
First of all, download Android latest SDK from here: Android SDK
Unzip it & put it in at some simple path like in /Users/username/android-sdk
Download Appcelerator Studio (AS) & install it. It will download all pre-requisites like Java, Python
Open Appcelerator Studio & go to Preferences->Studio->Platforms->Android. Select the path of android sdk you unzipped in step 2.
After all these steps, you can open Android SDK Manager (see screenshot where it is) & install necessary SDK, Tools, etc.
Note: I do not suggest to download SDKs via AS as I have faced path issues in beginning.
Even if these steps do not help you, then provide us the log output after running this command on terminal: appc info
If terminal says this command is not found, then you need to go through the AS installation properly.
I had the same issue. Simply deleting all " Android Play Store Distribution" configurations solved my problem.

How to create a binary from a monogame project

I'm making a simple Pong game on a Mac using Xamarin and Monogame, however I can`t find a way to export into a binary such as a .exe or a .app. Can it be done?
The answer is yes.
The procedure is pretty similar on both Android and iOS.
Android
Switch your project over to Release mode
If you are using any Google Play Services (maps and such), make sure to use your own keychain, which can be defined in the Project Options under Android Package Signing
Build the project
Right click and select Archive for Publishing
A new window will appear where you can sign and distribute your app
Upload to Google Play Store or any other relevant store
For iOS the steps are similar
Make sure you have created an App Name and provisioning profiles in the Apple developer center
Make sure Identifier of your app matches the registered one in the Info.plist of the app
Switch to AppStore or Ad-Hoc depending on the way you want to distribute your app
Build your project
Right click and select Show IPA on Build Server (Visual Studio) / in Xamarin.Studio on Mac you can select Archive for Publishing and get the IPA.
Upload the IPA to iTunesConnect or HockeyApp or whatever distribution method you are using
For more in depth documentation, please refer to Xamarin's official documentation for Android and for iOS.
Sorry for not quite understanding your question at the first time.
If you build the game on a Mac, I am not sure there is a way to export .app. However, I recommend you load your Xamarin project into Xamarin Studio or Visual Studio on Windows. Then you can get the iOS version and windows binary at the same time. However, for windows version you could only get .appx output, which is the winRT counterpart to the traditional desktop .exe.
Take Visual studio as an example,
If you want to export windows output, please follow steps below:
right click on your project's xamarin.Windows(UWP or Windows8.1) folder and select "store"
Select "No" for the prompt dialog about whether to upload to store
Follow the instructions till the end. Then get the .appx file under your project's AppPackages folder
And what's more, even if you just need to share with several people, HockeyApp is still a good option for you regarding the distribution trouble and version control trouble it can save for you. You can take a trial here.
Please let me know if this can help.

Unable to Install Wrapped App using Microsoft Intune

I am new to Microsoft Intune. I successfully enrolled my iOS and Android devices on Microsoft Intune.
I upload an iPA file and Apk file on Microsoft Intune and both are successfully installed on respective device.
Then I wrapped both apps using Microsoft Intune Wrapping Tool for iOS and Android and again upload both the apps. But Now i am unable to install these apps on devices. Apps download starts but at the end of the progress there is a error Failed to download.
Please help me regarding this.
The question is a bit dated, but if this is still an issue, for iOS specifically, try wrapping the application and downloading it again, and as you do that, keep an eye at the log (from Xcode / Window / Devices). You may see some log lines that could indicate what the issue is, or at least get you in the right direction - possibly issues with your certificate, signing, and the like.

Xamarin Windows Phone Store Package

I' am in a bit of truble at the moment.
I try to build my Xamarin Windows Store App for publishing, but the Create App Packages Wizard, wont open I tried many solutions from the web, like unloading and reloading the project, or making a new project. But the wizard does not open with my solution i treid a normal Windows Phone app(no Silverlight), that worked but i could not Port my xamarin project to a standard Windows Phone App.
Has someone encountered a similar issue with Xamarin and Windows Phone,
or can anyone help to get my app into the Appstore?
Thanks.
I would have asked in the Xamarin Forum, but I cant reach them siche this morning.
And sorry for the engrish.
To submit package to the windows phone store you'll need to build your project (for ARM in Release mode to avoid warnings). Then on developer site when there is button to upload package you have to attach *.xap file from your project's bin\release folder (or bin folder you have specified). Then you can go through the next windows phone store app submitting steps.

Resources