How to change the minSdkVersion of a project?

后端 未结 9 1058
夕颜
夕颜 2020-12-08 00:19

I have been building a project and testing it on the Android emulator.

I realized that I set the minSdkVersion to 10. Now, I have a phone to test the p

9条回答
  •  旧巷少年郎
    2020-12-08 00:47

    Open the app/build.gradle file and check the property field compileSdkVersion in the android section. Change it to what you prefer.

    If you have imported external libraries into your application (Ex: facebook), then make sure to check facebook/build.gradle also.

提交回复
热议问题