Xamarin : Application not installed issue
Solution 1
The correct process of creating apk is given below
- First change your build type to Release from debug.
- Clean
- Rebuild
- Right click your android project and click on archive
- After successful archive click on Distribute and click on Ad-hoc
- Create keystore file
- 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
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on July 20, 2022Comments
-
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 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 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 almost 4 yearsIs "Rebuild" after "Clean" really necessary?
-
grizzly over 3 yearsRebuild includes Clean, so actually Clean is not necessary in this case.
-
S.Krishna over 3 yearsThis is perfect, I was struggling with this "Not installed" problem for quite sometime. I tried manually
signing
&zipalign
and none of it worked.