<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.xqq.ndkjnidemo.MainActivity"/>
将xmlns:app="http://schemas.android.com/apk/res-auto"
改成xmlns:app="http://schemas.android.com/apk/package_name"
即可。