Fatal Exception: java.lang.SecurityException: No permission to write to /storage/emulated/0/Download/grblcontroller-master.zip: Neither user 10148 nor current process has android.permission.WRITE_EXTERNAL_STORAGE.
at android.os.Parcel.readException(Parcel.java:1683)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.insert(ContentProviderNative.java:476)
at android.content.ContentResolver.insert(ContentResolver.java:1277)
at android.app.DownloadManager.enqueue(DownloadManager.java:1014)
at im.delight.android.webview.AdvancedWebView.handleDownload(AdvancedWebView.java:1241)
at in.co.gorest.grblcontroller.WebViewActivity.onDownloadRequested(WebViewActivity.java:110)
at im.delight.android.webview.AdvancedWebView$3.onDownloadStart(AdvancedWebView.java:1003)
at com.android.webview.chromium.Ap.onDownloadStart(WebViewContentsClientAdapter.java:485)
at org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(AwContentsClientCallbackHelper.java:25)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
在 im.delight.android.webview.AdvancedWebView.handleDownload
致命异常:java.lang.SecurityException
没有写入 /storage/emulated/0/Download/grblcontroller-master.zip 的权限:用户 10148 和当前进程都没有 android.permission.WRITE_EXTERNAL_STORAGE。