Мой проект довольно старый, и теперь мне нужно сделать настройку на него. Я установил Android Studio и пытаюсь загрузить проект. У меня есть ниже проблемы < /p>
Could not create task ':app:processDebugResources'.
Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
< /code>
build.gradle(app)
apply plugin: 'com.android.application'
android {
compileSdkVersion 33
buildToolsVersion '33.0.0'
compileOptions.encoding = 'UTF-8'
defaultConfig {
applicationId "com.mobilesalesperson.controller"
minSdkVersion 15
targetSdkVersion 33
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
lintOptions {
disable "ResourceType"
checkReleaseBuilds false
abortOnError false
ignoreWarnings true
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:8.1.0"
}
}
}
dependencies {
implementation 'com.android.support:support-v4:28.0.0'
implementation files('libs/core.jar')
implementation files('libs/ksoap2-android-assembly-2.6.2-jar-with-dependencies.jar')
implementation files('libs/sqljdbc4.jar')
implementation files('libs/ZSDK_API.jar')
implementation 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation files('libs/itextg-5.5.8.jar')
implementation 'com.android.support:support-annotations:28.0.0'
}
< /code>
build.gradle(project)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
< /code>
gradle-wrapper.properties
#Thu Jan 23 11:41:56 IST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
< /code>
локальные свойства < /p>
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Thu Jan 23 11:41:35 IST 2025
ndk.dir=C\:\\Android\\android-sdk\\ndk-bundle
sdk.dir=C\:\\Users\\sivabala\\AppData\\Local\\Android\\Sdk
Подробнее здесь: https://stackoverflow.com/questions/793 ... gresources
Невозможно запустить проект. «Не могу создать задачу»: приложение: ProcessDebugresources '» ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Не удалось выполнить задачу «:app:processDebugResources». не удалось выполнить aapt
Anonymous » » в форуме Android - 0 Ответы
- 16 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Обнаружена проблема с настройкой задачи «:app:processDebugResources».
Anonymous » » в форуме Android - 0 Ответы
- 7 Просмотры
-
Последнее сообщение Anonymous
-