Could not find com.android.tools.build:aapt2:3.2.1-4818971. After updating Android studio 3.2.1
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
enter image description hereAfter updating android studion 3.2.1 iam getting this error . Actually StreamLib Module is using for supportive module there is no buildscript, allmodules blocks please check the StreamLib.gridle
Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
Required by:
project :StreamingLib
this is the StreamingLib Gridle file :
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
// android.enableAapt2=false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs 'src/main/libs'
jni.srcDirs =
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/aapt2-3.2.1-4818971-windows.jar')
}
the above StreamingLib using for supportive library for my app
please help me ?
this is main level graidle file
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
apply plugin: 'com.android.application'
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.google.android.gms:play-services-gcm:10.2.6'
implementation 'org.sufficientlysecure:openpgp-api:10.0'
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
implementation 'com.android.support:support-v13:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.52'
implementation 'org.bouncycastle:bcmail-jdk15on:1.52'
implementation 'org.jitsi:org.otr4j:0.22'
implementation 'org.gnu.inet:libidn:1.15'
implementation 'com.google.zxing:core:3.2.1'
implementation 'com.google.zxing:android-integration:3.2.1'
implementation 'de.measite.minidns:minidns-hla:0.2.1'
implementation 'de.timroes.android:EnhancedListView:0.3.4'
implementation 'me.leolin:ShortcutBadger:1.1.12@aar'
implementation 'com.kyleduo.switchbutton:library:1.2.8'
implementation 'org.whispersystems:signal-protocol-java:2.5.3'
implementation 'com.wefika:flowlayout:0.4.1'
implementation 'net.ypresto.androidtranscoder:android-transcoder:0.2.0'
implementation 'com.mcxiaoke.volley:library-aar:1.0.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:6.2'
implementation project(':StreamingLib')
}
ext {
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
}
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "2.0"
archivesBaseName += "-$versionName"
applicationId "com.abc"
multiDexEnabled true
//
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
if (project.hasProperty('mStoreFile') &&
project.hasProperty('mStorePassword') &&
project.hasProperty('mKeyAlias') &&
project.hasProperty('mKeyPassword')) {
signingConfigs {
release {
storeFile file(mStoreFile)
storePassword mStorePassword
keyAlias mKeyAlias
keyPassword mKeyPassword
}
}
buildTypes.release.signingConfig = signingConfigs.release
} else {
buildTypes.release.signingConfig = null
}
lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource'
}
subprojects {
afterEvaluate {
if (getPlugins().hasPlugin('android') ||
getPlugins().hasPlugin('android-library')) {
configure(android.lintOptions) {
disable 'AndroidGradlePluginVersion', 'MissingTranslation'
}
}
}
}
packagingOptions {
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/BCKEY.SF'
}
}
android android-studio
|
show 5 more comments
enter image description hereAfter updating android studion 3.2.1 iam getting this error . Actually StreamLib Module is using for supportive module there is no buildscript, allmodules blocks please check the StreamLib.gridle
Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
Required by:
project :StreamingLib
this is the StreamingLib Gridle file :
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
// android.enableAapt2=false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs 'src/main/libs'
jni.srcDirs =
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/aapt2-3.2.1-4818971-windows.jar')
}
the above StreamingLib using for supportive library for my app
please help me ?
this is main level graidle file
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
apply plugin: 'com.android.application'
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.google.android.gms:play-services-gcm:10.2.6'
implementation 'org.sufficientlysecure:openpgp-api:10.0'
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
implementation 'com.android.support:support-v13:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.52'
implementation 'org.bouncycastle:bcmail-jdk15on:1.52'
implementation 'org.jitsi:org.otr4j:0.22'
implementation 'org.gnu.inet:libidn:1.15'
implementation 'com.google.zxing:core:3.2.1'
implementation 'com.google.zxing:android-integration:3.2.1'
implementation 'de.measite.minidns:minidns-hla:0.2.1'
implementation 'de.timroes.android:EnhancedListView:0.3.4'
implementation 'me.leolin:ShortcutBadger:1.1.12@aar'
implementation 'com.kyleduo.switchbutton:library:1.2.8'
implementation 'org.whispersystems:signal-protocol-java:2.5.3'
implementation 'com.wefika:flowlayout:0.4.1'
implementation 'net.ypresto.androidtranscoder:android-transcoder:0.2.0'
implementation 'com.mcxiaoke.volley:library-aar:1.0.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:6.2'
implementation project(':StreamingLib')
}
ext {
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
}
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "2.0"
archivesBaseName += "-$versionName"
applicationId "com.abc"
multiDexEnabled true
//
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
if (project.hasProperty('mStoreFile') &&
project.hasProperty('mStorePassword') &&
project.hasProperty('mKeyAlias') &&
project.hasProperty('mKeyPassword')) {
signingConfigs {
release {
storeFile file(mStoreFile)
storePassword mStorePassword
keyAlias mKeyAlias
keyPassword mKeyPassword
}
}
buildTypes.release.signingConfig = signingConfigs.release
} else {
buildTypes.release.signingConfig = null
}
lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource'
}
subprojects {
afterEvaluate {
if (getPlugins().hasPlugin('android') ||
getPlugins().hasPlugin('android-library')) {
configure(android.lintOptions) {
disable 'AndroidGradlePluginVersion', 'MissingTranslation'
}
}
}
}
packagingOptions {
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/BCKEY.SF'
}
}
android android-studio
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
Why are you adding the dependency manually? The lineimplementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...
– MatPag
Nov 16 '18 at 11:47
1
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
1
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completesallprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06
|
show 5 more comments
enter image description hereAfter updating android studion 3.2.1 iam getting this error . Actually StreamLib Module is using for supportive module there is no buildscript, allmodules blocks please check the StreamLib.gridle
Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
Required by:
project :StreamingLib
this is the StreamingLib Gridle file :
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
// android.enableAapt2=false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs 'src/main/libs'
jni.srcDirs =
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/aapt2-3.2.1-4818971-windows.jar')
}
the above StreamingLib using for supportive library for my app
please help me ?
this is main level graidle file
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
apply plugin: 'com.android.application'
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.google.android.gms:play-services-gcm:10.2.6'
implementation 'org.sufficientlysecure:openpgp-api:10.0'
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
implementation 'com.android.support:support-v13:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.52'
implementation 'org.bouncycastle:bcmail-jdk15on:1.52'
implementation 'org.jitsi:org.otr4j:0.22'
implementation 'org.gnu.inet:libidn:1.15'
implementation 'com.google.zxing:core:3.2.1'
implementation 'com.google.zxing:android-integration:3.2.1'
implementation 'de.measite.minidns:minidns-hla:0.2.1'
implementation 'de.timroes.android:EnhancedListView:0.3.4'
implementation 'me.leolin:ShortcutBadger:1.1.12@aar'
implementation 'com.kyleduo.switchbutton:library:1.2.8'
implementation 'org.whispersystems:signal-protocol-java:2.5.3'
implementation 'com.wefika:flowlayout:0.4.1'
implementation 'net.ypresto.androidtranscoder:android-transcoder:0.2.0'
implementation 'com.mcxiaoke.volley:library-aar:1.0.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:6.2'
implementation project(':StreamingLib')
}
ext {
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
}
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "2.0"
archivesBaseName += "-$versionName"
applicationId "com.abc"
multiDexEnabled true
//
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
if (project.hasProperty('mStoreFile') &&
project.hasProperty('mStorePassword') &&
project.hasProperty('mKeyAlias') &&
project.hasProperty('mKeyPassword')) {
signingConfigs {
release {
storeFile file(mStoreFile)
storePassword mStorePassword
keyAlias mKeyAlias
keyPassword mKeyPassword
}
}
buildTypes.release.signingConfig = signingConfigs.release
} else {
buildTypes.release.signingConfig = null
}
lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource'
}
subprojects {
afterEvaluate {
if (getPlugins().hasPlugin('android') ||
getPlugins().hasPlugin('android-library')) {
configure(android.lintOptions) {
disable 'AndroidGradlePluginVersion', 'MissingTranslation'
}
}
}
}
packagingOptions {
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/BCKEY.SF'
}
}
android android-studio
enter image description hereAfter updating android studion 3.2.1 iam getting this error . Actually StreamLib Module is using for supportive module there is no buildscript, allmodules blocks please check the StreamLib.gridle
Could not find com.android.tools.build:aapt2:3.2.1-4818971.
Searched in the following locations:
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971.pom
file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.2.1-4818971/aapt2-3.2.1-4818971-osx.jar
Required by:
project :StreamingLib
this is the StreamingLib Gridle file :
apply plugin: 'com.android.library'
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 1
versionName "1.0"
// android.enableAapt2=false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs 'src/main/libs'
jni.srcDirs =
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/aapt2-3.2.1-4818971-windows.jar')
}
the above StreamingLib using for supportive library for my app
please help me ?
this is main level graidle file
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
apply plugin: 'com.android.application'
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.google.android.gms:play-services-gcm:10.2.6'
implementation 'org.sufficientlysecure:openpgp-api:10.0'
implementation 'com.soundcloud.android:android-crop:1.0.1@aar'
implementation 'com.android.support:support-v13:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'org.bouncycastle:bcprov-jdk15on:1.52'
implementation 'org.bouncycastle:bcmail-jdk15on:1.52'
implementation 'org.jitsi:org.otr4j:0.22'
implementation 'org.gnu.inet:libidn:1.15'
implementation 'com.google.zxing:core:3.2.1'
implementation 'com.google.zxing:android-integration:3.2.1'
implementation 'de.measite.minidns:minidns-hla:0.2.1'
implementation 'de.timroes.android:EnhancedListView:0.3.4'
implementation 'me.leolin:ShortcutBadger:1.1.12@aar'
implementation 'com.kyleduo.switchbutton:library:1.2.8'
implementation 'org.whispersystems:signal-protocol-java:2.5.3'
implementation 'com.wefika:flowlayout:0.4.1'
implementation 'net.ypresto.androidtranscoder:android-transcoder:0.2.0'
implementation 'com.mcxiaoke.volley:library-aar:1.0.0'
implementation 'com.googlecode.libphonenumber:libphonenumber:6.2'
implementation project(':StreamingLib')
}
ext {
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true".equals(System.getProperty("pre-dex", "true"))
}
android {
compileSdkVersion 26
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "2.0"
archivesBaseName += "-$versionName"
applicationId "com.abc"
multiDexEnabled true
//
}
dexOptions {
// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
javaMaxHeapSize "4g"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
if (project.hasProperty('mStoreFile') &&
project.hasProperty('mStorePassword') &&
project.hasProperty('mKeyAlias') &&
project.hasProperty('mKeyPassword')) {
signingConfigs {
release {
storeFile file(mStoreFile)
storePassword mStorePassword
keyAlias mKeyAlias
keyPassword mKeyPassword
}
}
buildTypes.release.signingConfig = signingConfigs.release
} else {
buildTypes.release.signingConfig = null
}
lintOptions {
disable 'ExtraTranslation', 'MissingTranslation', 'InvalidPackage', 'MissingQuantity', 'AppCompatResource'
}
subprojects {
afterEvaluate {
if (getPlugins().hasPlugin('android') ||
getPlugins().hasPlugin('android-library')) {
configure(android.lintOptions) {
disable 'AndroidGradlePluginVersion', 'MissingTranslation'
}
}
}
}
packagingOptions {
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/BCKEY.SF'
}
}
android android-studio
android android-studio
edited Nov 16 '18 at 12:01
Nitya_Bhoomesh
asked Nov 16 '18 at 11:20
Nitya_BhoomeshNitya_Bhoomesh
157
157
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
Why are you adding the dependency manually? The lineimplementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...
– MatPag
Nov 16 '18 at 11:47
1
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
1
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completesallprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06
|
show 5 more comments
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
Why are you adding the dependency manually? The lineimplementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...
– MatPag
Nov 16 '18 at 11:47
1
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
1
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completesallprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
Why are you adding the dependency manually? The line
implementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...– MatPag
Nov 16 '18 at 11:47
Why are you adding the dependency manually? The line
implementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...– MatPag
Nov 16 '18 at 11:47
1
1
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
1
1
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completes
allprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completes
allprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06
|
show 5 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336847%2fcould-not-find-com-android-tools-buildaapt23-2-1-4818971-after-updating-andro%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336847%2fcould-not-find-com-android-tools-buildaapt23-2-1-4818971-after-updating-andro%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
have you added google() to project level build.
– Karan Mer
Nov 16 '18 at 11:46
Why are you adding the dependency manually? The line
implementation fileTree(include: ['*.jar'], dir: 'libs')
should already add it to the dependency list because it's in the libs folder and it's a jar...– MatPag
Nov 16 '18 at 11:47
1
Possible duplicate of Build errors after Android Studio 3.2.1 upgrade
– Nagendra Hari Karthick
Nov 16 '18 at 11:47
@KaranMer Yes i added google() to project level build
– Nitya_Bhoomesh
Nov 16 '18 at 11:49
1
@Nitya_Bhoomesh: add this to your project level gradle after your buildscript completes
allprojects { repositories { jcenter() google() } }
– Karan Mer
Nov 16 '18 at 12:06