Issue I’m currently in the process of migrating my groovy gradle files to kotlin. I have jacoco and sonarcloud integrated into my application. I have separate groovy gradle files for jacoco and sonar config and apply them to my build.gradle(:app)
Continue readingTag: gradle
How to compile forked library in Gradle?
Issue I want to compile the following library in my project in build.gradle: https://github.com/theDazzler/Android-Bootstrap It is forked from https://github.com/Bearded-Hen/Android-Bootstrap, but no documentation in the repository explains how to include in in project. I tried something like this: compile ‘com.theDazzler:androidbootstrap:+’ but
Continue readingCreate new project in Android studio, immediately get "unable to find gradle tasks to build"
Issue I do the following: Open Android studio (Flamingo, 2022.2.1 Patch 2), Click on "New Project," Select "Basic Views Activity" and click "Next," Name the project, select Java as the language, and API 30, then click Finish, After it loads,
Continue readingIn Gradle, automatically create dependency for my task
Issue In Gradle, there is a built in task called JavaWithJavac. I wrote my own task ScalaWithScalac, which also outputs in the same directory with output of JavaWithJavac. ScalaWithScalac depends on the task JavaWithJavac. In my project, I need to
Continue readingNativeScript duplicate kotlin class on `ns run android`
Issue I’ve been working on an application that I got from a leaving colleague and I am new to NativeScript. When trying to run an app on an Android emulator using the ns run android command I get the following
Continue readingIn iOS do we have something like Gradle Build Flavors on Android
Issue In iOS do we have something like Gradle Build Flavors on Android. Basically I want to integrate Applause SDK with my app but I dont want that code to be part of the release build. I only want to
Continue readingGetting latest tag from git (on all branches) in gradle
Issue I’m trying to get the latest tag from git (from all branches) for versioning. I use the following: def sout = new StringBuilder(), serr = new StringBuilder() def proc = ‘git describe –tags $(git rev-list, –tags –max-count=1)’.execute() proc.consumeProcessOutput(sout, serr)
Continue readingAndroid Studio Gradle Error Error:Cause: net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid()I
Issue I am using android studio and after my most recent launch of the IDE i get a gradle error when I try to run the project. This is the error. Error:Cause: net.rubygrapefruit.platform.internal.jni.PosixProcessFunctions.getPid()I I have made no changes from my
Continue readingusing google signing in resulting the exception PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
Issue I a trying to add a sign in with google button but it still now working, actually it is not returning from the line await googleSignIn.signIn(); resulting exception E/flutter (12458): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)
Continue readingHow to fix : [options] source value 8 is obsolete and will be removed in a future release and MainActivity.java uses or overrides a deprecated API
Issue I’m developing an application that maps some areas with up to 1.5km, when I compile the code it presents errors about source value 8 is obsolete and will be removed in a future release, To suppress warnings about obsolete
Continue reading