Error:Errorconverting bytecode to dex:Cause:Dexcannot parse version52bytecode.Thisiscausedbylibrary dependencies that have been compiledusingJava8orabove.Ifyou areusingthe'java'gradle pluginina library submodule add
targetCompatibility='1.7'sourceCompatibility='1.7'to that submodule's build.gradle file.
apply plugin:'java'
sourceCompatibility=1.7
targetCompatibility=1.7
dependencies{
compile fileTree(dir:'libs',include:['*.jar'])
}