For an Android application, how can I test what the lowest version/API of Android it can work on, without manually changing API level on the emulator?
答案 0 :(得分:0)
Open build.gradle
of your app
there should be written minSdkVersion which it supports.
答案 1 :(得分:0)
The minSdkVersion set in the app level gradle file is the lowest API version it will work on.
There are other factors though...for example:
Lets say the minSdkVersion is 21...but you call a method that wasnt introduced until api 25 (and dont handle that), then it will crash...and not really work.