Announcement

Collapse
No announcement yet.

Android packaging error on com.google.vr.sdk.samples.permission and/or java

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

    Android packaging error on com.google.vr.sdk.samples.permission and/or java

    Hi guys,

    I'm creating a thread here hoping I could get more help than on the answer hub.

    I'm having a very annoying issue when I try to package an android build.
    I get the following log:

     
    Spoiler


    So there are several things. It talks about a app:compileDebugJavaWithJavac FAILED and just before, Z:\app\src\main\java\com\epicgames\ue4\GameActivity.java:157: error: package com.google.vr.sdk.samples.permission does not exist

    I don't understand why I would try to access a Google VR thing as I've disabled the Google VR plugin and I made sure nothing was linked to it.
    Environement variables are properly set. Android sdk seems properly installed.

    I'm having this issue for quite a while now and I still didn't found any solutions :/

    Help is more than welcome. Thx
    Twitter
    Portfolio
    LinkedIn

    #2
    did you got the solution?

    Comment


      #3
      Nope, I've been looking for several months and nobody has an answer.
      Twitter
      Portfolio
      LinkedIn

      Comment


        #4
        Hi Devs,
        I'm building a AR Core android build with 4.24 and created a template AR project from the start menu of Unreal Editor.

        To build the sample application here are the settings I have:
        1. SDK and NDK Path Picture of Android SDK NDK Files


















        2. SDK and NDK Environment Variables
        Click image for larger version

Name:	SystemPropertiesAdvanced_5axsZ2iKux.png
Views:	75
Size:	42.8 KB
ID:	1778249

        3. Android Settings Click image for larger version

Name:	UE4Editor_Q0fTZs7CUZ.png
Views:	73
Size:	101.0 KB
ID:	1778248

        4. Build Log
        Code:
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): ====6/20/2020 1:20:50 AM====PERFORMING FINAL APK PACKAGE OPERATION================================================
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Making .apk with Gradle...
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.1/userguide/gradle_daemon.html.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Daemon will be stopped at the end of the build stopping after processing
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:preBuild UP-TO-DATE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:preBuild UP-TO-DATE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:preDebugBuild UP-TO-DATE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:checkDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:processDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:preBuild UP-TO-DATE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:preDebugBuild UP-TO-DATE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:checkDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:processDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:preDebugBuild
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:compileDebugAidl
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:compileDebugAidl
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:compileDebugAidl
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:packageDebugRenderscript NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:packageDebugRenderscript NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:compileDebugRenderscript
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:checkDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:generateDebugBuildConfig
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:prepareLintJar
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:generateDebugResValues
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:generateDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:compileDebugRenderscript
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:generateDebugResValues
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:generateDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:packageDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:compileDebugRenderscript
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:generateDebugResValues
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:generateDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:packageDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:mergeDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:createDebugCompatibleScreenManifests
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:processDebugManifest
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:splitsDiscoveryTaskDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:platformAttrExtractor
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:platformAttrExtractor
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:generateDebugBuildConfig
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:prepareLintJar
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:javaPreCompileDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:processDebugJavaRes NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:generateDebugBuildConfig
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:prepareLintJar
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:javaPreCompileDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:processDebugJavaRes NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:compileDebugNdk NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:mergeDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:compileDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:generateDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:mergeDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:compileDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:generateDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:mergeDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:mergeDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:compileDebugShaders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:generateDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:mergeDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:mergeDebugAssets
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:mergeDebugJniLibFolders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:compileDebugNdk NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:mergeDebugJniLibFolders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:transformNativeLibsWithMergeJniLibsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:transformNativeLibsWithStripDebugSymbolForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:transformNativeLibsWithIntermediateJniLibsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:compileDebugNdk NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:mergeDebugJniLibFolders
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:transformNativeLibsWithMergeJniLibsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:transformNativeLibsWithStripDebugSymbolForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:transformNativeLibsWithIntermediateJniLibsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:processDebugJavaRes NO-SOURCE
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:validateSigningDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:processDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:generateDebugSources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:compileDebugJavaWithJavac
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :downloader_library:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:processDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:processDebugResources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:generateDebugSources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:generateDebugSources
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Note: Z:\permission_library\src\main\java\com\google\vr\sdk\samples\permission\PermissionFragment.java uses or overrides a deprecated API.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Note: Recompile with -Xlint:deprecation for details.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:compileDebugJavaWithJavac
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :permission_library:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:javaPreCompileDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Z:\app\src\main\java\com\epicgames\ue4\GameApplication.java:7: error: cannot find symbol
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): import android.arch.lifecycle.ProcessLifecycleOwner;
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): ^
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): symbol: class ProcessLifecycleOwner
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): location: package android.arch.lifecycle
        PackagingResults: Error: cannot find symbol
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Z:\app\src\main\java\com\epicgames\ue4\GameApplication.java:22: error: cannot find symbol
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): ProcessLifecycleOwner.get().getLifecycle().addObserver(this);
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): ^
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): symbol: variable ProcessLifecycleOwner
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): location: class GameApplication
        PackagingResults: Error: cannot find symbol
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Note: Some input files use or override a deprecated API.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Note: Recompile with -Xlint:deprecation for details.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): 2 errors
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): :app:compileDebugJavaWithJavac FAILED
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): FAILURE: Build failed with an exception.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): * What went wrong:
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Execution failed for task ':app:compileDebugJavaWithJavac'.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): > Compilation failed; see the compiler error output for details.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): * Try:
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): * Get more help at https://help.gradle.org
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)):
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): BUILD FAILED in 1m 2s
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): 59 actionable tasks: 59 executed
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): ERROR: cmd.exe failed with args /c "E:\UEProjects\ARProjects\HelloARUnreal\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug
        PackagingResults: Error: cmd.exe failed with args /c "E:\UEProjects\ARProjects\HelloARUnreal\Intermediate\Android\APK\gradle\rungradle.bat" :app:assembleDebug
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): Took 2597.5403353s to run UnrealBuildTool.exe, ExitCode=5
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): UnrealBuildTool failed. See log for more details. (C:\UE4SourceCode\Engine\Programs\AutomationTool\Saved\Logs\UBT-HelloARUnreal-Android-Test_2.txt)
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): AutomationTool exiting with ExitCode=5 (5)
        UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1a,ETC1)): BUILD FAILED
        PackagingResults: Error: Unknown Error
        The whole process crashes when the gradle starts and gives the error intending to somewhere
        Code:
        :app:compileDebugJavaWithJavac FAILED
        This error is very persistent and annoying, I'm clue less what to do ?




        Comment


          #5
          This is what i found when i separately run
          .\rungradle.bat task compileDebugJavaWithJavac --info
          Code:
          > Task :app:compileDebugJavaWithJavac
          Putting task artifact state for task ':app:compileDebugJavaWithJavac' into context took 0.001 secs.
          file or directory 'Z:\app\libs', not found
          file or directory 'Z:\app\src\main\libs', not found
          file or directory 'Z:\app\src\debug\java', not found
          Executing task ':app:compileDebugJavaWithJavac' (up-to-date check took 0.095 secs) due to:
          Task has failed previously.
          All input files are considered out-of-date for incremental task ':app:compileDebugJavaWithJavac'.
          Compiling with source level 1.7 and target level 1.7.
          file or directory 'Z:\app\libs', not found
          file or directory 'Z:\app\src\main\libs', not found
          Creating new cache for classAnalysis, path Z:\.gradle\4.1\javaCompile\classAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@7dbe2fdc
          Creating new cache for jarAnalysis, path Z:\.gradle\4.1\javaCompile\jarAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@7dbe2fdc
          Creating new cache for taskJars, path Z:\.gradle\4.1\javaCompile\taskJars.bin, access org.gradle.cache.internal.DefaultCacheAccess@7dbe2fdc
          Creating new cache for taskHistory, path Z:\.gradle\4.1\javaCompile\taskHistory.bin, access org.gradle.cache.internal.DefaultCacheAccess@7dbe2fdc
          :app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
          file or directory 'Z:\app\src\debug\java', not found
          Compiling with JDK Java compiler API.
          Z:\app\src\main\java\com\epicgames\ue4\GameApplication.java:7: error: cannot find symbol
          import android.arch.lifecycle.ProcessLifecycleOwner;

          Seems like the Z directory is not there ! I'm sure I'm near to the solution now, but what is it ?

          Comment

          Working...
          X