[ITEM]

Download the Android SDK. Where the '.apk' is located // -d option for real device > adb -d install filename.apk 2402. Android Studio SDK Build-tools, revision.

I'm following the guide for setting up the Android N Preview In 'Update or Create a Project' Google says I need to have 24.0.0 platform tools. Just be sure that you've updated your project to use Android SDK Build Tools 24.0.0 and Android SDK Platform-Tools 24.0.0. I have installed the new SDK Platform: Android 6.X (N), API Level 24, Revision 1.

However when I open SDK Tools the only Android SDK Platform-Tools version is 23.1. I have updated my build.gradle for Android 24 and for Jack and Java 8 (). Everything works great on Android 24 simulator but crashes on a device or simulator running Android 22/23 (less than 24) with the following error: java.lang.NoSuchMethodError: No virtual method stream()Ljava/util/stream/Stream; in class Ljava/util/ArrayList; or its super classes (declaration of 'java.util.ArrayList' appears in /system/framework/core-libart.jar) I suspect the cause is having SDK Platform-Tools version 23.1.0 instead of 24.0.0 but if there is another solution i'd be happy to hear it.

Edit Installing platform tools 24.0.0 rc1 did not fix the crash. I'm not sure what else to try given that I have followed all the instructions to setup the preview and the Jack compiler. It was indeed already said that 'class was added in API Level 24 so the class cannot be used on older devices', however future readers might benefit from clarifying there was a wrong reasoning behind the question.

• Woodie, Alex (2016-12-13).. • ^ Teorey, Toby J.; Lightstone, Sam S.; Nadeau, Tom; Jagadish, H. Retrieved 2017-10-02. Bpwin software download. • Vogel, Peter (2010-12-09).. • Fernandez, Iggy (2009-02-18)..

Because OP said: 'Everything works on API 24 device but doesn't work on API 22/23 device, so I suspect I should build the app with API 24 to make it work.' While in fact the correct reasoning would be something as: 'It works on API 24 device but doesn't work on API 22/23 device, so I suspect I should build the app with an older API (22/23) to make it work with an older device.' – Jul 17 '16 at 23:44.

The Android SDK allows mobile software developers the opportunity to tinker with the platform and create new and interesting work. The kit contains everything you need to start building apps. The Android SDK also comes with an emulated virtual device that is fully functional to let you test out your work.

The emulator is easy to set up and run, and there is a choice of phone skins and resolutions to play around with too. The downside is that if you want to install software on the emulator, it isn't easy for novice users. There is, however, lots of documentation online to assist in using the Android SDK. The Android SDK includes: • An emulator. • Required libraries. • Sample source code. • Tutorials for the Android OS.

• Relevant documentation for the Android application program interfaces (APIs). Overall, the Android SDK will give you a fast and reliable development environment for you to work with. The app is a comprehensive development kit and the bundled emulator is skinnable too. The downside is that it can be a little tricky to operate for novice users.

[/ITEM]
[/MAIN]

Download the Android SDK. Where the '.apk' is located // -d option for real device > adb -d install filename.apk 2402. Android Studio SDK Build-tools, revision.

I'm following the guide for setting up the Android N Preview In 'Update or Create a Project' Google says I need to have 24.0.0 platform tools. Just be sure that you've updated your project to use Android SDK Build Tools 24.0.0 and Android SDK Platform-Tools 24.0.0. I have installed the new SDK Platform: Android 6.X (N), API Level 24, Revision 1.

However when I open SDK Tools the only Android SDK Platform-Tools version is 23.1. I have updated my build.gradle for Android 24 and for Jack and Java 8 (). Everything works great on Android 24 simulator but crashes on a device or simulator running Android 22/23 (less than 24) with the following error: java.lang.NoSuchMethodError: No virtual method stream()Ljava/util/stream/Stream; in class Ljava/util/ArrayList; or its super classes (declaration of 'java.util.ArrayList' appears in /system/framework/core-libart.jar) I suspect the cause is having SDK Platform-Tools version 23.1.0 instead of 24.0.0 but if there is another solution i'd be happy to hear it.

Edit Installing platform tools 24.0.0 rc1 did not fix the crash. I'm not sure what else to try given that I have followed all the instructions to setup the preview and the Jack compiler. It was indeed already said that 'class was added in API Level 24 so the class cannot be used on older devices', however future readers might benefit from clarifying there was a wrong reasoning behind the question.

• Woodie, Alex (2016-12-13).. • ^ Teorey, Toby J.; Lightstone, Sam S.; Nadeau, Tom; Jagadish, H. Retrieved 2017-10-02. Bpwin software download. • Vogel, Peter (2010-12-09).. • Fernandez, Iggy (2009-02-18)..

Because OP said: 'Everything works on API 24 device but doesn't work on API 22/23 device, so I suspect I should build the app with API 24 to make it work.' While in fact the correct reasoning would be something as: 'It works on API 24 device but doesn't work on API 22/23 device, so I suspect I should build the app with an older API (22/23) to make it work with an older device.' – Jul 17 '16 at 23:44.

The Android SDK allows mobile software developers the opportunity to tinker with the platform and create new and interesting work. The kit contains everything you need to start building apps. The Android SDK also comes with an emulated virtual device that is fully functional to let you test out your work.

The emulator is easy to set up and run, and there is a choice of phone skins and resolutions to play around with too. The downside is that if you want to install software on the emulator, it isn't easy for novice users. There is, however, lots of documentation online to assist in using the Android SDK. The Android SDK includes: • An emulator. • Required libraries. • Sample source code. • Tutorials for the Android OS.

• Relevant documentation for the Android application program interfaces (APIs). Overall, the Android SDK will give you a fast and reliable development environment for you to work with. The app is a comprehensive development kit and the bundled emulator is skinnable too. The downside is that it can be a little tricky to operate for novice users.