Android Call requires API level 19 (current min is 15)

During Android application development, the configuration file states the supported Android system scope:

minSdkVersion 15
targetSdkVersion 27

However, a class (Android. Util. Arraymap) that needs to be used in the code must be in the version number & gt= 19, can be called

At this time, an error will appear in the compilation, which is about “the arraymap class supports a version number above 19, but the configuration information states that the minimum version is 15.”

Solution:

1. The minimum revision is 19

(I believe that this scheme is not generally adopted – we set the minimum version to 15 in order to support more versions.)

2. Common solutions:

Right click Project – > Android Tools——> Clear Link Markers

Similar Posts: