Error: Program type already present:

According to Google's rule: New apps required to target API level 26 (Android 8.0) or higher since August 2018, the developer will need to use Android SDK 26 to build code. However, if you get an error:Program type already present: when using NeuroSky ECG Algo SDK(3.0.6) build code. Please try deleting the Android folder in NskAlgoSdk.jar.