5,606,779 Members 37,871 Now Online
XDA Developers Android and Mobile Development Forum

Fixing "Unknown reason 18" market error

Tip us?
 
efrant
Old
#21  
efrant's Avatar
Senior Moderator
Thanks Meter 7807
Posts: 9,409
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by watso4183 View Post
Yea...just this guys.
zero need to delete, move, etc.
So you would rather take out your SD card every time you install something that is giving you an error, instead of fixing the error by just deleting one file (/sdcard/.android_secure/smdl2tmp1.asec) one time?
I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
danger-rat
Old
#22  
danger-rat's Avatar
Senior Member
Thanks Meter 315
Posts: 2,221
Join Date: Feb 2010
Location: USA
Can the asec file be deleted using the phone? I thought you had to connect to a PC to view the contents of the .android_secure folder?

Sent from my Nexus One using XDA App
 
efrant
Old
#23  
efrant's Avatar
Senior Moderator
Thanks Meter 7807
Posts: 9,409
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by danger-rat View Post
Can the asec file be deleted using the phone? I thought you had to connect to a PC to view the contents of the .android_secure folder?

Sent from my Nexus One using XDA App
Works fine in a terminal emulator. Some file managers might work as well. No need to connect to a computer.


Sent from my Nexus One
I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
danger-rat
Old
#24  
danger-rat's Avatar
Senior Member
Thanks Meter 315
Posts: 2,221
Join Date: Feb 2010
Location: USA
It can indeed be done from terminal (just tested). Thanks!

Sent from my Nexus One using XDA App
 
Raech
Old
#25  
Raech's Avatar
Member
Thanks Meter 4
Posts: 69
Join Date: Aug 2010
Location: Louisville
Quote:
Originally Posted by Karolis View Post
So I was getting unknown reason 18 error when trying to install certain apps from the market.

I've googled and search the forum. The best answer I could get was to wipe and reinstall the ROM, which I did not want to do.

Then I checked the logs and figured out the problem was that all those apps that would fail were trying to install on SD card by default.

The solution: move all the apps back to phone, put your microSD into a card reader and delete .android_secure folder. That's it!
I tried everything else. Short of factory resetting my phone (cos that is never the option I prefer to choose). Nothing else worked. This did it!!!!

Happy DANCE!!! I rebooted after doing this, pulled battery, and re started. Boom! Works! Thank you so much. I did not have to remove the SD card. Just mounted it to my laptop and deleted the file that way. Woohoo!
 
skisquash
Old
#26  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2011
If you just move the app you want to update back to the phone, you can update. Then just move back to SD.
 
efrant
Old
#27  
efrant's Avatar
Senior Moderator
Thanks Meter 7807
Posts: 9,409
Join Date: Feb 2009
Location: Montreal Bow2DaCow

 
DONATE TO ME
Quote:
Originally Posted by skisquash View Post
If you just move the app you want to update back to the phone, you can update. Then just move back to SD.
As has been stated earlier, you need to delete one file: /sdcard/.android_secure/smdl2tmp1.asec

If you do not, you will have to move each app you want to update back to the phone, then back to the sdcard. A bit of a pain in the butt, no? If you delete that one file, you are all set.
I do NOT answer technical questions via PM. Post in a thread.

Google Nexus 5

XDA Forum Rules & Moderator List

WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
 
skisquash
Old
#28  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Mar 2011
Thanks. I'll make the edit.

What is this file (smdl2tmp1.asec) used for and why
doesn't the system erase it when finished with it?
 
Rose4uKY
Old
(Last edited by Rose4uKY; 8th March 2011 at 08:39 AM.)
#29  
Senior Member
Thanks Meter 6
Posts: 230
Join Date: Sep 2009
Location: Louisville
My friend was having the same problem. We couldn't mfind an install folder or that file. Then he found Android Secure uner Astro and tried to delete it there but I don't think it worked. So if we plug the phone back up to pc and find Android Secure folder can we just delete it. On Astro it showed nothing in it. Is that file smdl2tmp1.asec file suppose to be in Android Secure folder? I don't have the problem with the error messages up apps not installing but he does and he doesn't have the space to move all to sd card then update and move again and he doesn't want to do it one by one.

Edit: My friend found the file and deleted it and his problem is fixed now. Once phone hooked up to PC Android secure folder showed files in it.

Quote:
Originally Posted by lozer_kid View Post
I can't find that folder/file! :S
 
r1ch79
Old
#30  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jan 2011
thx, deleted file: /sdcard/.android_secure/smdl2tmp1.asec via pc, htc desire updates now without problems!!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

One-Handed Mode Ported to the Samsung Galaxy S4

People may not realize it much, but this fascination with larger screen sizes on smartphones … more

Speed up the ROM or Kernel Build Process

Creating a kernel, ROM, or any other development projectrequires knowledge and tools. While … more

Google Glass Now Open to Anyone… with $1500 to Spend (Update: Not Anymore)

Google Glass, which recently received its official update … more