Skip to content
Alexander Blinov edited this page Aug 7, 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 its onCreate method
  • Your Application is added at AndroidManifest.xml