Gradle task taking over 4 minutes (for 20-second test suite)
This question was migrated from Android Enthusiasts Stack Exchange because it can be answered on Stack Overflow. Migrated 27 mins ago. When launching my test suite from the command line: ./gradlew “connectedDebugAndroidTest” there is a task that is taking more than 4 minutes, even if no changes have been made: > :app:processDebugAndroidTestManifest > Resolve dependencies […]
Gradle task taking over 4 minutes (for 20-second test suite)
This question was migrated from Android Enthusiasts Stack Exchange because it can be answered on Stack Overflow. Migrated 27 mins ago. When launching my test suite from the command line: ./gradlew “connectedDebugAndroidTest” there is a task that is taking more than 4 minutes, even if no changes have been made: > :app:processDebugAndroidTestManifest > Resolve dependencies […]
Gradle task taking over 4 minutes (for 20-second test suite)
This question was migrated from Android Enthusiasts Stack Exchange because it can be answered on Stack Overflow. Migrated 27 mins ago. When launching my test suite from the command line: ./gradlew “connectedDebugAndroidTest” there is a task that is taking more than 4 minutes, even if no changes have been made: > :app:processDebugAndroidTestManifest > Resolve dependencies […]
I can’t connect the library from github
Failed to resolve: com.jcodecraeer:xrecyclerview:1.6.0 Failed to resolve: com.github.smarteist:autoimageslider:1.1.1 Failed to resolve: com.android.volley:volley:1.1.1 Failed to resolve: com.pierfrancescosoffritti.androidyoutubeplayer:core:8.0.1 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-java:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8 My build.gradle(app) file apply plugin: ‘com.android.application’ android { compileSdkVersion 34 namespace “com.androworld.player.video_player” defaultConfig { applicationId […]
I can’t connect the library from github
Failed to resolve: com.jcodecraeer:xrecyclerview:1.6.0 Failed to resolve: com.github.smarteist:autoimageslider:1.1.1 Failed to resolve: com.android.volley:volley:1.1.1 Failed to resolve: com.pierfrancescosoffritti.androidyoutubeplayer:core:8.0.1 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-java:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8 My build.gradle(app) file apply plugin: ‘com.android.application’ android { compileSdkVersion 34 namespace “com.androworld.player.video_player” defaultConfig { applicationId […]
Why doesn’t Android Studio recognize some of my resources when source sets are nested
I was getting gradle warning that resources should not be needed so I reorganized files and source sets to comply, but when I try to run without the app/res folder I get errors.
I can’t connect the library from github
Failed to resolve: com.jcodecraeer:xrecyclerview:1.6.0 Failed to resolve: com.github.smarteist:autoimageslider:1.1.1 Failed to resolve: com.android.volley:volley:1.1.1 Failed to resolve: com.pierfrancescosoffritti.androidyoutubeplayer:core:8.0.1 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-java:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-armv5:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86:0.8.8 Failed to resolve: tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8 My build.gradle(app) file apply plugin: ‘com.android.application’ android { compileSdkVersion 34 namespace “com.androworld.player.video_player” defaultConfig { applicationId […]
Set contants different for Production and Development
When we create apk file or run app, we have to check if the app url is set to production or development server.
Set contants different for Production and Development
When we create apk file or run app, we have to check if the app url is set to production or development server.
Android build-logic Plugins with conditional configuration. How to pass data to custom convention plugin
The bounty expires in 6 days. Answers to this question are eligible for a +50 reputation bounty. RichardMillhouse wants to draw more attention to this question. My current Android application employs build-logic to define standard plugins the Room plugin resembles this:- class AndroidRoomConventionPlugin : Plugin<Project> { override fun apply(target: Project) { with(target) { pluginManager.apply(“androidx.room”) pluginManager.apply(“com.google.devtools.ksp”) […]