Tag: gradle

android studio BaseGameUtils

I’m trying to implement Google Play Game Services, and I need to have BaseGameUtils as a library in my project. Following google tutorials I could not find a way to include this in a project that I already have in android studio. Importing manually in Android Studio… How should I import BaseGameUtils in a project […]

I am not getting 'com.google.android.gms:play-services-wallet:8.4.0' update for Google play services in sdk

I have updated my Android SDK completely still I am not getting update for Google play services version 8.4.0 i.e. ‘com.google.android.gms:play-services-wallet:8.4.0′ like mentioned in the link for implementing Android Pay https://developers.google.com/android-pay/android/tutorial. Whenever I add this line : “compile ‘com.google.android.gms:play-services-wallet:8.4.0′” in build.gradle, I got following error : Failed to resolve: com.google.android.gms:play-services-wallet:8.4.0

Running AspectJ causes NoSuchMethodError: Aspect.aspectOf

I have a very simple AspectJ aspect (using @AspectJ) which just prints out a log message. My goal is to advice code in my android application. Now this aspects works perfectly fine as long as I have the aspect class itself in my applications source-code. Once I move the aspect into a different module (either […]

How to use artifactoryPublish to publish release and debug artifacts

I have Android Studio projects that build AARs or APKs in both release and debug versions. I’d like to publish these to different to different repositories on my Artifactory server. The JFrog examples don’t appear to cover this case. Does this mean that it’s considered best practice to simply build either only the release or […]

How to use libraries in AIDE

I’m not very familiar with Gradle, but from what I understand you’re supposed to be able to pull libraries straight from the internet? I’ve followed the project’s directions, but got an error Does AIDE not support remote maven repos? I confirmed that the library in question does exist on the jcenter website. I’m not sure […]

Is it mandatory to use Gradle with Android Studio?

I’m using android studio since its official release. Till now which I use Android Studio version 2.1.2, I need to wait for hours to import a project for first time and let gradle synchronize. Some people recommend to run android studio in offline mode but when I want to use external libraries I need to […]

Using AndroidAnnotations with Scala and Gradle

Is it possible to use AndroidAnnotations with the Scala programming language and the Gradle build system? When I try to integrate AndroidAnnotations into my existing Android/Scala/Gradle project, then compilation fails because the generated underscore classes (e.g. MyActivity_) cannot be found. Here are some useful starting points and references: http://www.scala-lang.org/node/4773 (2010-01-06) http://www.scala-lang.org/sid/5 (2010-01-27) http://code.google.com/p/androidannotations/wiki/Configuring (2011-07-28) http://docs.jboss.org/hibernate/validator/4.1/reference/en-US/html/ch08.html#d0e2816 […]

Unable to run project in Android Studio (libGDX)

Every time I try to run my Desktop project in Android Studio, I instantly get the following error: Error:com.android.tools.idea.gradle.util.Projects.lastGradleSyncFailed(Lcom/intellij/openapi/project/Project;)Z No gradle build happens, or any sort of syncing. Android Studio just jumps straight to this error. I have restart/invalidated caches, I have deleted my .gradle folder in both project and home locations, I have reinstalled […]

What does a gradlew do

I got a project which was a eclipse project. And now I’m using Android Studio with gradle 2.2.1. I’ve found that when I create a project with Android Studio, it will generate a gradlew file, and it may include some CLI functions. But when I transfer my project from eclipse to Android Studio, I didn’t […]

Android NoClassDefFoundError: com.google.firebase.FirebaseOptions

When i run my codes Adroid studio gives that error my gradle file like under below and Android Studio v2.2 gradle is ‘com.android.tools.build:gradle:2.2.0-alpha1′ apply plugin: ‘com.android.application’ android { compileSdkVersion 23 buildToolsVersion “23.0.2” packagingOptions { exclude ‘META-INF/DEPENDENCIES’ } defaultConfig { applicationId “com.asd.asd” minSdkVersion 14 targetSdkVersion 23 versionCode 9 versionName “1.3.4” multiDexEnabled true } buildTypes { release […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.