android-getting-started-samples icon indicating copy to clipboard operation
android-getting-started-samples copied to clipboard

Build fails while generating signed APK

Open dhavalwooplr opened this issue 8 years ago • 2 comments

I'm using com.adobe.creativesdk:image:4.8.4 lib and getting following errorswhile generating signed APK .

Error:Uncaught translation error: com.android.dx.cf.code.SimException: com.android.dx.rop.cst.CstInterfaceMethodRef cannot be cast to com.android.dx.rop.cst.CstMethodRef
Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
<a href="syncProject">Re-download dependencies and sync project (requires network)</a></li><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
<a href="stopGradleDaemons">Stop Gradle build processes (requires restart)</a></li><li>Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.</li></ul>In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Error:1 error; aborting
Error:Execution failed for task ':app:transformClassesWithDexForRelease'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process

I have also updated build tools and play services to latest version but still error remains same. What can be a possible fix for this?

dhavalwooplr avatar Feb 06 '17 13:02 dhavalwooplr

Fixed it.

dhavalwooplr avatar Feb 06 '17 14:02 dhavalwooplr

how to???

amin1367 avatar Aug 06 '18 19:08 amin1367