AndroidDevMetrics
AndroidDevMetrics copied to clipboard
Cannot resolve symbol AndroidDevMetrics
Even though I'm able to sync dependencies without errors, android studio still can't find the AndroidDevMetrics.class I tried a clean build and even invalidated my cache and restarted AS, no luck. Here's how I set up AndroidDevMetrics:
build.gradle (module)
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
apply plugin: 'realm-android'
apply plugin: 'com.frogermcs.androiddevmetrics'
android {
compileSdkVersion 24
buildToolsVersion "24.0.2"
defaultConfig {
build.gradle (project)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath "io.realm:realm-gradle-plugin:1.2.0"
classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.frogermcs.androiddevmetrics:androiddevmetrics-plugin:0.4'
Any clue what might be going on?
I think the reason is your build variant. It doesn't work on custom build configs. Try to use debug build variant.
If i use custom build type ,it don’t work.Please tell me why?