-
Notifications
You must be signed in to change notification settings - Fork 207
FAQ
Yuri Shmakov edited this page Sep 28, 2016
·
20 revisions
Problem
Executing gradlew assembleDebug will fail if android-apt version is 1.8 (most recent for now)
Solution
android-apt 1.8 needs in JDK 1.8. You can tell gradlew to use specific version of JDK by setting it up in gradle.properties or by adding parameter to the terminal command like:
gradlew -Dorg.gradle.java.home="path_to_jdk_home" assembleDebug
Problem
Presenter annotated @InjectPresenter
is always null.
Solution
Check list below
- You Application extends MvpApplcation or invokes
MvpFacade.init()
at itsonCreate
method - Your Application is added at
AndroidManifest.xml
Problem
Gradle log warning: Warning:Ignoring Android API artifact com.google.android:android:4.0.1.2 for debug
Solution
Exclude com.google.android
from dependency:
compile ('com.arello-mobile:moxy:0.5.4'){
exclude group: 'com.google.android'
}
compile ('com.arello-mobile:moxy-android:0.5.4'){
exclude group: 'com.google.android'
}
apt 'com.arello-mobile:moxy-compiler:0.5.4'
- Home
- Causes of Moxy
- Getting started
- How to's
- Components
- Multiple modules
- Moxy & Kotlin
- Android Studio Templates
- FAQ
- Changelog