These tools are intended to help you test on the android device.
Currently included is:
- Configure the fs repositories
- Add this dependency to your
androidTestImplementationconfiguration:dependencies { /* ... */ androidTestImplementation 'com.fsryan.tools:andtesttools:x.y.z' }
You may need to exclude certain modules depending upon the other things you use in your project
Use MultiDexInstrumentationRunner when you're testing a library of sufficient complexity. You'll know when you've reached sufficient complexity when the build fails and claims that there are too many method references. When you're testing an app, you don't have as strict limitations on method reference limits.
android {
defaultConfig {
testInstrumentationRunner "com.fsryan.tools.dvm.MultiDexInstrumentationRunner"
}
}