cordova-androidで生成したプロジェクトにSupport Libraryを追加

cordova-androidのバージョンは7.1

プロジェクト作成

$ cordova-android/bin/create android_demo test.android_demo

Gradle Scripts > build.gradle (Module: app)

dependencies {
    implementation fileTree(include: '*.jar', dir: 'libs')
    // SUB-PROJECT DEPENDENCIES START
    implementation project(path: ':CordovaLib')
    // SUB-PROJECT DEPENDENCIES END
}

dependencies {
    implementation fileTree(include: '*.jar', dir: 'libs')
    // SUB-PROJECT DEPENDENCIES START
    implementation 'com.android.support:design:26.1.0'       # ★追加
    implementation 'com.android.support:appcompat-v7:26.1.0' # ★追加
    implementation project(path: ':CordovaLib')
    // SUB-PROJECT DEPENDENCIES END
}

以上です