Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add

Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add_第1张图片

解决方式如下图:

Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add_第2张图片

点开“build.gradle”如下图:

Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add_第3张图片

修改minSdkVersion 15 为minSdkVersion 24,出现如下图:

Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add_第4张图片

点击“Sync Now”即可解决问题。

你可能感兴趣的:(Call requires API level 24(current min is 15):java.util.stream.IntStream.Builder#add)