Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Unit Tests work correctly when running but not when debugging in Android Studio 4.1

I fixed it by editing the current Run/Debug Configuration and choosing JAR Manifest in the Shorten command line option.


I fixed this error by editing the current Run/Debug Configuration and disabling the "Shorten command line" option. Before it was set to "classpath file" which seems to bring up the above error in some cases.

enter image description here

Tags:

Unit Testing

Android

Related

Convert UTF-8 varbinary(max) to varchar(max) Dictionary from two Arrays/Vectors in Julia Impact to ButterKnife from "Resource IDs will be non-final in Android Gradle Plugin version 5.0, avoid using them as annotation attributes" How can I tell whether I'm forwarding to a copy constructor? google_osconfig's CPU usage of VM on Google Cloud Platform increases steadily Transforming an array of int to integer_sequence Laravel class property not returning in response Unexpected OutOfMemoryError when allocating an array larger than the heap How to model parent-child relationship in Android MVVM VMs? Flink job with CassandrSink fails with Error writing Android Studio Start Failed when updated to 4.1 BuildConfig.VERSION_CODE is missing after update to 'com.android.tools.build:gradle:4.1.0'

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy