Comments (10)
Hi,
the reason i use 1.2.0-beta1 is for better support for unit testing, because of 1.2.0 the generated R.java
is shared with plain old unit testing (folder test
and not androidTest
).
However, you can simply use 1.1.3
as lang as you don't run the unit test (some unit test features that require 1.2
I have not pushed to master yet).
By the way: I'm also using Android Studio Android Studio 1.2 RC 3 and 1.2.0-beta1 without facing any kind of problems.
Are you sure that your issue is not related to #10
from mosby.
I don't think it's the same issue, because I am not seeing explicit errors. In my case, the green play button never gets enabled because the modules aren't built into android applications.
from mosby.
Hm, really strange ...
Now I'm facing the problem that I can only build the samples by enabling Android Instrumentation Tests
in Android Studio and not Unit Tests
. I'm afraid, but I will have to update to android gradle plugin 1.2.0-beta1 with one of my next commits. Could you once more try to pull the latest master branch and to switch to 1.2.0-beta1? Can you build mosby from commandline with ./gradlew clean assemble
? Are you using gradlewrapper or maybe an older version of gradle that may cause the problem?
from mosby.
Oh I think you have to enable unit test in android studio:
http://tools.android.com/tech-docs/unit-testing-support
Enable the unit testing feature in Settings > Gradle > Experimental.
I guess that is the problem you face with 1.2.0-beta1
from mosby.
I do not see unit testing feature in Settings > Gradle > Experimental
from mosby.
Me neither. The site is refering to android studio 1.1 which is based on intellij 13 . I guess things has changed in android studio 1.2 (based on intellij 14) or removed completely. I can't find this option anymore. Nevermind ...
from mosby.
I am now seeing this error in Android Studio gradle message at the bottom:
A newer version of com.android.tools.build:gradle than 1.2.0-beta1 is available: 1.2.0
from mosby.
Did a pull request for 1.2.0, works now!
from mosby.
Hm, now it's my android studio that mark any dependency to support v4 as unknown. However, pressing the play button can compile and run the whole things expected ... Come on google ... what's going on ...
from mosby.
Do you even need support v4? Maybe you can just get away with v7 😉
from mosby.
Related Issues (20)
- Logo/Icon Proposal
- How can I use it by extents Activity rather than AppCompatActivity? HOT 2
- [SOLVED?] `sample-mvi` crashes on Start HOT 17
- There is an NPE in MenuPresenter if i try to start the sample mail app (but not only there) HOT 3
- Add androidx support HOT 1
- Stop accessing non-public fields in Fragment HOT 25
- Each use of ifViewAttached adds a lot of redundant code HOT 2
- View should load it's content after reusing retained fragment after screen is back on HOT 1
- MVI + LocationProvider HOT 1
- Can ifViewAttached return result of last statement in its scope? HOT 2
- the doubt of MVI in actual projects
- MVP ViewState, restoreInstanceState is not called
- MvpNullObjectBasePresenter + R8 = ClassCastException HOT 3
- java.lang.IllegalAccessError: Method 'boolean androidx.fragment.app.Fragment.isInBackStack()' is inaccessible to class 'androidx.core.app.BackstackAccessor' HOT 1
- Kotlin - Flow - possibly Multiplatform impl HOT 1
- Mosby V4 - AndroidX support HOT 10
- Accessibility talkback approach with MVI
- MviConductorLifecycleListener : call destroy on null presenter
- Synthetic MviPresenter generated classes instances not GC cleared after Activity/fragment destruction HOT 12
- Fatal Exception: java.lang.IllegalArgumentException: The generic type <V extends MvpView> must be the first generic type argument of class HOT 3
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 mosby.