dexDebug problem with WatchFace sample

Opened sample app WatchFace in Android Studio. When try to run build fails saying:
Unexpected top-level exception … Multiple dex files
Execution failed for task ‘:Application:dexDebug’

Found that in 2 build.gradle files (wearable & application modules) there were references to 2 versions of same file:

compile ‘’
compile ‘’

Changed so all references are to 8.4.0 and build now works.

This entry was posted in Android. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *