Comments (6)
v33.0.3 of the build tools was removed from the Google components repository for some reason. You can upgrade (or downgrade) your build tools version to fix the error. You can also remove the buildToolsVersion
from your module level build script to let Android Gradle Plugin automatically determine the build tools.
from androidide.
there is no buildToolsVersion in the script but it end up specifiying the buildToolsVersion to the latest version. Thanks, keep improving the app🎉🎉
from androidide.
So where and how to add the configuration? Can you specify it?
from androidide.
So where and how to add the configuration? Can you specify it?
You can specify the buildToolsVersion
in your module-level build.gradle
or build.gradle.kts
file. It is usually the app/build.gradle[.kts]
file.
In that module-level build script, you can specify the buildToolsVersion like the following :
android {
...
buildToolsVersion("34.0.0")
}
from androidide.
There's a new error message:
Execution failed for task ':app:processDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform core-1.8.0.aar (androidx.core:core:1.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for AarResourcesCompilerTransform: /data/data/com.itsaky.androidide/files/home/.gradle/caches/transforms-3/ef7e1b98507d7d4bda90d03defcba420/transformed/core-1.8.0.
> AAPT2 .androidide Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> Failed to transform core-1.8.0.aar (androidx.core:core:1.8.0) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.status=release}.
> Execution failed for AarResourcesCompilerTransform: /data/data/com.itsaky.androidide/files/home/.gradle/caches/transforms-3/ef7e1b98507d7d4bda90d03defcba420/transformed/core-1.8.0.
> AAPT2 .androidide Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
from androidide.
Check the build variant of AndroidIDE you're using. If your device's CPU architecture is arm64-v8a
, you should only use arm64-v8a
variant of the IDE.
If that's not the case, you can use the terminal to delete the aapt2
file located at $HOME/.androidide/aapt2
, then restart AndroidIDE and check again. The IDE should automatically extract the appropriate aapt2
binary for you.
If this still doesn't solve the error, you can manually download and replace the aapt2
binary from the platform-tools repository.
from androidide.
Related Issues (20)
- [Bug]: Installation loop HOT 4
- [Feature]: please add support for proper code completion in XML
- [Feature]: add a button to refresh file tree and also a button for creating folders and files HOT 4
- [Bug]: gradle-plugin SNAPSHOT version not yet published HOT 5
- [Bug]: Crash when closing project HOT 2
- Settings/Code Editor/Color Scheme HOT 3
- [Bug]: template for NoAndroidX is wrong
- [Bug]: Keyboard Soft keys are inconsistent
- [Bug]: crashes when pressing another delete key
- [Bug]: colors.xml files are empty HOT 1
- [Bug]: Crashed while compilation
- [Bug]: Newer version still hates comma in parenthesis of method call Java HOT 2
- [Feature]: Add Android Gradle plugin Upgrade Assistant
- [Feature]: feature for collapsing code blocks HOT 3
- Port JDK 21's Java Compiler for Android HOT 1
- Never stop loading HOT 2
- [Bug]: Crash when cloning git repo HOT 1
- Bug HOT 3
- Logsender bug HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidide.