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

解决方法


目录
相关文章
|
4天前
|
C语言 计算机视觉
opencv 编译objects.a(vs_version.rc.obj)‘ is incompatible with i386:x86-64 output
opencv 编译objects.a(vs_version.rc.obj)‘ is incompatible with i386:x86-64 output
15 0
|
7月前
|
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
35 0
|
9月前
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
50 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‘
85 0
Could not find com.serenegiant:common:4.1.1
Could not find com.serenegiant:common:4.1.1
203 0
成功解决 bs4\__init__.py:219: UserWarning: "b'.'" looks like a filename, not markup. You should probably
成功解决 bs4\__init__.py:219: UserWarning: "b'.'" looks like a filename, not markup. You should probably
python报错bs4.FeatureNotFound: Couldn‘t find a tree builder with the features you requested: lxml.
python报错bs4.FeatureNotFound: Couldn‘t find a tree builder with the features you requested: lxml.
|
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
|
Android开发
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
404 0
【错误记录】Tinker 热修复示例运行报错 ( patch receive fail: /storage/emulated/0/patch_signed_7zip.apk, code: -2)
custom field further usage - add into UI and report
custom field further usage - add into UI and report
115 0
custom field further usage - add into UI and report