Android - Failure [INSTALL_FAILED_INTERNAL_ERROR]











up vote
9
down vote

favorite
1












I'm having some problems trying to install APKs in a specific device. I have lots of devices and it hadn't happened so far (all of them, Radxa Rock Pro).



When I run pm install myApp I get



root@radxaPro:/ # pm install /sdcard/myApp.apk
pkg: /sdcard/myApp.apk
Failure [INSTALL_FAILED_INTERNAL_ERROR]


Logcat output:



06-02 13:02:33.032 I/AndroidRuntime( 4469): JNI options: '-Xjniopts:warnonly'
06-02 13:02:33.042 D/dalvikvm( 4469): Trying to load lib libjavacore.so 0x0
06-02 13:02:33.042 D/dalvikvm( 4469): Added shared lib libjavacore.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): Trying to load lib libnativehelper.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): Added shared lib libnativehelper.so 0x0
06-02 13:02:33.052 D/dalvikvm( 4469): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
06-02 13:02:33.082 D/dalvikvm( 4469): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
06-02 13:02:33.232 E/memtrack( 4469): Couldn't load memtrack module (No such file or directory)
06-02 13:02:33.232 E/android.os.Debug( 4469): failed to load memtrack module: -2
06-02 13:02:33.282 D/AndroidRuntime( 4469): Calling main entry com.android.commands.pm.Pm
06-02 13:02:33.292 W/ActivityManager( 474): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found
06-02 13:02:33.292 E/PackageManager( 474): Failed to bind to media container service


I think the most important line is Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found because a successful installation shows this (another device):



06-02 13:04:35.747: I/AndroidRuntime(1005): JNI options: '-Xjniopts:warnonly'
06-02 13:04:35.757: D/dalvikvm(1005): Trying to load lib libjavacore.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libjavacore.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Trying to load lib libnativehelper.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libnativehelper.so 0x0
06-02 13:04:35.767: D/dalvikvm(1005): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
06-02 13:04:35.797: D/dalvikvm(1005): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
06-02 13:04:35.927: E/memtrack(1005): Couldn't load memtrack module (No such file or directory)
06-02 13:04:35.927: E/android.os.Debug(1005): failed to load memtrack module: -2
06-02 13:04:35.977: D/AndroidRuntime(1005): Calling main entry com.android.commands.pm.Pm
06-02 13:04:35.987: I/ActivityManager(478): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1016 uid=10001 gids={50001, 1028, 1015, 1023, 2001, 1035}


The DefaultContainerService.apk is located in /system/priv-app/ but I have been able to check that it is not actually installed in that device. If I try to install it, I get the same error.



Does anyone have an idea? Is the Android system corrupt?



Thanks in advance.










share|improve this question




























    up vote
    9
    down vote

    favorite
    1












    I'm having some problems trying to install APKs in a specific device. I have lots of devices and it hadn't happened so far (all of them, Radxa Rock Pro).



    When I run pm install myApp I get



    root@radxaPro:/ # pm install /sdcard/myApp.apk
    pkg: /sdcard/myApp.apk
    Failure [INSTALL_FAILED_INTERNAL_ERROR]


    Logcat output:



    06-02 13:02:33.032 I/AndroidRuntime( 4469): JNI options: '-Xjniopts:warnonly'
    06-02 13:02:33.042 D/dalvikvm( 4469): Trying to load lib libjavacore.so 0x0
    06-02 13:02:33.042 D/dalvikvm( 4469): Added shared lib libjavacore.so 0x0
    06-02 13:02:33.052 D/dalvikvm( 4469): Trying to load lib libnativehelper.so 0x0
    06-02 13:02:33.052 D/dalvikvm( 4469): Added shared lib libnativehelper.so 0x0
    06-02 13:02:33.052 D/dalvikvm( 4469): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
    06-02 13:02:33.082 D/dalvikvm( 4469): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
    06-02 13:02:33.232 E/memtrack( 4469): Couldn't load memtrack module (No such file or directory)
    06-02 13:02:33.232 E/android.os.Debug( 4469): failed to load memtrack module: -2
    06-02 13:02:33.282 D/AndroidRuntime( 4469): Calling main entry com.android.commands.pm.Pm
    06-02 13:02:33.292 W/ActivityManager( 474): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found
    06-02 13:02:33.292 E/PackageManager( 474): Failed to bind to media container service


    I think the most important line is Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found because a successful installation shows this (another device):



    06-02 13:04:35.747: I/AndroidRuntime(1005): JNI options: '-Xjniopts:warnonly'
    06-02 13:04:35.757: D/dalvikvm(1005): Trying to load lib libjavacore.so 0x0
    06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libjavacore.so 0x0
    06-02 13:04:35.767: D/dalvikvm(1005): Trying to load lib libnativehelper.so 0x0
    06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libnativehelper.so 0x0
    06-02 13:04:35.767: D/dalvikvm(1005): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
    06-02 13:04:35.797: D/dalvikvm(1005): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
    06-02 13:04:35.927: E/memtrack(1005): Couldn't load memtrack module (No such file or directory)
    06-02 13:04:35.927: E/android.os.Debug(1005): failed to load memtrack module: -2
    06-02 13:04:35.977: D/AndroidRuntime(1005): Calling main entry com.android.commands.pm.Pm
    06-02 13:04:35.987: I/ActivityManager(478): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1016 uid=10001 gids={50001, 1028, 1015, 1023, 2001, 1035}


    The DefaultContainerService.apk is located in /system/priv-app/ but I have been able to check that it is not actually installed in that device. If I try to install it, I get the same error.



    Does anyone have an idea? Is the Android system corrupt?



    Thanks in advance.










    share|improve this question


























      up vote
      9
      down vote

      favorite
      1









      up vote
      9
      down vote

      favorite
      1






      1





      I'm having some problems trying to install APKs in a specific device. I have lots of devices and it hadn't happened so far (all of them, Radxa Rock Pro).



      When I run pm install myApp I get



      root@radxaPro:/ # pm install /sdcard/myApp.apk
      pkg: /sdcard/myApp.apk
      Failure [INSTALL_FAILED_INTERNAL_ERROR]


      Logcat output:



      06-02 13:02:33.032 I/AndroidRuntime( 4469): JNI options: '-Xjniopts:warnonly'
      06-02 13:02:33.042 D/dalvikvm( 4469): Trying to load lib libjavacore.so 0x0
      06-02 13:02:33.042 D/dalvikvm( 4469): Added shared lib libjavacore.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): Trying to load lib libnativehelper.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): Added shared lib libnativehelper.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
      06-02 13:02:33.082 D/dalvikvm( 4469): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
      06-02 13:02:33.232 E/memtrack( 4469): Couldn't load memtrack module (No such file or directory)
      06-02 13:02:33.232 E/android.os.Debug( 4469): failed to load memtrack module: -2
      06-02 13:02:33.282 D/AndroidRuntime( 4469): Calling main entry com.android.commands.pm.Pm
      06-02 13:02:33.292 W/ActivityManager( 474): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found
      06-02 13:02:33.292 E/PackageManager( 474): Failed to bind to media container service


      I think the most important line is Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found because a successful installation shows this (another device):



      06-02 13:04:35.747: I/AndroidRuntime(1005): JNI options: '-Xjniopts:warnonly'
      06-02 13:04:35.757: D/dalvikvm(1005): Trying to load lib libjavacore.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libjavacore.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Trying to load lib libnativehelper.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libnativehelper.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
      06-02 13:04:35.797: D/dalvikvm(1005): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
      06-02 13:04:35.927: E/memtrack(1005): Couldn't load memtrack module (No such file or directory)
      06-02 13:04:35.927: E/android.os.Debug(1005): failed to load memtrack module: -2
      06-02 13:04:35.977: D/AndroidRuntime(1005): Calling main entry com.android.commands.pm.Pm
      06-02 13:04:35.987: I/ActivityManager(478): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1016 uid=10001 gids={50001, 1028, 1015, 1023, 2001, 1035}


      The DefaultContainerService.apk is located in /system/priv-app/ but I have been able to check that it is not actually installed in that device. If I try to install it, I get the same error.



      Does anyone have an idea? Is the Android system corrupt?



      Thanks in advance.










      share|improve this question















      I'm having some problems trying to install APKs in a specific device. I have lots of devices and it hadn't happened so far (all of them, Radxa Rock Pro).



      When I run pm install myApp I get



      root@radxaPro:/ # pm install /sdcard/myApp.apk
      pkg: /sdcard/myApp.apk
      Failure [INSTALL_FAILED_INTERNAL_ERROR]


      Logcat output:



      06-02 13:02:33.032 I/AndroidRuntime( 4469): JNI options: '-Xjniopts:warnonly'
      06-02 13:02:33.042 D/dalvikvm( 4469): Trying to load lib libjavacore.so 0x0
      06-02 13:02:33.042 D/dalvikvm( 4469): Added shared lib libjavacore.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): Trying to load lib libnativehelper.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): Added shared lib libnativehelper.so 0x0
      06-02 13:02:33.052 D/dalvikvm( 4469): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
      06-02 13:02:33.082 D/dalvikvm( 4469): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
      06-02 13:02:33.232 E/memtrack( 4469): Couldn't load memtrack module (No such file or directory)
      06-02 13:02:33.232 E/android.os.Debug( 4469): failed to load memtrack module: -2
      06-02 13:02:33.282 D/AndroidRuntime( 4469): Calling main entry com.android.commands.pm.Pm
      06-02 13:02:33.292 W/ActivityManager( 474): Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found
      06-02 13:02:33.292 E/PackageManager( 474): Failed to bind to media container service


      I think the most important line is Unable to start service Intent { cmp=com.android.defcontainer/.DefaultContainerService } U=0: not found because a successful installation shows this (another device):



      06-02 13:04:35.747: I/AndroidRuntime(1005): JNI options: '-Xjniopts:warnonly'
      06-02 13:04:35.757: D/dalvikvm(1005): Trying to load lib libjavacore.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libjavacore.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Trying to load lib libnativehelper.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): Added shared lib libnativehelper.so 0x0
      06-02 13:04:35.767: D/dalvikvm(1005): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
      06-02 13:04:35.797: D/dalvikvm(1005): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
      06-02 13:04:35.927: E/memtrack(1005): Couldn't load memtrack module (No such file or directory)
      06-02 13:04:35.927: E/android.os.Debug(1005): failed to load memtrack module: -2
      06-02 13:04:35.977: D/AndroidRuntime(1005): Calling main entry com.android.commands.pm.Pm
      06-02 13:04:35.987: I/ActivityManager(478): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1016 uid=10001 gids={50001, 1028, 1015, 1023, 2001, 1035}


      The DefaultContainerService.apk is located in /system/priv-app/ but I have been able to check that it is not actually installed in that device. If I try to install it, I get the same error.



      Does anyone have an idea? Is the Android system corrupt?



      Thanks in advance.







      android installation apk android-package-managers






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 at 11:56

























      asked Jun 3 '15 at 9:27









      jose

      11115




      11115





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30616033%2fandroid-failure-install-failed-internal-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f30616033%2fandroid-failure-install-failed-internal-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          What visual should I use to simply compare current year value vs last year in Power BI desktop

          Alexandru Averescu

          Trompette piccolo