Admob需要api-13或更高版本,我不能部署在旧的API-8手机上吗? [英] Admob requires api-13 or later can I not deploy on old API-8 phones?

查看:93
本文介绍了Admob需要api-13或更高版本,我不能部署在旧的API-8手机上吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Admob要求我必须使用API​​-13或更高版本来编译我的项目。为了能够使用admob sdk。
我的应用程序适用于api-8或更高版本的手机。

Google Admob requires that I have to compile my project with API-13 or later. To be able to use admob sdk. My application is meant for mobiles with api-8 or later.

这是否意味着如果我使用Api-13或更高版本编译我的应用程序,我就不得不放弃我的应用程序支持Api-13之前的较早版本的手机?

Does it mean if I compile my app with Api-13 or later I have to abandon my app support for older phones before Api-13 ?

我的理解是,由于admob需要最少的api-13进行编译,这意味着它调用的功能在旧手机,所以我很困惑,它可能无法在Api-8到Api-12上运行我的应用,并且可能会崩溃?

My understanding is that since admob requires minimum api-13 to compile , it means it calls functions which are not available on old phones, so I am confused that potentially It won't be able to run my app for Api-8 to Api-12 and probably crash ?

请向我提出建议

推荐答案


这是否意味着如果我使用Api-13或更高版本编译我的应用,放弃在Api-13之前放弃对旧手机的应用支持?

Does it mean if I compile my app with Api-13 or later I have to abandon my app support for older phones before Api-13 ?

否。如果您阅读 AdMob文档, Google AdMob Ads SDK Android版需要运行Android 1.5或更高版本(在AndroidManifest.xml中将android:minSdkVersion设置为至少3),这意味着您可以使用最新版本的Android SDK进行开发,并且您的应用仍可以在较早的版本上运行Android版本(最低1.5)。

No. If you read the AdMob documentation, "The Google AdMob Ads SDK for Android requires a run-time of Android 1.5 or later (set android:minSdkVersion to at least 3 in your AndroidManifest.xml). This means you can develop with the latest version of the Android SDK and your app will still run on an earlier Android version (1.5 minimum)."


我的理解是,由于admob需要最少的api-13进行编译,因此这意味着它会调用旧手机上不可用的功能

My understanding is that since admob requires minimum api-13 to compile , it means it calls functions which are not available on old phones

有条件地呼叫功能在旧手机上不可用。这在Android开发中非常普遍-您使用 Build.VERSION.SDK_INT 来确定您是否使用的是较新的设备,并使用较新的API来做一件事情,但还要做其他事情在较旧的设备上。

It conditionally "calls function which are not available on old phones". This is fairly commonplace in Android development -- you use Build.VERSION.SDK_INT to determine if you are on a newer device and do one thing with newer APIs, but do something else on older devices.

这篇关于Admob需要api-13或更高版本,我不能部署在旧的API-8手机上吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆