Android all kinds of errors from Gradle and Kotlin -


what going on gradle , kotlin? haven't started coding yet, , regretting getting on android :(

gradle project

buildscript {     ext.kotlin_version = '1.1.3-2'      repositories {         jcenter()         mavencentral()         maven { url 'https://maven.google.com' }     }     dependencies {         classpath 'com.android.tools.build:gradle:2.3.3'         classpath 'com.google.gms:google-services:3.1.0'         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"         classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"     } }  allprojects {     repositories {         jcenter()         maven { url 'https://maven.google.com' }         mavencentral()     } }  task clean(type: delete) {     delete rootproject.builddir } 

gradle module

apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt'  android {     compilesdkversion 25     buildtoolsversion "25.0.0"     defaultconfig {         applicationid "com.shivaapps.liftingboard"         minsdkversion 15         targetsdkversion 25         versioncode 1         versionname "1.0"         testinstrumentationrunner "android.support.test.runner.androidjunitrunner"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     }     databinding {         enabled = true     } }  kapt {     generatestubs = true }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', {         exclude group: 'com.android.support', module: 'support-annotations'     })     compile 'com.android.support:appcompat-v7:25.3.1'     compile 'com.android.support:design:25.3.1'     compile 'com.android.support.constraint:constraint-layout:1.0.2'     compile 'io.reactivex:rxkotlin:0.21.0'     compile 'com.facebook.android:facebook-android-sdk:[4,5)'     compile 'com.google.firebase:firebase-auth:11.0.2'     compile 'com.google.firebase:firebase-database:11.0.2'     compile 'com.google.firebase:firebase-ads:11.0.2'     compile 'com.google.dagger:dagger:2.4'     kapt 'com.google.dagger:dagger-compiler:2.4'     kapt "com.android.databinding:compiler:2.3.3"     provided 'org.glassfish:javax.annotation:10.0-b28'     testcompile 'junit:junit:4.12' }  apply plugin: 'com.google.gms.google-services' repositories {     mavencentral() } 

error logs

e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u0018\u0000 \u00052\u00020\u0001:\u0001\u0005b\u0005\u00a2\u0006\u0002\u0010\u0002j\b\u0010\u0003\u001a\u00020\u0004h\u0016\u00a8\u0006\u0006"}, d2 = {"lcom/shivaapps/liftingboard/liftingboardapplication;", "landroid/app/application;", "()v", "oncreate", "", "companion", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/liftingboardcomponent.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bg\u0018\u00002\u00020\u0001j\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005h&\u00a8\u0006\u0006"}, d2 = {"lcom/shivaapps/liftingboard/liftingboardcomponent;", "", "inject", "", "application", "lcom/shivaapps/liftingboard/liftingboardapplication;", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/liftingboardapplication.java:17: error: cannot find symbol e:   e:     @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001b\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002r\u001a\u0010\u0003\u001a\u00020\u0004x\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b\u00a8\u0006\t"}, d2 = {"lcom/shivaapps/liftingboard/liftingboardapplication$companion;", "", "()v", "graph", "lcom/shivaapps/liftingboard/liftingboardcomponent;", "getgraph", "()lcom/shivaapps/liftingboard/liftingboardcomponent;", "setgraph", "(lcom/shivaapps/liftingboard/liftingboardcomponent;)v", "app_debug"}) e:            ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/liftingboardmodule.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001b\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0004j\b\u0010\u0005\u001a\u00020\u0003h\u0007j\b\u0010\u0006\u001a\u00020\u0007h\u0007r\u000e\u0010\u0002\u001a\u00020\u0003x\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\b"}, d2 = {"lcom/shivaapps/liftingboard/liftingboardmodule;", "", "application", "landroid/app/application;", "(landroid/app/application;)v", "provideapplicationcontext", "provideliftingboardservice", "lcom/shivaapps/liftingboard/services/liftingboardservice;", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/services/liftingboardservice.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\n\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\bf\u0018\u00002\u00020\u0001\u00a8\u0006\u0002"}, d2 = {"lcom/shivaapps/liftingboard/services/liftingboardservice;", "", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/models/exercise.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\u0018\u00002\u00020\u0001b\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0005r\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007r\u0011\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\b\u0010\u0007\u00a8\u0006\t"}, d2 = {"lcom/shivaapps/liftingboard/models/exercise;", "", "id", "", "name", "(ljava/lang/string;ljava/lang/string;)v", "getid", "()ljava/lang/string;", "getname", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/pages/loginactivity.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\u0018\u00002\u00020\u0001b\u0005\u00a2\u0006\u0002\u0010\u0002j\u0010\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0012h\u0002j\"\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\u00152\b\u0010\u0017\u001a\u0004\u0018\u00010\u0018h\u0014j\u0012\u0010\u0019\u001a\u00020\u00102\b\u0010\u001a\u001a\u0004\u0018\u00010\u001bh\u0014j\b\u0010\u001c\u001a\u00020\u0010h\u0014j\b\u0010\u001d\u001a\u00020\u0010h\u0002r\u001a\u0010\u0003\u001a\u00020\u0004x\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\br\u001a\u0010\t\u001a\u00020\nx\u0086.\u00a2\u0006\u000e\n\u0000\u001a\u0004\b\u000b\u0010\f\"\u0004\b\r\u0010\u000e\u00a8\u0006\u001e"}, d2 = {"lcom/shivaapps/liftingboard/pages/loginactivity;", "landroid/support/v7/app/appcompatactivity;", "()v", "callbackmanager", "lcom/facebook/callbackmanager;", "getcallbackmanager", "()lcom/facebook/callbackmanager;", "setcallbackmanager", "(lcom/facebook/callbackmanager;)v", "firebaseauth", "lcom/google/firebase/auth/firebaseauth;", "getfirebaseauth", "()lcom/google/firebase/auth/firebaseauth;", "setfirebaseauth", "(lcom/google/firebase/auth/firebaseauth;)v", "handlefacebookaccesstoken", "", "accesstoken", "lcom/facebook/accesstoken;", "onactivityresult", "requestcode", "", "resultcode", "data", "landroid/content/intent;", "oncreate", "savedinstancestate", "landroid/os/bundle;", "onstart", "performsuccessaction", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/services/databasereferenceextensionkt.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 2, d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\u001a\u0012\u0010\u0000\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00020\u0001*\u00020\u0003\u00a8\u0006\u0004"}, d2 = {"observesingleevent", "lrx/observable;", "lcom/google/firebase/database/datasnapshot;", "lcom/google/firebase/database/databasereference;", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/services/firebasedatabasethrowable.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0003\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001b\u0011\b\u0016\u0012\b\u0010\u0002\u001a\u0004\u0018\u00010\u0003\u00a2\u0006\u0002\u0010\u0004r\u0016\u0010\u0005\u001a\u0004\u0018\u00010\u00018vx\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007r\u0010\u0010\u0002\u001a\u0004\u0018\u00010\u0003x\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\b"}, d2 = {"lcom/shivaapps/liftingboard/services/firebasedatabasethrowable;", "", "databaseerror", "lcom/google/firebase/database/databaseerror;", "(lcom/google/firebase/database/databaseerror;)v", "cause", "getcause", "()ljava/lang/throwable;", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/services/firebaseliftingboardservice.java:3: error: cannot find symbol e:   e: @kotlin.metadata(mv = {1, 1, 6}, bv = {1, 0, 1}, k = 1, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0018\u00002\u00020\u0001b\u0005\u00a2\u0006\u0002\u0010\u0002\u00a8\u0006\u0003"}, d2 = {"lcom/shivaapps/liftingboard/services/firebaseliftingboardservice;", "lcom/shivaapps/liftingboard/services/liftingboardservice;", "()v", "app_debug"}) e:        ^ e:   symbol:   class metadata e:   location: package kotlin e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/liftingboardmodule.java:5: error: dagger.internal.codegen.componentprocessor unable process class because not of dependencies resolved. check compilation errors or circular dependency generated code. e:   e: public final class liftingboardmodule { e:              ^ e: /users/aryaxt/repos/liftingboard/android/liftingboard/app/build/tmp/kapt3/stubs/debug/com/shivaapps/liftingboard/liftingboardcomponent.java:6: error: dagger.internal.codegen.componentprocessor unable process interface because not of dependencies resolved. check compilation errors or circular dependency generated code. e:   e: public abstract interface liftingboardcomponent { e:                 ^ e: java.lang.illegalstateexception: failed analyze: org.jetbrains.kotlin.kapt3.diagnostic.kapterror: error while annotation processing     @ org.jetbrains.kotlin.analyzer.analysisresult.throwiferror(analysisresult.kt:57)     @ org.jetbrains.kotlin.cli.jvm.compiler.kotlintojvmbytecodecompiler.compilemodules(kotlintojvmbytecodecompiler.kt:144)     @ org.jetbrains.kotlin.cli.jvm.k2jvmcompiler.doexecute(k2jvmcompiler.kt:167)     @ org.jetbrains.kotlin.cli.jvm.k2jvmcompiler.doexecute(k2jvmcompiler.kt:55)     @ org.jetbrains.kotlin.cli.common.clicompiler.exec(clicompiler.java:182)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.execcompiler(compileserviceimpl.kt:397)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.access$execcompiler(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$compile$1$2.invoke(compileserviceimpl.kt:365)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$compile$1$2.invoke(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$docompile$2$$special$$inlined$withvalidclientorsessionproxy$lambda$1.invoke(compileserviceimpl.kt:798)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$docompile$2$$special$$inlined$withvalidclientorsessionproxy$lambda$1.invoke(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.common.dummyprofiler.withmeasure(perfutils.kt:137)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.checkedcompile(compileserviceimpl.kt:825)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.access$checkedcompile(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$docompile$2.invoke(compileserviceimpl.kt:797)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$docompile$2.invoke(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.ifalive(compileserviceimpl.kt:1004)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.ifalive$default(compileserviceimpl.kt:865)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.docompile(compileserviceimpl.kt:791)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.access$docompile(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$compile$1.invoke(compileserviceimpl.kt:364)     @ org.jetbrains.kotlin.daemon.compileserviceimpl$compile$1.invoke(compileserviceimpl.kt:99)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.ifalive(compileserviceimpl.kt:1004)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.ifalive$default(compileserviceimpl.kt:865)     @ org.jetbrains.kotlin.daemon.compileserviceimpl.compile(compileserviceimpl.kt:336)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:498)     @ sun.rmi.server.unicastserverref.dispatch(unicastserverref.java:324)     @ sun.rmi.transport.transport$1.run(transport.java:200)     @ sun.rmi.transport.transport$1.run(transport.java:197)     @ java.security.accesscontroller.doprivileged(native method)     @ sun.rmi.transport.transport.servicecall(transport.java:196)     @ sun.rmi.transport.tcp.tcptransport.handlemessages(tcptransport.java:568)     @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run0(tcptransport.java:826)     @ sun.rmi.transport.tcp.tcptransport$connectionhandler.lambda$run$0(tcptransport.java:683)     @ java.security.accesscontroller.doprivileged(native method)     @ sun.rmi.transport.tcp.tcptransport$connectionhandler.run(tcptransport.java:682)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745) caused by: org.jetbrains.kotlin.kapt3.diagnostic.kapterror: error while annotation processing     @ org.jetbrains.kotlin.kapt3.annotationprocessingkt.doannotationprocessing(annotationprocessing.kt:90)     @ org.jetbrains.kotlin.kapt3.annotationprocessingkt.doannotationprocessing$default(annotationprocessing.kt:42)     @ org.jetbrains.kotlin.kapt3.abstractkapt3extension.runannotationprocessing(kapt3extension.kt:205)     @ org.jetbrains.kotlin.kapt3.abstractkapt3extension.analysiscompleted(kapt3extension.kt:166)     @ org.jetbrains.kotlin.kapt3.classpathbasedkapt3extension.analysiscompleted(kapt3extension.kt:82)     @ org.jetbrains.kotlin.resolve.jvm.topdownanalyzerfacadeforjvm$analyzefileswithjavaintegration$2.invoke(topdownanalyzerfacadeforjvm.kt:89)     @ org.jetbrains.kotlin.resolve.jvm.topdownanalyzerfacadeforjvm.analyzefileswithjavaintegration(topdownanalyzerfacadeforjvm.kt:99)     @ org.jetbrains.kotlin.resolve.jvm.topdownanalyzerfacadeforjvm.analyzefileswithjavaintegration$default(topdownanalyzerfacadeforjvm.kt:76)     @ org.jetbrains.kotlin.cli.jvm.compiler.kotlintojvmbytecodecompiler$analyze$1.analyze(kotlintojvmbytecodecompiler.kt:365)     @ org.jetbrains.kotlin.cli.common.messages.analyzerwithcompilerreport.analyzeandreport(analyzerwithcompilerreport.kt:105)     @ org.jetbrains.kotlin.cli.jvm.compiler.kotlintojvmbytecodecompiler.analyze(kotlintojvmbytecodecompiler.kt:354)     @ org.jetbrains.kotlin.cli.jvm.compiler.kotlintojvmbytecodecompiler.compilemodules(kotlintojvmbytecodecompiler.kt:139)     ... 40 more    failed 

it looks missing kotlin standard library compile dependency.

dependencies {     compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" } 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -