I am trying to add ojdbc14.jar to my graddle so that I can connect to an Oracle Database. however, I get an error message. Below you will find gradle code and error message
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.12.+'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'groovy'
apply plugin: 'Android '
compile fileTree(dir:'libs', include:['*.jar'])
compile files ('libs/ojdbc14.jar')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
However, I get this error message
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\JohnT\AndroidStudioProjects\OracleApp\build.gradle' line: 12
* What went wrong:
A problem occurred evaluating root project 'OracleApp'.
> Plugin with id 'Android ' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3.733 secs
Process finished with exit code 1