Karumi / Dexter

Android library that simplifies the process of requesting permissions at runtime.
http://karumi.com
Apache License 2.0
5.23k stars 671 forks source link

Unable to run sample #145

Closed IgorGanapolsky closed 7 years ago

IgorGanapolsky commented 7 years ago

Expected behaviour

Sample should compile and run in Android Studio

Actual behaviour

Build error:

Error:Could not read /Dexter/dexter/build/intermediates/typedefs.txt: /Dexter/dexter/build/intermediates/typedefs.txt (No such file or directory) Error:java.lang.RuntimeException: Annotation processors must be explicitly declared now. The following dependencies on the compile classpath are found to contain annotation processor. Please add them to the annotationProcessor configuration.

Steps to reproduce

Import the project in Android Studio 2.4 Try to run the sample Observe the build error

Version of the library

Latest

pedrovgs commented 7 years ago

Hi @IgorGanapolsky!

I've reviewed the project state and our CI environment is building and testing the app properly as you can see here. The problem you are facing has to be related to a bug in the Android Studio Preview. The latest stable release for Android Studio is 2.3.2 so I guess your error will be fixed by Android Studio developers soon.