e.g. android NDK obj files of my project path is “TestProj\Intermediate\Android\APK\obj\local\armeabi-v7a”,
because I need to check stack of app that crashed in native code, so I would open this directory regularly.
If I open this directory in Windows File Explorer and build android apk again. following errors would occur:
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: ====2016-10-16 9:09:04 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:63: error: package com..android.gms.ads does not exist
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com..android.gms.ads.AdRequest;
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:64: error: package com..android.gms.ads does not exist
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com..android.gms.ads.AdView;
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:65: error: package com..android.gms.ads does not exist
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com..android.gms.ads.AdSize;
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:66: error: package com..android.gms.ads does not exist
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] import com..android.gms.ads.AdListener;
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:150: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] private AdView adView;
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] symbol: class AdView
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] location: class GameActivity
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:991: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] AdRequest adRequest = new AdRequest.Builder().build(); // add test devices here
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] symbol: class AdRequest
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] location: class GameActivity
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:991: error: package AdRequest does not exist
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] AdRequest adRequest = new AdRequest.Builder().build(); // add test devices here
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:1206: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] adView = new AdView(this);
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] symbol: class AdView
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] location: class GameActivity
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:1208: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] adView.setAdSize(AdSize.BANNER);
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] symbol: variable AdSize
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] location: class GameActivity
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\src\com\epicgames\ue4\GameActivity.java:1241: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] _activity.adView.setAdListener(new AdListener()
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] ^
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] symbol: class AdListener
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] Note: Some input files use or override a deprecated API.
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] Note: Recompile with -Xlint:deprecation for details.
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [javac] 10 errors
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool:
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: BUILD FAILED
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: D:\sdk\\android-sdk-windows\tools\ant\build.xml:720: The following error occurred while executing this line:
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: D:\sdk\\android-sdk-windows\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool:
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Total time: 18 seconds
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Making .apk with Ant again to show errors
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: Buildfile: D:\workspace\unreal_project\huaikongxin2\program\client\HuaiKXCli\Intermediate\Android\APK\build.xml
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool: [getbuildtools] Using latest Build Tools: 22.0.1
UATHelper: Packaging (Android (ASTC)): UnrealBuildTool:
these errors can’t be solved unless you remove all Intermediate files of project. I think UE4Editor should close these directories automatically or give some exact tips to .