android清单文件的activity警告 好几次了 第一反应就是上网查 总记不住 只要换行或者以“ / ”结尾就好了。
网上说:
It appears to have worked by getting rid of the closing tags and replacing them with the self closing tags
<activity
android:name="com.np.npvideoserver.UserConfig"
android:configChanges="orientation|keyboard"></activity>
改成
<activity
android:name="com.np.npvideoserver.UserConfig"
android:configChanges="orientation|keyboard">
</activity>
或
<activity
android:name="com.np.npvideoserver.UserConfig"
android:configChanges="orientation|keyboard"/>