Questions tagged [android-6.0-marshmallow]

Android Marshmallow, formerly known as just "Android M", is version 6.0 of Android, is supporting API Level 23, and began shipping in October 2015.

Android Marshmallow, formerly known as just "Android M", is version 6.0 of Android, and began shipping in October 2015.

It was first shown at Google I/O 2015, with the final name confirmed on August 17th.

All API changes

Here is a summary of the major API-changes:

  • Runtime Permissions
  • Power-Saving Optimizations
  • Adoptable Storage Devices
  • Apache HTTP Client Removal
  • AudioManager Changes
  • Notifications
  • Text Selection
  • Android Keystore Changes
  • Wi-Fi and Networking Changes
  • Camera Service Changes
  • Runtime
  • Access to Hardware Identifier
  • APK Validation
  • USB Connection
  • Android for Work Changes

Official:

2168 questions
1
vote
0 answers

org.apache.http.legacy not being imported into project

I have an app with two modules. One module acts as a library and uses the Apache HTTP. Now I must compile it with MNC-Preview but, as known, this framework is no longer part of SDK framework. Being that the case, I read that it is possible to import…
1
vote
0 answers

How to fix GPU rendering Bug in Android M

My application works well in Android L and all other Android versions, but in Android M preview, it has a lot of pauses during the scrolling of the WebView. Here are the pictures of Profile GPU rendering in Android L and Android M preview. From…
JIE WANG
  • 1,875
  • 1
  • 17
  • 27
1
vote
2 answers

Android Studio isn't recognizing the checkSelfPermission

Is it possible to run Google Sample - RuntimePermissionsBasic On devices with OS less than MNC (Android M)? This project comes with: compileSdkVersion "android-MNC" targetSdkVersion "MNC" So far so good, running it on less than M OS will…
David
  • 37,109
  • 32
  • 120
  • 141
1
vote
1 answer

Android M Google API's to use Google Maps and other permissions

I have Android M set up for my project and could build fine. However, When i launch the app, i see the following error and app doesn't launch: <06-23 11:53:24.833 32416 32416 W System.err: java.lang.RuntimeException: **Unable to create application…
praveen_85
  • 182
  • 2
  • 13
1
vote
1 answer

Manifest Merger fails after upgrading to Android M

After pointing to the latest manifest-merger.jar provided in the Android M preview and updating my apps to when attempting to use the manifest merger on these apps, I get the…
1
vote
0 answers

Route calls audio to earpiece Android M

I would like to hear audio calls from earpiece and speak with default smartphone's microphone when earphones are plugged in. I read lot of questions on stackoverflow but nothing of them works with Android M (developer preview). Thare are a lot of…
Tenaciousd93
  • 3,438
  • 4
  • 33
  • 56
1
vote
0 answers

Android M Developer Preview - adb devices not working

I flashed the Android M developer preview to my Nexus 5 tonight and now I can't get ADB to recognize the device. I have developer options enabled and when I reboot to the bootloader the command "fastboot devices" lists my device. I feel like I may…
whitaay
  • 493
  • 1
  • 6
  • 18
1
vote
2 answers

Android Studio can't find aapt in M preview

You have the M preview channel build tools installed (at time of writing, rev 23rc1) and you get an error something like this: Error:android-apt-compiler: Cannot run program ".../sdk/build-tools/23.0.0_rc1/aapt": error=2, No such file or…
Alex Florescu
  • 5,096
  • 1
  • 28
  • 49
0
votes
1 answer

Is there a way to make Azure Application Gateway return all certificates in the chain?

We're migrating a web app from AWS to Azure. Some users access the site through an app on embedded tablets that run Android 6. I'm getting certificates from LetsEncrypt using certbot and, inside a renew hook, converting the certificate to pfx and…
0
votes
0 answers

Android: How to remove Firefox from the recent apps list via another app?

Situation: We are serving up a webpage on a local server using Firefox browser. If the user is in the middle of a process and hits the back button on the Android device, it gets caught up in a loop that has to be resolved by logging out or…
0
votes
0 answers

Download manager does not start the download process in Android 6

I have implemented a download manager that works on Android 7 and above. However, this does not work on Android 6. Is the download manager not available on Android 6 ? The download process does not start! private long startDownload(URL fileURL,…
0
votes
0 answers

App not working on Android 6 with Angular 13

Angular 13 App not working on Android 6, But working fine on Android web browser.
0
votes
0 answers

firebase messaging not working with android version 6 (api 23)

i've applied this tutorial to work with fcm: https://learn.microsoft.com/en-us/xamarin/android/data-cloud/google-messaging/remote-notifications-with-fcm?tabs=windows . it worked for android version 10 and 9. when i tested it on android 6, it didn't…
0
votes
0 answers

java.io.FileNotFoundException: /cache/test/test.txt: open failed: EACCES (Permission denied)

I am trying to copy the file from /storage/emulated/0/test.txt to /cache/SH_DIR/ via android user application , getting error like below java.io.FileNotFoundException: /cache/test/test.txt: open failed: EACCES (Permission denied) When I have created…
GNK
  • 1,036
  • 2
  • 10
  • 29
0
votes
1 answer

open failed: EACCES (Permission denied) in Android(6.0.1) system application

I have developed a android system application to copy file from /sdcard/download/test.txt to /cache/xyz/ location. I am able to copy the file to /cache/ , but bot into /cache/xyz/ location , Getting below error : java.io.FileNotFoundException:…
GNK
  • 1,036
  • 2
  • 10
  • 29