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选项。

解决方法


目录
相关文章
|
2月前
|
Docker 容器
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
ADD failed: file not found in build context or excluded by .dockerignore: stat irap_rule_center: fil
|
5月前
No rule to make target ‘.xxxxxxxx‘, needed by ‘debug/xxxx.cpp‘. Stop.
No rule to make target ‘.xxxxxxxx‘, needed by ‘debug/xxxx.cpp‘. Stop.
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.
|
6月前
|
Java
No tag [else] defined in tag library imported with prefix [c]] with root cause
No tag [else] defined in tag library imported with prefix [c]] with root cause 错误处理
49 0
|
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
78 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
104 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‘
101 0
Could not find com.serenegiant:common:4.1.1
Could not find com.serenegiant:common:4.1.1
253 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
154 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