Android Application not installing - android

I made a android application on my pc. I kept the build sdk at 4.1, and minimum sdk version at 2.2
The app ran fine on the emulator but when i tried it on my friends Samsung Note it after installing gave an error "Application Not installed". I did so on Google Nexux 7.
I exported the app as a unsigned apk
I tried a simple hello world ap but had the same problem. Please help what to do and how to correct the error.

you need to sign the app to make it run on a real device.. simple choose export as a signed apk and sign it with a keystore...if you don't have one you can make a new keystore through same wizard that you get at the time of exporting

Related

Xamarin Android "app not installed the package appears to be corrupt" when installing a release build apk

Updated Information: I am now discovering that this only seems to be an issue on Android 7 and up. I have multiple devices, and the apk will install on my 6.0.1 Nexus 5. But the Galaxy Tab S2 on 7.0 and the Pixel XL on 9.0 both get this error.
After the Visual Audio Mac update to 7.6.2 (build 33) I all of a sudden cannot install the generated APK for AdHoc distribution. It builds just fine in debug and release mode, but when I archive it and then side load it to a device, I get the message,
"App not installed. The package appears to be corrupt".
I am pulling my hair out on this one. Searching for answers most of the day has turned up very little.
Any hints on what might be the issue?
This was a bug that we recently fixed. The problem was that the wrong apk was signed in Visual Studio for Mac when we changed from jarsigner to apksigner by default, in which gave you an unsigned final apk that users assumed were signed. Please sign your applications manually using the following instructions until the hotfix is released shortly in Visual Studio for Mac 7.6.3.
Manually Signing Docs:
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/signing/manually-signing-the-apk
Original Issue:
https://developercommunity.visualstudio.com/content/problem/317799/major-error-76-build-2190-creates-invalid-apk-for.html
Once you click "Open Folder", look for the folder "signed-apks", you will find the signed apk there, install it on your device. It works for me.

Android APK with google maps is not installing in device

I have created android application with google maps API and working fine when I run from IntelliJ IDE (running in connected device). But when I try to install APK file on device I am getting "Unfortunately, Package installer has stopped" error.
Note: I've generated APK with default debug self signed certificate and this application used install before adding google maps.
Any one faced similar issue?
Your device is having the same app with different fingerprints. So it is not installing. Remove the old app and install new one.

apk is working with emulator but getting application not installed message in device

My problem is like application working in emulator and the same apk is not working in device(getting application not installed message).
My application using libraries such as twitter,cordova etc.
If am building the same code in previous developer machine then that apk is working in device.
I am using windows 7 enterprise edition 64 bit.
Please suggest me some solution.
I had this error and I had to sign the .apk before installing it on a real device. You can read about it here

Android. Can't install developed APK on phone when Ok on emulator

I am developing android application under Eclipse. It is running in emulator just fine under different platforms. I have checked android version on friend's telephone, also in eclipse and successfully ran it on emulator too. Created unsigned application package using eclipse.
Installing on phone.
After installation he got error message "app not installed" and button 'Done'. Uninstaller found my program and got error '%program name% failed: invalid URI'. In my xml files I didn;t see nothing that can help with this error.. What does it mean? :(
An unsigned apk can't be installed anywhere.
You have three solutions:
go into the bin folder and use the apk that is stored there (this apk is signed with your debug certificate)
connect the phone via usb to your pc and install it using eclipse (Run as -> Android Application -> select the device)
Create a signed application. You need a valid keystore for that (Eclipse helps you creating one)
Tips at the end: Give the community something back by accept answers on your previous questions!

Unable to install newly created Android App

I am a newbie to Android world and started learning it few days back. I developed a sample application Using Eclipse and ADT pluggin. Checked it on Emulator, it's working. But when I exported that App as *.apk and tried to install it in my phone (Samsung Galaxy S running 2.2) ... it gives error that "Application not installed"
Can somebody throw some light on this ?
If the one on your device is signed with another key (e.g., debug), you
won't be able to install the other one over the top. You're not allowed to replace an application with another that has a conflicting signature. Uninstall the old APK, then try again.
I'm a newbie too & i had the same issue.Just uninstalled the previous app, and freshly exported a new apk file with keystore information. Then i was able to install it the newer version.
Did you enable "Unknown Sources" in the Applications Settings menu on your phone?

Categories

Resources