設為首頁收藏本站

艾歐踢論壇

 找回密碼
 立即註冊

QQ登錄

只需一步,快速開始

搜索
熱搜: 活動 交友 discuz
查看: 356|回復: 0
打印 上一主題 下一主題

Changing API level Android Studio(3.6.3)

[複製鏈接]
跳轉到指定樓層
樓主
發表於 2020-4-23 14:08:02 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
1) Change SDK API Level in Android Studio
  Step 1: Open your Android Studio, and go to Menu. File >  Project Structure.
  Step 2: In project Structure window, select  Modules in the list given on left side.
             Change the Compile SDK Version(29) and Build Tool Version to (29.0.3) and above.
  Step 3: In the same window select the Default Config tab and under this you will have an option
             for setting “Min Sdk Version” and for setting “Target Sdk Version”.

  Step 4 : Click Ok and Sync your Gradle.

2) To Change API using build.gradle (app level) in Android Studio
Step 1: if you are project is opened in android option then select open Gradle Scripts > build.gradle(Module: app/mobile)
Step 2: Open the build.gradle and go to Android and set CompileSDKVersion/BuildToolVersion
             and defaultConfig (minSdkVersion/
targetSdkVersion)

Step 3: Click on Sync Now.

PS.Suggestions:  need to be updated if exists .(if  errors happened)




分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 轉播轉播 分享分享 分享淘帖
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

小黑屋|Archiver|手機版|艾歐踢創新工坊    

GMT+8, 2024-6-12 00:18 , Processed in 0.220344 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表