java - Android Studio 2.1 Gradle sync error after implemented AAR library -
i have added aar library file project. after added, after implementing aar library main code, while gradle sync , getting these exception..
error:error converting bytecode dex: cause: java.lang.runtimeexception: exception parsing classes error:1 error; aborting error:execution failed task ':app:transformclasseswithdexfordebug'. > com.android.build.api.transform.transformexception: java.lang.runtimeexception: com.android.ide.common.process.processexception: java.util.concurrent.executionexception: com.android.ide.common.process.processexception: return code 1 dex process
i have tried build clean, rebuild, restart studio, many times gradle sync,and multidex enabled true getting above mentioned error.
anyone me solve problem.
finally cleared problem.
i have followed steps in android studio 2.1: file-settings-build,execution,deployment select - instant run - uncheck first option "enable instant run hot swap code/resource changes on deploy(default enabled)"
then, finally, clean , rebuild , run project.
Comments
Post a Comment