Device debug is working now.

1. Clean the project
2. Import the files(except files under /x86 and /arm which shouldn't be
there)
3. Build the project as Device-Debug or Device-Release