Question: I am following the steps on <http://developer.android.com/sdk/ndk/overview.html> to build the hello-jni sample, however when I get to Step 2 to run

```
cd $NDK-ROOT/samples/hello-jni
$NDK-ROOT/ndk-build

```

in the Cygwin command prompt, I receive the following error messages:

```
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
Android NDK: Host awk tool is outdated. Please define HOST_AWK to point to Gawk
or Nawk !

```

I have Cygwin 1.7.9, Gnu Make 3.8.2, and Gawk 3.1.8 on my Windows machine, along with the r5b release of the Android NDK.
I also have set the HOST\_AWK environment variable, which points to my Gawk folder.

Unfortunatley the sample cannot run successfully without this step, (if I run hello-jni, I immediately receive an UnsatisfiedLinkError exception).

Below is the portion of the init.mk file on my machine (found in NDK\_ROOT/build/core) which creates this error:

```
# Location of all awk scripts we use
BUILD_AWK := $(NDK_ROOT)/build/awk

AWK_TEST := $(shell $(HOST_AWK) -f $(BUILD_AWK)/check-awk.awk)
$(call ndk_log,Host awk test returned: $(AWK_TEST))
ifneq ($(AWK_TEST),Pass)
$(call __ndk_info,Host awk tool is outdated. Please define HOST_AWK to point to Gawk or     Nawk !)
$(call __ndk_error,Aborting.)
endif

```

Thank-you for your help

Answer: 
Consider using `System.Data.SqlServerCe.SqlCeConnection`:

```
System.Data.SqlServerCe.SqlCeConnection con = 
   new System.Data.SqlServerCe.SqlCeConnection(@"Data Source=C:\Users\Pawel\Documents\DB.sdf");

```

(Add a reference to System.Data.SqlServerCe, if necessary)

Also, to use it with ASP.NET, add:

```
AppDomain.CurrentDomain.SetData("SQLServerCompactEditionUnderWebHosting", true);

```
Apparently, you are using a SQL Compact Edition (sdf file). Have you tried using `SqlCeConnection` instead of `SqlConnection` ?

As a bonus: if you dont want to mess with connectionstrings anymore, please try [this](http://connectionstrings.com/).

Do do so, you have to add a reference to `System.Data.SqlServerCe` assembly.