com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session : -26: Package com.example.myapp new target SDK 22 doesn't support runtime permissions but the old target SDK 23 does.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to ge
解决方法就是升级到targetSdkVersion 23