version 1.7.0_17 of the JVM is not suitable for this product , Version 1.8 or greater i s required适配7.0更新的时候出现的,经过查资料,原来还要在清单文件里面加入
<!-- 适配7.0 --> <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.zj.main" android:exported="false" android:grantUriPermissions="true"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/> </provider>