Android application is not working in lower version like Gingerbread -


i trying developing application work in android version api level 23 api level 8.while debugging application working on latest version api, not working on lower version gingerbread.

i try change minsdkversion, did not solve issue.

while debugging in lower version showing error

"installation failed since device possibly has stale dexed jars don't match current version (dexopt error). in order proceed, have uninstall existing application."

build.gradle

apply plugin: 'android'  dependencies { compile filetree(dir: 'libs', include: '*.jar') compile 'com.google.android.gms:play-services:7.8.0' compile 'com.android.support:appcompat-v7:22.0.0' compile 'com.android.support:support-v4:21.0.3' } android { compilesdkversion 22 buildtoolsversion "21.0.0"  defaultconfig {     applicationid "org.linphone"     minsdkversion 9     targetsdkversion 22     versioncode 1     versionname "1.0" }  sourcesets {      debug.setroot('build-types/debug')     release.setroot('build-types/release')  } android {     defaultconfig {         multidexenabled = true         minsdkversion         targetsdkversion     } }  configurations.all {     exclude group: 'com.android.support', module: 'support-annotations' } } 

manifest.xml

    <uses-sdk     android:minsdkversion="9"       /> 

checkout link , configure app,

https://developer.android.com/tools/building/multidex.html


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -