NoClassDefFoundError after AndroidStudio upgrade to 1.0 (December 8th)

旧城冷巷雨未停 提交于 2019-12-01 09:13:05
Androiderson

This has nothing to do with gradle. It's an update for Google Play Services. The LocationClient class has been replaced with the new FusedLocationProviderApi.

Check this answer: Android play services 6.5: LocationClient is missing

Try with this :

dependencies 
{
    classpath 'com.android.tools.build:gradle:1.0.0+'
    classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.9.+'
}

And also do

    buildTypes 
   {
        release 
       {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-    rules.txt'
        }
    }
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!