Android Question Install dilemma on Mac emulator

Discussion in 'Android Questions' started by morphe2011, Jul 16, 2015.

  1. morphe2011

    morphe2011 Member Licensed User

    Hello All.
    Hopefully someone in the b4a community has a solution to this problem. I'm working on a Droid app for a client who is 100% Mac. He wants, rightly so, to test and see the the progress. To do this he uses Android studio on his Mac and launches an emulator. He cannot get the apk to install. He's tried downloading it from a link using the browser in the emulator(app not installed) and he's tried using the adb command line tool( run ./adb install /xxx.pk).

    For me this is a first. Any ideas on how to solve this?

    Richard
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The adb command should work. What is the output?
     
  3. morphe2011

    morphe2011 Member Licensed User

    Thank You as always for your response. The output is:

    I’m having trouble installing the app into the emulator with adb:


    ./adb install /Users/jackh/Downloads/pushlegalmr3.apk

    2118 KB/s (1754891 bytes in 0.808s)

    pkg: /data/local/tmp/pushlegalmr3.apk

    Failure [INSTALL_FAILED_CONTAINER_ERROR]


    Happy to upload the apk or any part of it to you
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Set: #CanInstallToExternalStorage: False in the main module.
     
  5. morphe2011

    morphe2011 Member Licensed User

    Most Thanks
     
Loading...