gradle-android-scala-plugin icon indicating copy to clipboard operation
gradle-android-scala-plugin copied to clipboard

ViewCompat$LayoutDirectionMode not found

Open rimidalv opened this issue 10 years ago • 3 comments

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

rimidalv avatar May 29 '15 13:05 rimidalv

Slightly different but I feel related:

Class file for android.support.v4.widget.DrawerLayout$EdgeGravity not found

jromero avatar Jun 16 '15 21:06 jromero

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

nightscape avatar Jun 16 '15 21:06 nightscape

See pfn/android-sdk-plugin#173, SI-7741, fixed in Scala 2.11.7

Use the workaround until then

pfn avatar Jun 17 '15 14:06 pfn