Solution:
1. Execute run * * main() with coverage;
2. Modify gradle.xml under. Idea
< GradleProjectSettings> Add a row under the label node
< option name=”delegatedBuild” value=”false” />
After saving, you can use run * * with Main() and debug * * with main()
Read More:
- Android studio reports an error when running the main() method
- Android Studio: How to Solve APK error in mobile phone installation
- [Solved] AS Run main() Error: Could not create task ‘:app:CreateOperatorDemo.main()‘
- [Solved] Android Studio Compile Error: Invalid main APK outputs : EarlySyncBuildOutput
- How to Solve Error: Android java.lang.IllegalStateException: Could not execute method of the activity
- [Solved] Android Studio Run Error: Error while executing: am start -n
- How to Solve rqt Run error under ROS
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”
- How to Solve Android jetpack Room Schema export Error
- How to Solve Msys2/mingw64 Run cmake GUI Error
- How to Solve Excel Error Log 2: Sloving method
- Android 10: How to Solve Systemui Error
- [Solved] Android Studio Start Error: Missing essential plugin: org.jetbrains.android Please reinstall Android
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- JZVideo Error: Attempt to invoke virtual method ‘android.view.Window android.app.Activity.getWindow()’ on a null object reference
- How to Solve kaldi Gstreamer worker Run Error
- [Solved] Failed to apply plugin appears when Android studio imports a project
- How to Solve Error inflating class android.support.design.widget.FloatingActionButton
- How to Solve skimage.metrics.compare_psnr Method Error
- How to Solve QT error: LNK1158: Cannot Run “rc.exe”