Mac OSX-minSdk(API 18)> deviceSdk(API 15) [英] Mac OSX - minSdk(API 18) > deviceSdk(API 15)

查看:82
本文介绍了Mac OSX-minSdk(API 18)> deviceSdk(API 15)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Mac(版本10.9.2)上使用Android Studio 2.1.1,并且在尝试运行我在已连接的Android手机上开发的应用程序时收到上述错误. Android手机是Samsung Galaxy S Blaze SGH-T769,Android版本4.0.4.

I'm using Android Studio 2.1.1 on my Mac (Version 10.9.2) and I'm receiving the above error when trying to run the application I'm developing on the Android phone that I have connected. The Android phone is a Samsung Galaxy S Blaze SGH-T769, Android Version 4.0.4.

我对Android应用程序开发尚不陌生,因此将不胜感激.

I'm fairly new to Android app development, so any help would be appreciated.

推荐答案

您的应用程序的minSdkVersion设置为18,对应于Android 4.3.您的设备是API级别15的Android 4.0.4设备.您无法在API级别15的设备上运行minSdkVersion 18应用.

Your application's minSdkVersion is set to 18, which corresponds to Android 4.3. Your device is an Android 4.0.4 devices, which is API Level 15. You cannot run a minSdkVersion 18 app on a API Level 15 device.

如果您的目标是能够在该设备上运行此应用,请将您的minSdkVersion(app/build.gradle或通过Android Studio主菜单中的文件>项目结构)编辑为15(或更低),而不是18

If your objective is to be able to run this app on that device, edit your minSdkVersion (app/build.gradle or via File > Project Structure from the Android Studio main menu) to be 15 (or lower) instead of 18.

这篇关于Mac OSX-minSdk(API 18)> deviceSdk(API 15)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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