Announcement

Collapse
No announcement yet.

Failed Package after update Engine

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

    Failed Package after update Engine

    Hello everyone
    I install 4.8.1 and now I get much errors, when make a build for Android
    I tried to don't use TADP, but result is same..
    Code:
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:104: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         int stringResourceID = paused ? R.string.text_button_resume :
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                          ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:105: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                 R.string.text_button_pause;
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                  ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:263: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                 mStatusText.setText(R.string.text_verifying_download);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                      ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:463: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                     mStatusText.setText(R.string.text_validation_failed);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                          ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:488: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         setContentView(R.layout.downloader_progress);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                         ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:490: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mPB = (ProgressBar) findViewById(R.id.progressBar);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                           ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:491: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mStatusText = (TextView) findViewById(R.id.statusText);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:492: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mProgressFraction = (TextView) findViewById(R.id.progressAsFraction);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                      ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:493: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mProgressPercent = (TextView) findViewById(R.id.progressAsPercentage);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                     ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:494: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mAverageSpeed = (TextView) findViewById(R.id.progressAverageSpeed);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                  ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:495: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mTimeRemaining = (TextView) findViewById(R.id.progressTimeRemaining);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                   ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:496: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mDashboard = findViewById(R.id.downloaderDashboard);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                    ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:497: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mCellMessage = findViewById(R.id.approveCellular);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                      ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:498: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mPauseButton = (Button) findViewById(R.id.pauseButton);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                               ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:499: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mWiFiSettingsButton = (Button) findViewById(R.id.wifiSettingsButton);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                      ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:521: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         Button resumeOnCell = (Button) findViewById(R.id.resumeOverCellular);
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                                      ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:782: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mAverageSpeed.setText(getString(R.string.kilobytes_per_second,
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]                                          ^
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac] D:\CPPRunner\Runner\Intermediate\Android\APK\src\com\YourCompany\Runner\DownloaderActivity.java:784: package R does not exist
    MainFrameActions: Packaging (Android (ETC2)): UnrealBuildTool:     [javac]         mTimeRemaining.setText(getString(R.string.time_remaining,

    #2
    could you put your full log. Because sometimes, ehat you have posted, is normal. So if you want someone to help, please post your entire log when you try to package to Android.

    Regards,
    The Hangar Studio - Video Game Studio

    An I for an I
    (Imagination equals Innovation)

    Comment


      #3
      I think I got this kind of error before. I might related to the bug that Android package code don't clean up previous build properly. In my case, I sovled the problem by clean up the "Intermediate\Android" folder and then repackage.
      | twitter | github | #ue4tip

      Comment


        #4
        Originally posted by Nate View Post
        I think I got this kind of error before. I might related to the bug that Android package code don't clean up previous build properly. In my case, I sovled the problem by clean up the "Intermediate\Android" folder and then repackage.
        It works, thank you)
        Now I can not start the game. When I run the game, I see black screen and an application crash "Application has been stopped". Any ideas?

        Samsug galaxy s6

        Comment


          #5
          Thanks I ran into the same thing. I had to manually remove the generated source after I changed the package name.
          `Intermediate\Android\APK\src\com\YourCompany`.

          I had built for Android before setting the package name and needed to manually remove the generated source from the old package name.

          Comment

          Working...
          X