src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java
protected boolean undeployApk( File apkFile ) throws MojoExecutionException, MojoFailureException
    {
        final String packageName;
        packageName = extractPackageNameFromApk( apkFile );
        return undeployApk( packageName );
    }
protected boolean undeployApk( File apkFile ) throws MojoExecutionException, MojoFailureException
    {
        final String packageName;
        packageName = extractPackageNameFromApk( apkFile );
        return undeployApk( packageName );
    }
Undeploys an apk from a connected emulator or usb device. Also deletes the application's data and cache
directories on the device.

@param apkFile the file to undeploy
@return <code>true</code> if successfully undeployed, <code>false</code> otherwise.