Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to load memtrack module -2

I am writing code for an android app on eclipse. However I came across the error:

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED.
Please check logcat output for more details.
Launch canceled!

None of the posted answers (changing things to lowercase/making sure everything is closed etc...) fixed this problem.

StackTrace Error:

Couldn't load memtrack module (No such file or directory) 
Failed to  load memtrack module: -2.

Does anyone know what this means?

Thanks Z

like image 978
user2986036 Avatar asked Nov 13 '13 03:11

user2986036


1 Answers

I know this question is kind of old but I ran across the same issue today with the same error from Logcat : failed to load memtrack module: -2 or couldn't load memtrack module (No such file or directory) upon inspection the issue seems to come from the AndroidManifest.xml from declaring the following attribute inside the manifest tag

<manifest android:installLocation="preferExternal">

the attribute's value is misleading since I would assume that if it didn't find an external location(SD Card) the package would just be installed in internal memory, but apparently that is not the case. So either verify that there is an external storage or remove the attribute.

like image 55
AllenZ41 Avatar answered Oct 04 '22 08:10

AllenZ41