[Q] Getting INSTALL_FAILED_DEXOPT after migrating to ART - Nexus 5 Q&A, Help & Troubleshooting

Hello all,
For some apps (especially launchers: both Apex and Nova) installing via adb fails and shows the error message "INSTALL_FAILED_DEXOPT". This began to happen after I migrated to the ART runtime. Any clue? Thanks.

hmm, so you say you install, it via adb, it can be related to adb. errors like these are already mentioned on xda, stackoverflow and other sites. because art and nova are working for me, and I didn't install it via adb, and some people on stackoverflow already sad it can be adb related, I would try to manually install the app via the apk and a file explore or the playstore
Sent from my Nexus 5 using XDA Premium 4 mobile app

thenobol said:
hmm, so you say you install, it via adb, it can be related to adb. errors like these are already mentioned on xda, stackoverflow and other sites. because art and nova are working for me, and I didn't install it via adb, and some people on stackoverflow already sad it can be adb related, I would try to manually install the app via the apk and a file explore or the playstore
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks. I also read some answers/suggestions on stackoverflow and couldn't find any working solution. When installed from the Play Store I get the error 'Unknown error code during application install: "-24"' and when manually installed through Root Explorer the result is "App not installed". Any possible explanations you can think of??

Related

Manually installing Market app

I have a branded Galaxy S with no Android market. I've found 3 different Vending.apks, version 1.665, 1.668, 1.713. I tried to install them using adb install. 1.7133 returns "unexpected exception". Other two install successfully but they both crash when click Install an app. When I go back to app page it says Starting download and gets stuck there (Market app is not frozen). Am I missing a step for manually installing market? Do I have to do anything like adb push Vending.apk /system/app/?
Have you tried flashing a gapps.apk?
have you tried using appbrain and their corrosponding apps like their installer?
MindChild said:
have you tried using appbrain and their corrosponding apps like their installer?
Click to expand...
Click to collapse
AFAIK appbrain uses default market app to download. I don't have any market app that's the problem..
glwinkler said:
Have you tried flashing a gapps.apk?
Click to expand...
Click to collapse
I don't know what gapps.apk is. Could you elaborate please?
Do you mean Vending.apk from the gapps-passion-EPE54B-signed.zip of the Cyanogenmod 5?
Btw I'm using:
pad: jvjh1
phone: jxjg2
csc: trcjh2
Did the same vending.apk installation on a HTC legend "Middle East Version" which also came with no Market and no sucess, i do have the same problem..."crashing at installation"
and about gapps, it's not an apk but rather a flashable content that require rooted device and since i don't wanna root this phone i really didn't figure it out so far. so i'm still waiting for a solution.
Ok. The gapps.apk I know of you can find on rom manager. I think you can DL rom manager straight from their website and install using something like astro file manager. Cyanogen can't release a rom with the Google apps for copyright reasons so they offer it as a seperate download. I'm assuming you can find it on the cyanogenmod site. Otherwise try flashing a stock image through rom manager if they have one for the galaxy x. How did it not come with a market?
Hi. I posted a reply for your idea for my problem but got no reply from you, I guess the thread got lost beneath all the other threads. Could you please give me any ideas about this:
http://forum.xda-developers.com/showpost.php?p=8090192&postcount=4
Thanks.
Click to expand...
Click to collapse
Sent from my Nexus One using XDA App

[Q] How to manually install .apk

I've been trying to install a particular app to my phone, Nexus 4, rooted custom rom, etcetc.
The app in question was pulled from the Play store some time ago and it seems Google went further and removed the free version of the app from users devices without permission as well. I have the pro version as did many others and from what I've read, the pro version was not removed. However I flash roms and eventually lost it and that required a reinstall.
The problem: traditional methods of installing the .apk give the error "App not installed."
How can I install this app manually? The only other method I could think of was to try to root copy it to /system/app but that didn't work. And I'll reiterate, so we're clear, browsing to .apk and installing through explorer by clicking it does not allow the .apk to install. So, suggestions?
You could try sideloading it using Android Injector. (If it fails, it'll tell you why)
Sent from my Nexus 4
Theonew said:
You could try sideloading it using Android Injector. (If it fails, it'll tell you why)
Sent from my Nexus 4
Click to expand...
Click to collapse
Yeah it failed.
The application itself says install successful, but the app cannot be found on the phone.
There are a few websites that allows you to download apps in its apk format. You can install that way. But I'm not sure if its legal. Someone could correct me here.
Please hit Thanks if I helped
techpick said:
There are a few websites that allows you to download apps in its apk format. You can install that way. But I'm not sure if its legal. Someone could correct me here.
Please hit Thanks if I helped
Click to expand...
Click to collapse
The OP stated that this method does not work in this situation.
NB. - It is legal unless the app is warez.
Sent from my Nexus 4
I have used easy installer to install .apks.
Sent from my MB860 using xda app
inroot1898 said:
I have used easy installer to install .apks.
Sent from my MB860 using xda app
Click to expand...
Click to collapse
That uses the same method as manually installing the apk from a file manager.
Sent from my Nexus 4
The app isn't warez but it is one of the unapproved apps by google now, I mainly just wanted to look for an alternate method of installing apps in case this kind of app blocking became more prevalent. You have to admit, Google did a real number on blocking this app. Thanks for the help anyway guys.
the command that worked for me was:
adb install app.apk
You can make a folder in /system/app with its name without space as folder name and copy the apk to that folder.
Apk name should be same as the folder name +.apk.
Then reboot your device.
After reboot the app will be definitely installed as a system app. But some apps might be stable but some not.

Can't install particular app

I have tried different versions of CM (including) nightlies on my phone lately, but since about a week I haven't been able to (re-)install the Teamviewer app anymore, after uninstalling it on accident. Other apps are fine, but just this particular app will not install, I'm getting a "Insufficient Storage" error. Strange, because (1) I have plenty storage left and (2) Other apps install fine.
I have tried to install through the Play Store as well as installing it manually through opening the APK file from within ES File Explorer - same error.
Could anyone help me with this? I think there must be some lingering file of Teamviewer somehow...
Try installing an older version via ES... :3
Sent from my Nexus 7 using XDA Premium 4 mobile app
nijom said:
Try installing an older version via ES... :3
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
So I tried installing 3 different older versions of Teamviewer, they all give me the same error message. Other apps install fine. This is really weird. Any more ideas?

Google Play Sore Error (-505) -- Lollipop

After updating to Lollipop on my Nexus 5, it restored all of my apps except for about 10. One of them is a widget that I use everyday called Simple Calendar Widget by MYCOLORSCREEN. When trying to download the app, it gives me the message "Unknown error code during application install: -505". It seems to download fine, but the message pops up during the install process. Anybody know about this issue or experiencing the same thing if you try to download this application? I also tried downloading the apk file online but that also fails to install. I can't find any info regarding this issue. Thanks.
I had this issue on certain apps as well. The dev of those apps needed to change something for it to work on Lollipop.
RoomTenONine said:
I had this issue on certain apps as well. The dev of those apps needed to change something for it to work on Lollipop.
Click to expand...
Click to collapse
I've had this problem. Did a search with Google and it seems others are having this issue. Hopefully Google will have an update to fix.
Do a search in this forum. I replied with the cause and solutions. Was posted last week.
Sent from my Nexus 5 using Tapatalk
nikon120 said:
Do a search in this forum. I replied with the cause and solutions. Was posted last week.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Code 505 is a permissions code. This typically means that the APK file already exists in your /data/app folder. You'll need to locate the APK files in question in the /data/app folder and remove them. You will need root to perform this action.
You came across this problem because you didn't do a wipe of your userdata partition when you jumped from Kitkat to Lollipop. I encountered the same issue because of that reason. I just ended up wiping and starting fresh as my phone hadn't been wiped since I got the device last November.
Click to expand...
Click to collapse
Are you sure? I flashed the factory image of Lollipop on my phone and it wiped everything. Afterwards, I had to also do a factory reset of my phone from the settings due to a storage issue. Why would that get left behind?
Edit: I checked (phone is rooted) and the app isn't in the /data/app folder
PMamba said:
Are you sure? I flashed the factory image of Lollipop on my phone and it wiped everything. Afterwards, I had to also do a factory reset of my phone from the settings due to a storage issue. Why would that get left behind?
Edit: I checked (phone is rooted) and the app isn't in the /data/app folder
Click to expand...
Click to collapse
I spent an hour combing through Google group threads trying to get a real answer to this outstanding question. I was perplexed that only two applications of mine refused to install due to this error. The consensus was that the APK file was still there, or some remnants of data related to the application remained on the device that the Play Store service didn't like.
I ended up wiping my device twice:
Once by flashing both the userdata.img and cache.img files, which ended up giving me the storage issue bug on Lollipop. (Showing 16GB instead of 32GB)
Second by performing a factory reset from within the booted OS, which resolved the storage issue.
After that, everything was good to go. Have yet to encounter this error code again.
PMamba said:
After updating to Lollipop on my Nexus 5, it restored all of my apps except for about 10. One of them is a widget that I use everyday called Simple Calendar Widget by MYCOLORSCREEN. When trying to download the app, it gives me the message "Unknown error code during application install: -505". It seems to download fine, but the message pops up during the install process. Anybody know about this issue or experiencing the same thing if you try to download this application? I also tried downloading the apk file online but that also fails to install. I can't find any info regarding this issue. Thanks.
Click to expand...
Click to collapse
I just had to click install again after the error and it worked for me. It was a PITA.
sigh, I've had this issue with terminal emulator
C:\>adb install Term.apk
3966 KB/s (515876 bytes in 0.127s)
pkg: /data/local/tmp/Term.apk
Failure [INSTALL_FAILED_DUPLICATE_PERMISSION perm=jackpal.androidterm.permission
.PREPEND_TO_PATH pkg=com.jrummy.liberty.toolbox]
Click to expand...
Click to collapse
So yeah...duplicate permissions, in this case i had ROM Toolbox Lite installed which had the same permission sooooo it's one or the other at the moment
bleets said:
sigh, I've had this issue with terminal emulator
So yeah...duplicate permissions, in this case i had ROM Toolbox Lite installed which had the same permission sooooo it's one or the other at the moment
Click to expand...
Click to collapse
Hm alright. Where does the apk file need to be in order to use the adb install command? I want to see which app is conflicting with.
PMamba said:
Hm alright. Where does the apk file need to be in order to use the adb install command? I want to see which app is conflicting with.
Click to expand...
Click to collapse
as long as you have adb working it can be anywhere as long as you know the path
so adb install c:\path\to\file.apk
as it happens with terminal emulator i could download the apk seperately, with other apps i'd probably download on my tablet and pull it off that
bleets said:
as long as you have adb working it can be anywhere as long as you know the path
so adb install c:\path\to\file.apk
as it happens with terminal emulator i could download the apk seperately, with other apps i'd probably download on my tablet and pull it off that
Click to expand...
Click to collapse
Wow it looks like GTasks is conflicting. Without GTasks this app is useless. :crying:
Thanks though.
PMamba said:
Wow it looks like GTasks is conflicting. Without GTasks this app is useless. :crying:
Thanks though.
Click to expand...
Click to collapse
https://code.google.com/p/android-developer-preview/issues/detail?id=1668
hopefully it'll get sorted...
You'd have thought people testing would have installed enough apps to come across it and if google knew about it in october why not fix it
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
How I solved it
In bootloader mode I flash from the factory image userdata and cache, then I wipe Dalvik, data and cache in TWRP after the first boot I skip the setup just too full factory data reset, in the second boot, I set up everything normal, but instead of restoring from previous devices I set it up as a new device, then I manually download the app that was giving the error, it installed without a problem.
I know is a little too much for an app, but it works for me.
onetraakmind said:
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
Click to expand...
Click to collapse
Exactly.
Thank you very much for the tip.
onetraakmind said:
I had this issue trying to install Rom Toolbox. I uninstalled Terminal Emulator and the issue went away, probably because Terminal Emulator is included in Rom Toolbox.
Click to expand...
Click to collapse
I'm currently having the issue everyone mentions, except I already have ROM Toolbox Pro and was trying to install Terminal Emulator. Terminal Emulator in ROM Toolbox currently FC's on Stock (rooted) 5.0.1. But I use other features, like the Rebooter that I don't wanna sacrifice for just Terminal Emulator haha. Wish they'd fix this issue permanently
Jleeblanch said:
I'm currently having the issue everyone mentions, except I already have ROM Toolbox Pro and was trying to install Terminal Emulator. Terminal Emulator in ROM Toolbox currently FC's on Stock (rooted) 5.0.1. But I use other features, like the Rebooter that I don't wanna sacrifice for just Terminal Emulator haha. Wish they'd fix this issue permanently
Click to expand...
Click to collapse
Uninstall ROM toolbox, install terminal emulator, install ROM toolbox... Someone said that worked.
rootSU said:
Uninstall ROM toolbox, install terminal emulator, install ROM toolbox... Someone said that worked.
Click to expand...
Click to collapse
You really should look in the rom toolbox pro app a little better. There is an emulator built in
Sent from my One M8 using Tapatalk
mattie_49 said:
You really should look in the rom toolbox pro app a little better. There is an emulator built in
Sent from my One M8 using Tapatalk
Click to expand...
Click to collapse
I know, that's why you can't install jackpal terminal emulator if you have ROM toolbox installed as it uses the same permissions.
Although you should read up yourself because if you did, you'd know the terminal emulator in rom toolbox force closes on lollipop on the nexus 5.
I understand this is a old thread but I fixed it a way that wasn't mentioned in this thread. Just thought I'd share for anyone googling this issue and finding this. What I did was go into the guest account and uninstall the app that was causing the issue such as snapchat. The way I caused it in the first place was installing snapchat on aptoide which installed it on both my account and the guest account and I decided I didn't want snapchat anymore so I uninstalled it but it was still there on the guest account which caused the error 505 whenever I tried to reinstall snapchat.

Unable to install tasker plugin on lollipop - error 505

Hey guys,
I just updated my Nexus 5 to Lollipop (stock). I do run into a problem now:
I'm using Tasker with many plugins. Or at least I did use it on 4.4. Now, when I'm trying to install "Pebble TaskWatch" - which has a tasker plugin - I get the error message 505 (unable to install). The only solution to install it, is to uninstall tasker. Then the installation of "Pebble TaskWatch" works fine, but I cant install Tasker then! Same error message.
What can I do to install both apps at the same time? I allready read about some permission errors in Lollipop which only allow one app to have a certain permission or something like that.. Is there a workaround? Thanks in advance!
Dominic
Having the exact same issue.
There's no work around really. You're correct, both apps are trying to claim the same permission.
Is there a solution at the moment? I still can't install both apps.
Send a bag of flaming **** to the developer for abandoning his app and buy Android wear.
Any joy solving this? I see the app has been removed from Google play!
Sent from my LG-D802 using XDA Free mobile app

Categories

Resources