我有幾個使用Espresso測試我的應用程序的UI的androidTest測試。我注意到一個人最近失敗了,原因似乎沒有任何意義。 該測試啓動一個AlertDialog,其中EditText需要密碼。測試的開始如下所示: // click the icon that launches the dialog
onView(withId(R.id.action))
.perfor
我得到以下錯誤, Error:Conflict with dependency 'com.google.guava:guava' in project ':app'.
Resolved versions for app (18.0) and test app (16.0.1) differ
添加以下行後.. compile 'com.mobgen.halo.android:halo-
我一直在關注android testing codelab並試圖以類似的方式建模我的應用程序。這樣做並沒有消除所有這一切。當我嘗試運行/構建Android測試時,在使用支持庫類(如AppCompatActivity和TextInputLayout)時出現錯誤。錯誤說: The type android.support.design.widget.TextInputLayout cannot be