程序运行在真机上没问题,一在虚拟机上运行,就会报错:

这个问题是因为AndroidManifest文件中配置错误导致的,我是引入了一个第三方库,但是没将权限写全导致的,正确配置应该是这样,在user-library中写入 android:required="false":

就可以了
- shared_ptr 循环引用以及解决办法
- MIUI EU ROM install and upgrade
- 安装npm install报错npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/webpack-subresource-integrity failed, reason
- scp 出现 subsystem request failed on channel 0 scp: Connection closed 的解决方法
- Docker 数据库连接见解异常 SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again
- cdn引入vue后报错无法识路径 Uncaught TypeError: Failed to resolve module specifier "vue". Relative references must start with either "/", "./", or "../".
- SpringBoot配置报错:Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class
- android编译kanzi 问题 (3) Build command failed.ninja: error: '../../../../../../lib/android_gradle/ES3_Release/arm64-v8a/xxxxx.so', needed by 'xxxxxx.so', missing and no known rule to make it
- android编译kanzi 问题 (2) Gradle sync failed: NDK not configured. Download it with SDK manager. Preferred NDK version is '21.1.6352462'.
- celery中 @app.task与@shared.task 的区别
本栏目推荐文章