Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 2 months ago. Improve this question Google’s review team keeps rejecting our App after Target SDK API level to 30 migration. The rejection reason is that your
Tag: android-11
Android 11: Send e-mail with automatically attached file
I want open and email app with already generated text, subject, recipient and attached file, it works with android sdk version 29 (android 10) and lower. However starting Android 11 there are restriction to writing file in external or internal storages, and there is also another restriction that is not allowed to attach file automatically from app file directory. Previously
java.io.FileNotFoundException open failed: EEXIST (File exists) Android 11
I was trying to download an image from a server and save it in the external memory, but in Android 11 it gives me an error when I try to create the file. I have granted permission to access the external storage. i searched a bit on the internet and they suggested me to put this code in the manifest,
Code for setting light status bar in android 11 and below android 11 deprecation warning not going
I am using this code for setting light status bar in android 11 and below android 11. Everything works fine, just a little problem, deprecation warning not going. Answer I just did one thing, since my if statement is fine, I just suppressed warning by using @SuppressWarnings(“deprecation”) I just used this annotation for that particular method which contains this code.
requestLegacyExternalStorage is not working in Android 11 – API 30
Google has introduced some changes recently related to storage APIs in API 29 like scoped storage and we opted out by adding ‘requestLegacyExternalStorage=true’ in Manifest. But now when I targetSdkVersion 30, this no longer seems to work. Some of the files in the download directories were not listing (File.listFiles) after this change. Answer But now when I targetSdkVersion 30, this