Unresolved reference: testing

According to official google documentation we should add our test helpers for Architecture Components (LiveData) in a such way:

// Test helpers for LiveData
testImplementation "android.arch.core:core-testing:1.1.0"

And at least for me it just doesn’t work. (see the question above)

How it should be actually:

// Test helpers for LiveData
androidTestImplementation "android.arch.core:core-testing:1.1.0"

Now everything works just fine!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)