Base64 dependencies issue in Android Studio
问题 We're using Android Studio 0.6.1 with Gradle plugin 0.11.+ in our current project, and we're running into a dependency issue with commons-codec . We're pulling in a dependency class from our local Artifactory instance that contains a "crypto" service that uses the following two lines of code: byte[] encryptedOutput = cipherFactory.getEncryptCipher().doFinal(plaintext.getBytes()); byte[] encryptedCipherText = Base64.encodeBase64URLSafe(encryptedOutput); The problem is that even if we define a