How do I install Android SDK Platform-Tools 24.0.0?

旧街凉风 提交于 2019-12-05 08:46:12

but crashes on a device or simulator running Android 22/23 (less than 24) with the following error

java.util.stream.Stream was added in API Level 24. This class cannot be used on older devices.

Certain Java 8 features, like lambda expressions, may work on older devices, but not classes that were introduced in Android N.

Varun Maheshwari

Just select the show package details and then you can find all the versions. Refer to the attached image

Asuming you have Android Studio 2.1

Launch the standalone SDK manager.

From there Android N API 24 should be available to install

Your API level 24 app runs OK with Android 24 (virtual) device but doesn't work with pre-24 device - so everything is exactly as one would expect.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!