code: @Override
    public String getBasePackage() throws AndroidSdkException {
      if (mainPackage == null) {
        try {
          mainPackage = extractApkDetails("package: name='(.*?)'");
        } catch (ShellCommandException e) {
          throw new SelendroidException("The base package name of the apk " + apkFile.getName()
              + " cannot be extracted.");
        }
  
      }
      return mainPackage;
    }
docs: /*
  (non-Javadoc)
  
  @see io.selendroid.android.impl.AndroidAppA#getBasePackage()