The project i am working on was developed long time ago and was running successfully. now, I want to have access to it agan and run it to see some results.
when I try to build the project, i receive the follwoing errors and Connection_Reset" message. please help me to solve this issue
error in image
Could not find com.android.tools.build:aapt2:3.3.2-5309881.
Searched in the following locations:
- file:/D:/AndroidWorkSpace/sdk/extras/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881.pom
- file:/D:/AndroidWorkSpace/sdk/extras/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881-windows.jar
- file:/D:/AndroidWorkSpace/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881.pom
- file:/D:/AndroidWorkSpace/sdk/extras/google/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881-windows.jar
- file:/D:/AndroidWorkSpace/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881.pom
- file:/D:/AndroidWorkSpace/sdk/extras/android/m2repository/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881-windows.jar
- https://jcenter.bintray.com/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881.pom
- https://jcenter.bintray.com/com/android/tools/build/aapt2/3.3.2-5309881/aapt2-3.3.2-5309881-windows.jar
Required by:
project :app
gradle:project:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
gradle:app:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
defaultConfig {
applicationId "example.com.thninxnet_00"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation files('libs/universal-image-loader-1.9.5.jar')
}
from Building project failes and causes connection reset

No comments:
Post a Comment