Announcement

Collapse
No announcement yet.

Can't create VR app following Guide

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't create VR app following Guide

    Hi,

    I am following this guide:

    https://docs.unrealengine.com/latest...art/index.html

    But I get some errors during installation to mobile, while I execute the BAT file, this is what I get from command line

    Code:
    Microsoft Windows [VersiĆ³n 10.0.14393]
    (c) 2016 Microsoft Corporation. Todos los derechos reservados.
    
    C:\Users\Napal>cd C:\Users\Napal\Android_Builds\Android_ATC
    
    C:\Users\Napal\Android_Builds\Android_ATC>Install_GVR_QS_Development-arm64-es2
    
    C:\Users\Napal\Android_Builds\Android_ATC>setlocal
    
    C:\Users\Napal\Android_Builds\Android_ATC>set ANDROIDHOME=C:\NVPACK\android-sdk-windows
    
    C:\Users\Napal\Android_Builds\Android_ATC>if "C:\NVPACK\android-sdk-windows" == "" set ANDROIDHOME=C:/NVPACK/android-sdk-windows
    
    C:\Users\Napal\Android_Builds\Android_ATC>set ADB=C:\NVPACK\android-sdk-windows\platform-tools\adb.exe
    
    C:\Users\Napal\Android_Builds\Android_ATC>set DEVICE=
    
    C:\Users\Napal\Android_Builds\Android_ATC>if not "" == "" set DEVICE=-s
    
    C:\Users\Napal\Android_Builds\Android_ATC>for /F "delims=" %A in ('C:\NVPACK\android-sdk-windows\platform-tools\adb.exe shell "echo $EXTERNAL_STORAGE"') do [MENTION=44531]se[/MENTION]t STORAGE=%A
    
    Uninstalling existing application. Failures here can almost always be ignored.
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  uninstall com.YourCompany.GVR_QS
    Failure [DELETE_FAILED_INTERNAL_ERROR]
    
    Installing existing application. Failures here indicate a problem with the device (connection or storage permissions) and are fatal.
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  install GVR_QS-arm64-es2.apk
    [100%] /data/local/tmp/GVR_QS-arm64-es2.apk
            pkg: /data/local/tmp/GVR_QS-arm64-es2.apk
    Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  shell rm -r /sdcard/UE4Game/GVR_QS
    rm: /sdcard/UE4Game/GVR_QS: No such file or directory
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  shell rm -r /sdcard/UE4Game/UE4CommandLine.txt
    rm: /sdcard/UE4Game/UE4CommandLine.txt: No such file or directory
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  shell rm -r /sdcard/obb/com.YourCompany.GVR_QS
    
    Installing new data. Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  push main.1.com.YourCompany.GVR_QS.obb /sdcard/obb/com.YourCompany.GVR_QS/main.1.com.YourCompany.GVR_QS.obb
    [100%] /sdcard/obb/com.YourCompany.GVR_QS/main.1.com.YourCompany.GVR_QS.obb
    
    C:\Users\Napal\Android_Builds\Android_ATC>if "0" NEQ "0" goto Error
    
    Grant READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE to the apk for reading OBB file.
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  shell pm grant com.YourCompany.GVR_QS android.permission.READ_EXTERNAL_STORAGE
    Bad argument: java.lang.IllegalArgumentException: Unknown package: com.YourCompany.GVR_QS
    usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER]
           pm list permission-groups
           pm list permissions [-g] [-f] [-d] [-u] [GROUP]
           pm list instrumentation [-f] [TARGET-PACKAGE]
           pm list features
           pm list libraries
           pm list users
           pm path PACKAGE
           pm dump PACKAGE
           pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH]
           pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES]
                   [--install-location 0/1/2]
                   [--force-uuid internal|UUID]
           pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH]
           pm install-commit SESSION_ID
           pm install-abandon SESSION_ID
           pm uninstall [-k] [--user USER_ID] PACKAGE
           pm set-installer PACKAGE INSTALLER
           pm move-package PACKAGE [internal|UUID]
           pm move-primary-storage [internal|UUID]
           pm clear [--user USER_ID] PACKAGE
           pm enable [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT
           pm hide [--user USER_ID] PACKAGE_OR_COMPONENT
           pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT
           pm grant [--user USER_ID] PACKAGE PERMISSION
           pm revoke [--user USER_ID] PACKAGE PERMISSION
           pm reset-permissions
           pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}
           pm get-app-link [--user USER_ID] PACKAGE
           pm set-install-location [0/auto] [1/internal] [2/external]
           pm get-install-location
           pm set-permission-enforced PERMISSION [true|false]
           pm trim-caches DESIRED_FREE_SPACE [internal|UUID]
           pm create-user [--profileOf USER_ID] [--managed] USER_NAME
           pm remove-user USER_ID
           pm get-max-users
    
    pm list packages: prints all packages, optionally only
      those whose package name contains the text in FILTER.  Options:
        -f: see their associated file.
        -d: filter to only show disbled packages.
        -e: filter to only show enabled packages.
        -s: filter to only show system packages.
        -3: filter to only show third party packages.
        -i: see the installer for the packages.
        -u: also include uninstalled packages.
    
    pm list permission-groups: prints all known permission groups.
    
    pm list permissions: prints all known permissions, optionally only
      those in GROUP.  Options:
        -g: organize by group.
        -f: print all information.
        -s: short summary.
        -d: only list dangerous permissions.
        -u: list only the permissions users will see.
    
    pm list instrumentation: use to list all test packages; optionally
      supply <TARGET-PACKAGE> to list the test packages for a particular
      application.  Options:
        -f: list the .apk file for the test package.
    
    pm list features: prints all features of the system.
    
    pm list users: prints all users on the system.
    
    pm path: print the path to the .apk of the given PACKAGE.
    
    pm dump: print system state associated with the given PACKAGE.
    
    pm install: install a single legacy package
    pm install-create: create an install session
        -l: forward lock application
        -r: replace existing application
        -t: allow test packages
        -i: specify the installer package name
        -s: install application on sdcard
        -f: install application on internal flash
        -d: allow version code downgrade
        -p: partial application install
        -g: grant all runtime permissions
        -S: size in bytes of entire session
    
    pm install-write: write a package into existing session; path may
      be '-' to read from stdin
        -S: size in bytes of package, required for stdin
    
    pm install-commit: perform install of fully staged session
    pm install-abandon: abandon session
    
    pm set-installer: set installer package name
    
    pm uninstall: removes a package from the system. Options:
        -k: keep the data and cache directories around after package removal.
    
    pm clear: deletes all data associated with a package.
    
    pm enable, disable, disable-user, disable-until-used: these commands
      change the enabled state of a given package or component (written
      as "package/class").
    
    pm grant, revoke: these commands either grant or revoke permissions
        to apps. The permissions must be declared as used in the app's
        manifest, be runtime permissions (protection level dangerous),
        and the app targeting SDK greater than Lollipop MR1.
    
    pm reset-permissions: revert all runtime permissions to their default state.
    
    pm get-install-location: returns the current install location.
        0 [auto]: Let system decide the best location
        1 [internal]: Install on internal device storage
        2 [external]: Install on external media
    
    pm set-install-location: changes the default install location.
      NOTE: this is only intended for debugging; using this can cause
      applications to break and other undersireable behavior.
        0 [auto]: Let system decide the best location
        1 [internal]: Install on internal device storage
        2 [external]: Install on external media
    
    pm trim-caches: trim cache files to reach the given free space.
    
    pm create-user: create a new user with the given USER_NAME,
      printing the new user identifier of the user.
    
    pm remove-user: remove the user with the given USER_IDENTIFIER,
      deleting all data associated with that user
    
    
    C:\Users\Napal\Android_Builds\Android_ATC>C:\NVPACK\android-sdk-windows\platform-tools\adb.exe  shell pm grant com.YourCompany.GVR_QS android.permission.WRITE_EXTERNAL_STORAGE
    Bad argument: java.lang.IllegalArgumentException: Unknown package: com.YourCompany.GVR_QS
    usage: pm list packages [-f] [-d] [-e] [-s] [-3] [-i] [-u] [--user USER_ID] [FILTER]
           pm list permission-groups
           pm list permissions [-g] [-f] [-d] [-u] [GROUP]
           pm list instrumentation [-f] [TARGET-PACKAGE]
           pm list features
           pm list libraries
           pm list users
           pm path PACKAGE
           pm dump PACKAGE
           pm install [-lrtsfd] [-i PACKAGE] [--user USER_ID] [PATH]
           pm install-create [-lrtsfdp] [-i PACKAGE] [-S BYTES]
                   [--install-location 0/1/2]
                   [--force-uuid internal|UUID]
           pm install-write [-S BYTES] SESSION_ID SPLIT_NAME [PATH]
           pm install-commit SESSION_ID
           pm install-abandon SESSION_ID
           pm uninstall [-k] [--user USER_ID] PACKAGE
           pm set-installer PACKAGE INSTALLER
           pm move-package PACKAGE [internal|UUID]
           pm move-primary-storage [internal|UUID]
           pm clear [--user USER_ID] PACKAGE
           pm enable [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable-user [--user USER_ID] PACKAGE_OR_COMPONENT
           pm disable-until-used [--user USER_ID] PACKAGE_OR_COMPONENT
           pm hide [--user USER_ID] PACKAGE_OR_COMPONENT
           pm unhide [--user USER_ID] PACKAGE_OR_COMPONENT
           pm grant [--user USER_ID] PACKAGE PERMISSION
           pm revoke [--user USER_ID] PACKAGE PERMISSION
           pm reset-permissions
           pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}
           pm get-app-link [--user USER_ID] PACKAGE
           pm set-install-location [0/auto] [1/internal] [2/external]
           pm get-install-location
           pm set-permission-enforced PERMISSION [true|false]
           pm trim-caches DESIRED_FREE_SPACE [internal|UUID]
           pm create-user [--profileOf USER_ID] [--managed] USER_NAME
           pm remove-user USER_ID
           pm get-max-users
    
    pm list packages: prints all packages, optionally only
      those whose package name contains the text in FILTER.  Options:
        -f: see their associated file.
        -d: filter to only show disbled packages.
        -e: filter to only show enabled packages.
        -s: filter to only show system packages.
        -3: filter to only show third party packages.
        -i: see the installer for the packages.
        -u: also include uninstalled packages.
    
    pm list permission-groups: prints all known permission groups.
    
    pm list permissions: prints all known permissions, optionally only
      those in GROUP.  Options:
        -g: organize by group.
        -f: print all information.
        -s: short summary.
        -d: only list dangerous permissions.
        -u: list only the permissions users will see.
    
    pm list instrumentation: use to list all test packages; optionally
      supply <TARGET-PACKAGE> to list the test packages for a particular
      application.  Options:
        -f: list the .apk file for the test package.
    
    pm list features: prints all features of the system.
    
    pm list users: prints all users on the system.
    
    pm path: print the path to the .apk of the given PACKAGE.
    
    pm dump: print system state associated with the given PACKAGE.
    
    pm install: install a single legacy package
    pm install-create: create an install session
        -l: forward lock application
        -r: replace existing application
        -t: allow test packages
        -i: specify the installer package name
        -s: install application on sdcard
        -f: install application on internal flash
        -d: allow version code downgrade
        -p: partial application install
        -g: grant all runtime permissions
        -S: size in bytes of entire session
    
    pm install-write: write a package into existing session; path may
      be '-' to read from stdin
        -S: size in bytes of package, required for stdin
    
    pm install-commit: perform install of fully staged session
    pm install-abandon: abandon session
    
    pm set-installer: set installer package name
    
    pm uninstall: removes a package from the system. Options:
        -k: keep the data and cache directories around after package removal.
    
    pm clear: deletes all data associated with a package.
    
    pm enable, disable, disable-user, disable-until-used: these commands
      change the enabled state of a given package or component (written
      as "package/class").
    
    pm grant, revoke: these commands either grant or revoke permissions
        to apps. The permissions must be declared as used in the app's
        manifest, be runtime permissions (protection level dangerous),
        and the app targeting SDK greater than Lollipop MR1.
    
    pm reset-permissions: revert all runtime permissions to their default state.
    
    pm get-install-location: returns the current install location.
        0 [auto]: Let system decide the best location
        1 [internal]: Install on internal device storage
        2 [external]: Install on external media
    
    pm set-install-location: changes the default install location.
      NOTE: this is only intended for debugging; using this can cause
      applications to break and other undersireable behavior.
        0 [auto]: Let system decide the best location
        1 [internal]: Install on internal device storage
        2 [external]: Install on external media
    
    pm trim-caches: trim cache files to reach the given free space.
    
    pm create-user: create a new user with the given USER_NAME,
      printing the new user identifier of the user.
    
    pm remove-user: remove the user with the given USER_IDENTIFIER,
      deleting all data associated with that user
    
    
    Installation successful
    
    C:\Users\Napal\Android_Builds\Android_ATC>goto:eof
    
    C:\Users\Napal\Android_Builds\Android_ATC>
    Also I see some incoherences, on the point 12 of the 2nd step of the guide it say that I have to uncheck armv7 and check arm64, but in in 4th point of 3rd step it say double click on " Install_GVR_QS_Development-armv7-es2.bat" but then this is not the file that I get, I have "Install_GVR_QS_Development-arm64-es2"

    Maybe there are some more incoherences on this guide? Anyone knows a guide that will work fine? I want to make a simply 3D plans of my new house to see on VR Google Cardboard.

    Thanks!

    #2
    Which device are you installing on? Based on this "INSTALL_FAILED_NO_MATCHING_ABIS" it looks like your device does not support ARM64 (ARMv8).

    Comment


      #3
      Hi,

      I am trying to install on a Samsung Galaxy S5, also I tried with arm7 but with same problem

      Comment

      Working...
      X