gradle-android-scala-plugin
gradle-android-scala-plugin copied to clipboard
ViewCompat$LayoutDirectionMode not found
When i use compile 'com.android.support:support-v4:22.2.0' or 'com.android.support:appcompat-v7:22.2.0'
Error:Execution failed for task ':mobile:compileDevDebugScala'.
Class file for android.support.v4.view.ViewCompat$LayoutDirectionMode not found
Slightly different but I feel related:
Class file for android.support.v4.widget.DrawerLayout$EdgeGravity not found
I'm facing the same problem with DrawerLayout$EdgeGravity although using android-sdk-plugin (SBT). It seems that people are stumbling over this w.r.t. Proguard errors but no real solution (except for ignoring the problem): http://stackoverflow.com/questions/30645051/proguard-configuration-for-android-support-v4-22-2-0 http://stackoverflow.com/questions/30705589/gradle-build-failure
See pfn/android-sdk-plugin#173, SI-7741, fixed in Scala 2.11.7
Use the workaround until then