I am trying to install app on a Nexus 4 virtual android 5.1 on Xamarin Virtual machine. If i want to install an app, I mostly get this error: App not installed (don't get this during some installations but 95% get this error).
I did ofcourse lots of research and testing.
Install Android studio their VM. Same error.
found some potential solution here
*Reboot the phone: In times like this, first thing to do is to reboot your device. Or just shut down, remove and reinsert your battery. Done and no luck
*Make sure to uninstall any apps you don’t use to free up space, also uninstall previous versions of the same app currently installed on your device.
I download them all for the first time via APKpure.com
*Double check the apk files you download and be sure they were completely copied or downloaded. App are released by companies their self and are fully downloaded
*Try resetting app permissions by going to Settings >Apps>All>Menu key >Reset application permissions or Reset app preferences. Done and no luck
*Change app installation location to Automatic or Let system decide. don't know how this is possible without a root
*Make sure your SD card is not mounted or connected to a PC or elsewhere. no Sd card
*For worst case scenarios, format your SD card – copy it’s contents somewhere else for backup and format. no Sd card
*The last solution would be to totally wipe your device. Either by doing a factory reset under Settings or by doing a full wipe in recovery mode. I even reinstalled Xamarin
Downloaded an android 4 version, no luck.
I found lots of post where they were talking about signing. I did not change the APK files and I never managed to install them before.
downloaded never Nexus device with A5.1 and still same error.
Help is much appriciated.
I've always had problems with Xamarin Android Emulator.
Please use the Android Emulator (AVD) instead which contains less bugs than the Xamarin one.
Click here for a guide on using the Android AVD.
And in the meanwhile, you can report the bug here to Xamarin with any relevant information such as logs and errors seen during app deployment.
The problem seemed to be an compatibility issue with lots of apps. I was able to retrieve the Logcat and after looking at the logcat, that was our only conclusion.
Related
I used my mobile phone sometimes as debug device and an emulator whose has PlayStore but only that, nothing more, not even my account from Google. So upon trying to update A.S. it started taking longer, so I take a look at it and he is listing files from my mobile phone that was not connected via USB to the computer neither other ways.
What does my phone files has to do with android update? And the updates is taking forever running through all files from my phone, it appeared system/ WhatsApp/ Downloads/ etc with files I know for sure are only in my personal device not the emulator.
Why does A.S. list these files on Update?
There was a copy of my files inside \AppData\Local\Android\Sdk\platform-tools\ and AndroidStudio maybe thought it was important to look at it. Resolved by removing the files inside the folder with my name.
The issue is that I started getting complains from my application's users that they failed to install our client on their devices.
Most of the devices are all kind of Samsungs with OS 2.2 and 2.3
The error they see after the install process is done (or almost done) is: "Couldn’t install on USB storage or SD card"
I already checked and verified that there is enough space to install the application on those devices.
Naturally, I tried to remove the SD card abilities (removed the line "android:installLocation="preferExternal"" from the AndroidManifest.xml file, but this change caused all the problematic devices to restart themselves after installation is done (device simply restarts when installation is about to be finished).
Needless to say, I can't debug it since our application's code did not start running yet.
I found some posts on this issue:
http://code.google.com/p/android/issues/detail?id=9593
http://technology-headlines.com/2011/05/12/installation-error-%E2%80%9Ccouldnt-install-on-usb-storage-or-sd-card%E2%80%9D-solution-for-android/
http://www.androidpolice.com/2011/04/19/fixing-the-couldnt-install-on-usb-storage-or-sd-card-problem-on-android/
All are instructions for the user to remove the "/mnt/secure/asec/smdl2tmp1.asec" file. This works for most of the problematic devices, but I can't expect my users to go and delete temp files in this manner, they will probably just give up.
Another important point is that I went back to my historical versions and found out that old versions (released more than 8 months ago) works fine on those devices, but those versions are not supporting SD card installation and the gap between them and the current code base is so huge that making diffs and analyzing the changes in elimination process will take forever.
I would be happy to receive any tips on this issue
try
android:installLocation="auto"
inside the manifest tag
i was having same problem..and i found a simple solution of it i just
...."" Flash to stock firmware "".........and this problem get solved permanently....now i can install app directly from play store .....
how to flash to stock firmware via odin here:
http://www.androidtipsandtricks.com/2013/12/how-to-flash-stock-firmware-on-samsung.html
I am working on a game in eclipse. I connect my android phone to test the application. Upon pressing "RUN" in eclipse, the game will begin to be uploaded to my device. However, it onl makes it half way then the console in eclipse gives me this error: INSTALL_FAILED_INSUFFICIENT_STORAGE. I checked my internal storage and I have 30mb left. My game is 3.20mb. I should have plenty of room. shouldn't I? Is this just a bug?
I've seen this error when I had a copy of my application that was signed with a release key already on the device. So here is what I recommend...
Do a clean build of your project
Remove your application from the phone via the application manager on the phone
Try to run again
Something else that might be worth looking into is where the app is set to be installed. If it's the SD Card, make sure the virtual SD card does have the needed room.
i had a similar problem and i solved it as per the first answer that i have received.... check it over here
I seem to get this error message fairly frequently:
INSTALL_FAILED_INSUFFICIENT_STORAGE
Do I need to do a rest before hitting run or debug from within Eclipse and reloading the application within my emulator?
I have occasionally received that error despite having plenty of room. You can first check to see if you are short on space (in the emulator from home screen: Menu -> Settings -> SD card & phone storage). Internal phone storage is the most important value, and you'll want to uninstall apps if that is low. If your app is set to install to the SD card, make sure that has enough room too.
If you have plenty of room, sometimes you can just retry the install and it will work. It can also help to uninstall the app from the emulator and then install it again. If those solutions don't work, you can restart the emulator. If all else fails, try creating a new AVD.
my problem : the app I have uploaded into my cellular device is shown without the pictures I have insert to it .
steps I have done in order to install:
I have inserted the xxx.apk file into the device via usb
I downloaded an apps installer via the Market
I opened the app using the installer and instead of picture an white background appeared
when I opened the xxx.apk file using file system I found the pictures.
note: even an application icon weren't appearing.
Apparently the res libary having problem to be bined to application.
I might ness to add something to my appliction manifest?
I might need to change something on my device ? (I already made a change and enabled user's not Market application )
I would be very grateful for some life saving answer I need to show my work in a few days in this is the first time i tested her on a real devise.
I also tried an example as shown in hello android book the same example worked perfectly on the emulator where on my android device (Motorola milestone ) the picture and icon weren't shown
Please tell me what I might be doing wrong guys I need to apply my project back at uni(I was the only one in uni who did it on android and in my country most of pep don't even know what android is so getting help outside of forum's like this is not an option ) so please please help me .
I don't know what app installer you downloaded from the Market, but you shouldn't need it. You should be installing the app to your phone using the same SDK tools you used to install it to the emulator. Ie, using Eclipse or the commandline "adb install" commmand.
I'm assuming you used the SDK tools to install the app to the emulators? In which case, start there. Start with looking at what you're doing different between when you installed unsuccessfully to your phone and when you installed to successfully to the SDK.
In my experiences so far, there should be very few differences between working with the emulator and working with the phone.
Well, something is wrong, but what is hard to tell from your question. What pictures are you talking about? Your drawable resources? My guess would be that your application works in the emulator (you have tested it?), but that it doesn't on the phone you're testing with. Have you checked the logcat output?
If you're developing from Eclipse, why not try a debugging session using the phone rather than the emulator?
Hard to narrow down without more details, but a few notes:
Pontus has a point - what's your logcat output? You can use logcat on a real device. Maybe not yours unless it's rooted, but with many phones you can.
Do you link the drawable to your app in the manifest file?
How do you test on emulator vs. device? Do you right-click the app and choose "Run As -> Android Application"? Do you do that for both emulator and device?
When you run on the device, do you first sign it? If so, can you verify the jar/apk and see the contents? Is the drawable under res/drawable?