草庐IT

android - GooglePlayServicesUtil.isGooglePlayServicesAvailable() 崩溃

我在2.1版移动设备上运行它。当我调试它时,我发现函数GooglePlayServicesUtil.isGooglePlayServicesAvailable()崩溃了。据说“找不到方法android.util.Base64.decode”。2.1版本太低?还是手机需要安装googleplay服务?代码如下:intstatus=GooglePlayServicesUtil.isGooglePlayServicesAvailable(getBaseContext());if(status!=ConnectionResult.SUCCESS){...}这是日志:07-2321:56:40.