Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo

简介: Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo

原因:


在发射前或发射前复制Gradle-awareMake-in的步骤:


  1. 为ExampleUnitTest测试类创建一个新的Android JUnit运行配置:运行->编辑配置。单击窗口top-left中的“+”按钮。选择“Android JUnit”或“JUnit”。使用模块"PROJECT_NAME.app.unitTest"的classpath(-cp)。类“.ExampleUnitTest”。
  2. 运行newly-created运行配置
  3. 退出IDE
  4. Re-launchIDE,允许Gradle同步完成
  5. 清理项目(构建->清理项目)
  6. 再次运行ExampleUnitTest运行配置


对我来说,以上步骤是在启动前部分生成Gradle-awareMake选项。

解决方法


目录
相关文章
|
8月前
报错/ ./node_modules/axios/lib/platform/index.js Module parse failed: Unexpected token (5:2)怎么解决?
报错/ ./node_modules/axios/lib/platform/index.js Module parse failed: Unexpected token (5:2)怎么解决?
Warning: To load an ES module, set “type“: “module“ in the package.json or use the .mjs extension.
Warning: To load an ES module, set “type“: “module“ in the package.json or use the .mjs extension.
|
JavaScript Cloud Native Go
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
Error: Cannot find module ‘webpack/bin/config-yargs‘ at Function.Module._resolveFilename (intern
90 0
913 error Component name “home“ should always be multi-word vuemulti-word-component-names
913 error Component name “home“ should always be multi-word vuemulti-word-component-names
129 0
打包报错Error: ‘default‘ is not exported by node_modules/qs/lib/index.js
打包报错Error: ‘default‘ is not exported by node_modules/qs/lib/index.js
287 0
|
开发工具 git
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
编译pluma:configure.ac:229: error: required file ‘pluma/mate-submodules/Makefile.in‘ not found
133 0
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
118 0
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
Perhaps you should add the directory containing libpcre.pc to the PKG_CONFIG_PATH
173 0
|
JavaScript 前端开发 开发者
Component name “xxx“ should always be multi-word
Component name “xxx“ should always be multi-word
Component name “xxx“ should always be multi-word
|
NoSQL Python
解决gdb报错:Failed to import the site module,No module named '_sysconfigdata_m'
解决gdb报错:Failed to import the site module,No module named '_sysconfigdata_m'
407 0