First error come when I'm trying to get Resource id from Driveid.

```
DriveFile dfile= Drive.DriveApi.getFile(mGoogleApiClient,DriveId.decodeFromString(driveId));                                            
Log.e(TAG,"Driveid>>>>" + driveId);                                             
String resourceID= dfile.getDriveId().getResourceId().toString();

```

Whenever I got Resource id and trying to delete item from google drive.

```
com.google.api.services.drive.Drive service;

service.files().delete(resourceID).execute();

```

Here Logcat ERROR:

![enter image description here](https://i.stack.imgur.com/xyoz9.png)

**Please Give me standard Solution for delete file from google drive.**