After I click Sync Now I get next error:
Executing tasks: [:app:assembleDebug] in project /Users/macbook/AndroidStudioProjects/ObfuscationTest
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'Obfuscation Test'.
compileSdkVersion is not specified. Please add it to build.gradle
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
classpath "io.michaelrocks:paranoid-gradle-plugin:0.3.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
After I click Sync Now I get next error: Executing tasks: [:app:assembleDebug] in project /Users/macbook/AndroidStudioProjects/ObfuscationTest
FAILURE: Build failed with an exception.
What went wrong: A problem occurred configuring root project 'Obfuscation Test'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 99ms`
My build.gradle (project):
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath "com.android.tools.build:gradle:4.1.2" classpath "io.michaelrocks:paranoid-gradle-plugin:0.3.2"
}
apply plugin: 'com.android.application' apply plugin: 'io.michaelrocks.paranoid'
allprojects { repositories { google() jcenter() } }
My build.gradle (module): plugins { id 'com.android.application' }
android { compileSdkVersion 30 buildToolsVersion "30.0.3"
}
dependencies {
}