Everything goes fine and gradle shows me BUILD SUCCESSFUL line.
Then I see the following log: Picked up _JAVA_OPTIONS: -Xms512m -Xmx2048m
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Tegra-Android\Nvidia.AndroidBuild.targets(308,5): warning MSB8015: Forcing a rebuild of all source files due to the contents of “\Tegra-Android\Debug_JB_Part1\gradle.command.1.tlog” being invalid.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Tegra-Android\Nvidia.AndroidBuild.targets(308,5): error : Cannot find built APK in \Tegra-Android\Debug_JB_Part1\build
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
It’s extremely strange, as I can see .apk and -unaligned.apk files in \Tegra-Android\Debug_JB_Part1\build\outputs\apk
What may be wrong? I’m ready to provide any extra information needed.
Does it occur again after rebuild?
If so, please send us the build Diagnostic log, you set log verbosity to Diagnostic at Tools>options>Projects and Solutions>Build and Run.
Well, Victor, I wouldn’t say so. It’s a temporary solution.
I’ve got more than 20 project configurations for different markets, and I need correspondent nsight_tegra_build_overrides_.gradle files.
Denis, thank you for the sample project - we have reproduced the reported behavior.
We have plans to improve the APK detection logic in a future release.