Base64.encodeBase64URLSafeString() could not find method error in eclipse (Android project).
- by jax
I have an Android project that is using the Base64.encodeBase64URLSafeString commons method. The part that does the Base64 is in another java project.
I have added the java project to the android project through the "Project" tab in the Build Path.
I have already linked both projects to commons-codec thinking that this might be the problem but am still getting the following error in Eclipse.
Both project have no errors.
Could not find method
org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString,
referenced from method
com.mydomain.android.licensegenerator.client.LicenseLoader.doSha1AndBase64Encryption
What might I be doing wrong?