Comments (3)
You can work around this by specifying the packaging type : compile 'com.squareup:fest-android:1.0.8@aar
from assertj-android.
Thank you for your quick reply, I have added the @aar at the end of the line and now gradle doesn't complain about this anymore.
Nevertheless, it didn't fix my problem as it now cannot find my import (which was "import static org.fest.assertions.api.Assertions.assertThat;") but find this import : "import static org.fest.assertions.api.ANDROID.assertThat;" which has implementation only for Android Object and not for regular Object.
I'm sorry if I'm missing something obvious here but I cannot figure out what I'm doing wrong.
from assertj-android.
Using the following lines has solved my problem :
androidTestCompile ('com.squareup:fest-android:1.0.+') {
exclude group: 'com.android.support', module: 'support-v4'
}
from assertj-android.
Related Issues (20)
- TextView.inputType is a bit mask HOT 1
- update/correction ReadME HOT 1
- asserts using isEqualToIgnoringGivenFields or isEqualToComparingFieldByField doesnt work properly HOT 2
- Update assertj dependency to 1.7.1 HOT 2
- Update support-annotations to 22.2.0 HOT 2
- support-design module HOT 1
- TabLayoutAssert.hasTabMode throws an exception HOT 1
- Android Studio: Each module has to have a unique path HOT 16
- Assert that object is Parcelable HOT 2
- Warning assertj-android-appcompat-v7 depends on one or more Android Libraries but is a jar HOT 6
- Add support for Android 5+ properties HOT 4
- PathAssert constructor uses PaintAssert? HOT 2
- Resolved versions for app (23.1.1) and test app (22.2.1) differ HOT 12
- JTextComponentFixture enterText method simulates a qwerty keyboard HOT 1
- configurations.all { resolutionStrategy.force 'com.android.support:support-annotations:23.1.0' } HOT 1
- Error:Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (25.2.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details. HOT 1
- Update support library to 26.0.0 HOT 5
- java.lang.NoSuchMethodError: org.assertj.core.api.AbstractCharSequenceAssert.doesNotContain(Ljava/lang/CharSequence;) HOT 4
- org.mockito.exceptions.misusing.InvalidUseOfMatchersException error on kotlin files HOT 1
- Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assertj-android.