Instrumentation run failed due to 'Process crashed.'

前端 未结 6 1403
感动是毒
感动是毒 2021-02-02 06:12

I wanted to run the following test:

package com.xxx.yyy;

import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runn         


        
6条回答
  •  长发绾君心
    2021-02-02 06:29

    I got the same error after updating JUnit4 from:

    androidTestImplementation 'junit:junit:4.12
    

    to

    androidTestImplementation 'junit:junit:4.13
    

    The error went away when I downgraded back to:

    androidTestImplementation 'junit:junit:4.12
    

提交回复
热议问题