Xamarin : Application not installed issue

15,239

Solution 1

The correct process of creating apk is given below

  1. First change your build type to Release from debug.
  2. Clean
  3. Rebuild
  4. Right click your android project and click on archive
  5. After successful archive click on Distribute and click on Ad-hoc
  6. Create keystore file
  7. After finishing click on Open Distribution Your apk file is ready.

Solution 2

I know I am late in party. But I believe it could help someone to resolve his issue.

Sometimes the issue is unsupported Architecture.

You can resolve it by

Android Project>Properties>Android Options> Advance>Supported Architecture.

Here you can check the supported architecture according to your device and the issue would be resolved. (I believe app should support maximum of architectures so check them all).

Hope it would help.

Solution 3

For OS X and windows the commands are same:

For windows please download: MSBuild Command Prompt for VS2015

For release version (the actual problem you are facing): type in command tool:

 msbuild /p:Configuration=Release Path\To\Your\ApplicationProject.csproj
Share:
15,239
Admin
Author by

Admin

Updated on July 20, 2022

Comments

  • Admin
    Admin almost 2 years

    When I install my application in debugging mode on my Android mobile device, it seems to be installed.

    However, after signing the application and publishing it, it's not installed on my phone. (Release mode)

    It says: Application not installed. I tried a few things but cannot resolve this problem. I also tested with another Keystore but it still cannot be installed.

    I verified Xamarin Studio options but everything is OK, does anyone have an idea?

  • ForceMagic
    ForceMagic about 10 years
    @user3638329 Oops, you're right, well, then you should easily have an install log, what does it says? Anything else before the Application not installed?
  • ForceMagic
    ForceMagic about 10 years
    @user3638329 What do you mean you cannot see any error. There is nothing shown in the Output window? Are you user Visual Studio or Xamarin Studio?
  • BartoszKP
    BartoszKP almost 4 years
    Is "Rebuild" after "Clean" really necessary?
  • grizzly
    grizzly over 3 years
    Rebuild includes Clean, so actually Clean is not necessary in this case.
  • S.Krishna
    S.Krishna over 3 years
    This is perfect, I was struggling with this "Not installed" problem for quite sometime. I tried manually signing & zipalign and none of it worked.