how to fix gradlew not found
I’m running a android project on docker container with this jdk version openjdk:17-jdk-slim
The android project is working with gradle version 8.5.
When I tried to build the application using ./gradlew assembleDebug
command I have got this issue
./gradlew assembleDebug bash: ./gradlew: /bin/sh^M: bad interpreter: No such file or directory
When I tried to use those two solutions
1st solution : using this command first : RUN sed -i 's/r$//' ./gradlew
2nd solution : using those commands :
Publish own private Android library to own gitlab
I’m working with this tutorial for making internal library for own purposes. I created module, added publishing .gradle
file:
Exposing a gradle task in an android AAR
I have an android library distributed as an AAR via maven. For my library to work the app needs to download a file and store it into its assets folder. I have created a task in my library’s build.gradle
file that does this.
I have tried to update my AGP to latest version and after that I can not build my project :(
Could not create task ‘:app:processDebugResources’. Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method. Could not create task ‘:app:processDebugResources’. Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method. * Try: > Run with –info or […]