O
O
Oleg2021-07-13 00:09:45
Android
Oleg, 2021-07-13 00:09:45

Is there a content analogue for file:///android_asset/?

FATAL EXCEPTION: Thread-2
Process: ru.a402d.rawbtprinter, PID: 30220
android.os.FileUriExposedException: file:///android_asset/app/index.html ? exposed beyond app through Intent.getData()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1965)

Crash when running Google loaded app.
Didn't count. just hurts the eyes.

Through the intent, urls are transferred to the local assets to the help pages, the open source list, and so on, which is too lazy to make up an activity. Built-in webview browser.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question