Announcement

Collapse
No announcement yet.

Can't create package project

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

    Can't create package project

    Hi ,

    I try to found solution in forum because I don't know why I have this problem.
    I follow this guide : https://docs.unrealengine.com/latest...d/1/index.html
    (I don't know if it is important but I can't install Nsight Tegra , PC can't found visual studio , I try to reinstall VS but that don't work so I skip but I read it is not important here https://forums.unrealengine.com/show...d-Step-by-Step)
    And I try to lunch or create Package Project for android ( I try with basic project) and I have a Error: Error Launch failed! Unknown Error
    If you want I can give you outpout log .
    Thank for any reponse

    Light

    #2
    yea the output log is needed

    in the editor - where your log shows up - you can filter out warnings, errrors and info - you can also do text searches, searching for "error" lets you isolate the why
    ZOMBIE TOWN AHHH (ANDROID/STEAM) | RIDE SHARE EMPIRE (ANDROID/GAME JAM) | NEVER NOT KNIGHT (ANDROID/GAME JAM) | TWITTER | MY UE4 TUTORIALS | ANSWERHUB

    Comment


      #3
      Thank for helping !

      So i can isolate error , but that don't tell me , just red error message , where but I have this texte just before when I try package or lunch a basic fps map for smartphone :

      UATHelper: Packaging (Android (All)): UEDeployAndroid.MakeApk:
      UATHelper: Packaging (Android (All)): Copying new .so E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder...
      UATHelper: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramWithException: Preparing native code for debugging...
      UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
      UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)


      I have folder /Unreal Engine/ where I put SDK (in /Android/ folder) and UE4

      And this is all error I found on a basic fps map for smartphone :

      MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 79.361ms to complete.
      LogCookisplay: Cooking /Engine/EditorResources/LightIcons/S_LightError -> C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
      LogSavePackage: Async saving from memory to 'C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset'
      LogSavePackageisplay: Finished SavePackage C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
      LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: Can't make an APK without an API installed (see "android.bat list targets")
      LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
      PackagingResults:Error: Error Launch failed! Unknown Error
      LogTemp: IPP ERROR: Could not find provision directory 'C:\Users\Light14900\AppData\Local/Apple Computer/MobileDevice/Provisioning Profiles/'.
      LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
      LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
      PackagingResults:Error: Error Launch failed! Unknown Error
      LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
      LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
      PackagingResults:Error: Error Launch failed! Unknown Error
      UATHelper: Packaging (Android (All)): Cook: LogCookisplay: Forcing save package ../../../Engine/Content/EditorResources/LightIcons/S_LightError.uasset because was already requeued once
      UATHelper: Packaging (Android (All)): Cook: LogCookisplay: Cooking /Engine/EditorResources/LightIcons/S_LightError -> C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/Cooked/Android/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
      UATHelper: Packaging (Android (All)): Cook: LogSavePackageisplay: Finished SavePackage C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/Cooked/Android/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
      UATHelper: Packaging (Android (All)): Cook: LogInitisplay: Warning/Error Summary (Unique only)
      UATHelper: Packaging (Android (All)): Cook: LogInitisplay: Success - 0 error(s), 2 warning(s)
      UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
      UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
      PackagingResults:Error: Error Unknown Error
      LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
      LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
      PackagingResults:Error: Error Launch failed! Unknown Error


      This is project SDK setting ( I see some forum which it is important) :
      Click image for larger version

Name:	SDK.png
Views:	1
Size:	79.5 KB
ID:	1132697

      Hope that can help you and thank for help

      Light

      Comment


        #4
        I have exactly the same problem, I can't compile empty project for Andoid, I did everything correctly but compile always fails. Only thing is missing is NsightTegra and Visual Studio from Android Codeworks that UE4.18 provided in the folder.

        Comment


          #5
          smbv1 Light14900 Anyone ever figure this out? Having same issue when build in editor (UE4.21) or in Visual Studio?

          Comment

          Working...
          X