java 无法打开文件:Android Webview中没有此类文件或目录

cl25kdpy  于 2023-04-19  发布在  Java
关注(0)|答案(2)|浏览(206)

工作android webview我得到了它我已经尝试了许多解决方案无法解决

E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/snapshot_blob_32.bin': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/snapshot_blob_64.bin': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/icudtl.dat': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/chrome_100_percent.pak': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/stored-locales/en-GB.pak': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/stored-locales/en-GB.pak': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/stored-locales/en-GB.pak': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/resources.pak': No such file or directory
    E/ech.androidproject: Failed to open file '/data/data/tech.androidproject/code_cache/.overlay/base.apk/assets/stored-locales/en-GB.pak': No such file or directory
gjmwrych

gjmwrych1#

我也遇到了同样的情况,我解决了这个问题,在AndroidManifest.xml上添加了权限。

增加该权限:<uses-permission android:name="android.permission.INTERNET"/>

虽然有点晚,但希望能有所帮助!

ifsvaxew

ifsvaxew2#

去设置和清除您的应用程序的所有数据,并通过Android Studio重新安装它.
这对我很有帮助,希望也能解决你的问题。
编码愉快。

相关问题