When i want to load local html file into webview in my android application webview given error like "ERR_ACCESS_DENIED" . When the same code working with while target android version 29. While i was surffing i found that this issue arraises in android 30 with latest changes of android 11 on webview So we need to add some extra setting options to webview After adding these options for webview settings my files are loaded properly.
webSettings.setAllowFileAccess(true);
webSettings.setAllowContentAccess(true);
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to get a contact image using a phone number in android?
What is NetworkOnMainThread Exception?
How to convert DP to Pixel and Pixel to Dp?
What are Android Versions available?
Add Jar/Library Files as Dependency in Android Studio
How do I generate random numbers in Dart?
How to Exit android app on back pressed?
Android Studio project R can't find
How can i comment inside xml file in android studio?
Extract Date and Time from Long Type Variable - RRutors
Check List for Generate Signed APK Android
What is ANR? How to avoid and resolve it?
What is Android Fragments?
Permission denied for window type 2010 in Marshmallow device
What are the notifications available in android?
Fix Android Emulator Kill Error When Running Your App
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How to install/ uninstall apk by command line ADB
How to validate email address in Android with Kotlin?
What is "shared preferences" in Android ?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Explain Fragment Life Cycle
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is Context?
How to reduce APK package size?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is Application?
How to get screen size (width,height) in Android?
What is ANR in android?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
FCM Not Receiving Notifications in Android - RRutors
How to check Android version?
How to Generate signed apk with android studio
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Key Points to remember while develop the Android Application.
Hide/Disable soft keyboard on Activity launch: Android
How to get complete address from latitude and longitude?
What is Android?
What is the Different Between val and var in Kotlin?