I am have packaged up and am trying to deploy using android studio v3.6.3, I have followed the instructions carefully.
After entering the the following information in my build.gradle
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
}
}
android {
compileSdkVersion 29
buildToolVersion '29.0.3'
//useLibrary 'org.apache.http.legacy'
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
}
I then have made sure i entered the following in my gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
I've also followed the steps you need to do in the SDK Manager, ticked Andoid 9.0 and 10.0, then in the tools tab, have 28.0.3 installed and 29.0.3.
However... I get the following build/sync error
org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method buildToolVersion() for arguments [29.0.3] on object of type com.android.build.gradle.internal.dsl.BaseAppModuleExtension.
Bear in mind, I get the issue regardless of using 28+28.0.3 or 29+29.0.3
Please help!