amanjeetsingh150 / kotlin-android-examples

:muscle: [Examples] Isolated applications purely on Kotlin, for all android devs out there
1.06k stars 288 forks source link

Some error in project #4

Closed taufik1993 closed 6 years ago

taufik1993 commented 6 years ago

I have download project as it is. But one class not found in your project that the reason i am not able to run this project.

Question 1. This class not found:- import com.developers.mvvmsample.di.components.DaggerActivityComponent

Question 2. I am getting error compile time

Folder D:\AndroidProjects\CompanyProjects\Msmadhan\Kotlin\v1_Test\app\build\generated\source\kaptKotlin\debug Folder D:\AndroidProjects\CompanyProjects\Msmadhan\Kotlin\v1_Test\app\build\generated\source\kaptKotlin\release 3rd-party Gradle plug-ins may be the cause

I have already seen below url but solution not working:- https://stackoverflow.com/questions/49518223/3rd-party-gradle-plug-ins-may-be-the-cause

If i am wrong then suggest me what should i do.

amanjeetsingh150 commented 6 years ago

Hey @taufik1993 , This component is automatically generated by Dagger you should try clean and make project from Android Studio and try that if it gets generated properly. Do tell me if it still not runs :+1:

taufik1993 commented 6 years ago

Hey @amanjeetsingh150, thanks for rply, i have seen same error after clean project and rebuild again. this is not solve my error untitled

radityagumay commented 6 years ago

@taufik1993 try to using command line if from IDE didn't works.

./gradlew clean :app:assembleDebug

taufik1993 commented 6 years ago

Awesome, @radityagumay thanks

amanjeetsingh1mg commented 6 years ago

Hey @radityagumay Thanks for the help. Hope that solution worked @taufik1993 . Feel free to reopen the issue if it not works.

Thanks 👍