Android Question New compilation error

Discussion in 'Android Questions' started by gebleau, Sep 11, 2015.

  1. gebleau

    gebleau New Member Licensed User

    Hi,
    Now, I have this error at the compilation ?
    (No before with the same code)

    B4A version: 5.20
    Parsing code. (0.02s)
    Compiling code. (0.18s)
    Compiling layouts code. (0.01s)
    Generating R file. (0.44s)
    Compiling generated Java code. (1.20s)
    Convert byte code - optimized dex. (0.64s)
    Packaging files. (0.30s)
    Copying libraries resources (0.17s)
    Found 4 resource files.
    Signing package file (debug key). (0.90s)
    ZipAlign file. (0.11s)
    Installing file to device. Error
    pkg: /data/local/tmp/cdes_gean.apk
    Failure [INSTALL_FAILED_CONTAINER_ERROR]

    Why ?

    Thanks
     
  2. eurojam

    eurojam Well-Known Member Licensed User

    do you use a virtual device? If it is an emulator, edit it and add more memory. you can also have a look to your manifest file, if it says
    android:installLocation="preferExternal" change it to android:installLocation="auto"
     
  3. sorex

    sorex Expert Licensed User

    is that to a real device or emulator (genymotion?)
     
  4. sorex

    sorex Expert Licensed User

    in case of genymotion check the top of your B4A file set

    Code:
    #CanInstallToExternalStorage: False
     
    DonManfred likes this.
  5. gebleau

    gebleau New Member Licensed User

    Thanks,

    this Ok now.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice