简体   繁体   English

如何在 Android Studio 中添加空活动?

[英]How to add Empty Activity in Android Studio?

I'm currently learning mobile app development and I can't seem to figure out why I can't create a new Activity in Android Studio.我目前正在学习移动应用程序开发,但我似乎无法弄清楚为什么我无法在 Android Studio 中创建新的 Activity。

在此处输入图片说明

I tried installing Android 6.0 Marshmallow which is API level 23.我尝试安装 API 级别 23 的 Android 6.0 Marshmallow。 在此处输入图片说明

I also checked the version in SDK tools and it's 30.0.4.我还检查了 SDK 工具中的版本,它是 30.0.4。 My question what is the minSdk?我的问题是什么是 minSdk? And how do I change it to >=16?以及如何将其更改为 >=16?

minSdk is the starting version which your app can support, you can change the sdk version in app level build.gradle minSdk 是您的应用可以支持的起始版本,您可以在应用级别 build.gradle 中更改 sdk 版本在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在 Android Studio 中创建空活动 - Unable to create an empty activity in Android Studio 当 Android Studio 中没有活动标签时,如何在清单中添加导出的标签? - How to add exported label in manifest when there is no activity tag in Android Studio? 如何在 Nav Drawer 活动中将地图活动添加到 HomeFragment,以便 map 在 android 工作室中工作 - How do I add a maps activity to HomeFragment in Nav Drawer activity, so that the map works in android studio 在我的标签式活动中添加图标(android studio) - Add icon in my tabbed activity (android studio) 如何使用Android Studio将iframe添加到活动中(我想从网站添加Google日历) - How to add iframe into an activity using android studio (I want to add google calender from a website) Android Studio中的SQLite数据库,第二个活动返回一个空表 - SQLite database in android studio, second activity is returning an empty table 如何将工具栏添加到Android Activity? - How to add a toolbar to an Android Activity? 将菜单添加到空活动 - Add a menu to an empty activity 如何在 Android Studio 3.5 - 最新版本中将选项卡式活动添加到导航抽屉片段中 - How To Add Tabbed Activity Into Navigation Drawer Fragment in Android Studio 3.5 - the latest version 如何在 android 工作室的列表视图中添加新变量(来自以前的活动)到列表中? - How to add a new varible (from previous activity) to a list to display on listview in android studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM