Auto-generated API 8 project fails to compile

With NTVS 1.4

New Project -> Android Application With Native Code
Set Min Target to 2.2
Build
Android1.c(4,17): fatal error : jni.h: No such file or directory

The compile fails because of the C++ command-line directive -I"C:\NVPACK\android-ndk-r9b\platforms\arch-arm\usr\include" Under Configuration Properties: General, Target API level will be 8, but it is impossible to set min API level <9

If there’s a good work-around for this, it would be nice. I have a legacy API 8 app that I still need to support and I’d like to migrate it to Nsight.

Text-editing the proj file seems to work. Is 2.2 supported? Will this lead me to problems down the road…?

<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Tegra-Android'">
    <AndroidTargetAPI>android-15</AndroidTargetAPI>
    <AndroidMinAPI>android-8</AndroidMinAPI>
  </PropertyGroup>
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Tegra-Android'">
    <AndroidTargetAPI>android-15</AndroidTargetAPI>
    <AndroidMinAPI>android-8</AndroidMinAPI>
  </PropertyGroup>
  <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Profile|Tegra-Android'">
    <AndroidTargetAPI>android-15</AndroidTargetAPI>
    <AndroidMinAPI>android-8</AndroidMinAPI>
  </PropertyGroup>

Hi,

Currently, we don’t provide any support for API levels < 9. Sorry for the inconvenience!