Issue
I have create excel file in my android project, but in android 10 can not create excel file.. so i have tried add
android:requestLegacyExternalStorage="true"
in my manifest file but it show error like this
anyone can help me? thankyou ..
Solution
If your app targets Android 10 (API level 29) or lower, you can temporarily opt out of scoped storage in your production app. If you target Android 10, you need to set the value of requestLegacyExternalStorage
to true in your app's manifest file:
Set compileSdkVersion
& targetSdkVersion
30
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId ""
minSdkVersion 16
targetSdkVersion 30
Answered By - IntelliJ Amiya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.