简体   繁体   English

我可以在Android Studio中运行API级别7(即eclair)的代码吗?

[英]Can i run my code of API level 7 i.e eclair in android studio?

I want to make changes in my old version code that is in API level 7 I need to add navigation sliding bar like google play store has and add FAB button in it My question is 我想在API级别7的旧版本代码中进行更改,我需要添加导航滑动条(例如Google Play商店)并在其中添加FAB按钮,我的问题是

Q-1) If I add this FAB to my old code will my app crash? Q-1)如果我将此FAB添加到旧代码中,我的应用程序会崩溃吗?

Q-2) Is there any way to make my old version code to run on other version of android ie highest version of android? Q-2)有什么方法可以使我的旧版本代码在其他版本的android上运行,即最高版本的android?

I have run my code for API level 8 in android studio, And I still Use to develop a legacy project on API level 8 and above. 我已经在android studio中运行了API级别8的代码,并且我仍然使用它来开发API级别8或更高版本的旧项目。 By theoretically API 7 should support, Try it. 从理论上讲,API 7应该支持,请尝试一下。 or you can set the compile level of your app as API 8 keeping the lowest version allowed to 7 and it should work. 或者您可以将应用的编译级别设置为API 8,将允许的最低版本保持为7,这样就可以正常工作。

暂无
暂无

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

相关问题 我如何在 eclipse 中使用 Material Design 功能来实现较低版本的 android api ie 2.1 eclair - How can i use material design feature in eclipse for lower versions of android api i.e 2.1 eclair Android 2.1(Eclair)的.dex文件格式,即API级别7 - Format of .dex files for Android 2.1 (Eclair), i.e. API level 7 我有一个API级为26的android studio,但是我的手机是API level22。 这些应用程序能否以API级别26运行? - I have an android studio with API level 26, but my phone is API level22. Would the apps able to run with API level 26? android studio 中的虚拟设备均未提供 api 31,如果我选择 api 为 >=31,如何运行我的代码? - None of the virtual devices in android studio offer api 31, how can i run my code if i selected the api as >=31? 我无法运行我的应用程序Android Studio - I can not run my application Android Studio 我想单击按钮将我的第一个活动的内容(即Java代码)复制到片段中 - I want to copy the content of my first activity (i.e the java code ) to my fragment on the click of a button 由于我的htc欲望设备是api level 8(Android 2.2),我无法运行我的应用程序,我该怎么办? - I can't run my application since my htc desire device is api level 8 (Android 2.2) what can i do? 我没有在下面的代码中为视图对象(即v)获取addView()方法? - I am not getting addView() method for object of view i.e v in my code below? 如何使用 Kotlin 在 Android 工作室更改问候语 textView 即早安或晚安 - how to change greeting textView i.e, Good morning or Good night in Android studio using Kotlin 如何确定我的Android API级别? - How can I determine my Android API level?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM