Why the following error occured
Title
Question
Madam/Sir,
Why the following error occurred in my Kotlin program whereas I did the same as you did in the tutorial.
https://drive.google.com/file/d/148RNCJ0KZ-I12gJ4McO8zHeDsASPsKfK/view?usp=sharing
https://drive.google.com/file/d/1QfgviPy2HsbRGSrt1g4-Ruh0J-lpUa_O/view?usp=sharing
Android-app-using-Kotlin Getting-started-with-Hello-World-app 10-11 min 20-30 sec
Answers:
Go through this link for more information:
https://stackoverflow.com/questions/41274286/how-do-i-fix-error-duplicate-id-in-android-studio
Follow exactly each and every step as specified in the tutorial. Otherwise create a new project and repeat the steps.
If you click on the red bulb icon on the code line with the issue, Android Studio has several suggestions to resolve the error, one of them helps you to import the dependency automatically.
Refer https://metapx.org/unresolved-reference-kotlin/
Please make sure that you add the id 'kotlin-android-extensions' line on the build.gradle file that’s inside your app module.
https://drive.google.com/file/d/1M2GRCPpaaY0KhtUYJM8wYVyj3VsQi5wv/view?usp=sharing
https://drive.google.com/file/d/1wg5GKZ0_2NU13c6osZpo_O6QT-5Zlysr/view?usp=sharing
Madam, for the above two links I did my my best to do the same thing you taught on the tutorial then also I couldn't do anything. Madam, please rectify this doubt of mine why this reference error is occurring there in the program. I am struck at the same point from last 5 days. Please help me out. It's wasting a huge time. I am not saying that I should not struggle to find the answers of my doubt but here I am not getting anything at all where the problem struck also standing at a point and kicking in blind folded eye will not give the way to the solution.
You gave me the following link earlier but how to use it at this elementary level I don't know very well;-
https://metapx.org/unresolved-reference-kotlin/
I request you to please do this program once on Android studio Chipmunk version (this may be the latest version, which I have downloaded and having in my Computer) that is available on the same website where you have directed in the tutorial. Then you may realise the problem where I have been struck, very well. You may add a short video link via Google Drive which shows the practical. This may even help other students as well in future and you will not have to answer them again and again in the future for this because they will also download the same version which will be readily available on the website directed by the tutorial, like the one downloaded by me. Sorry madam for asking you to the extent of downloading another version and asking you to put the video of the process but I have been struck on the same position on an elementary level problem since last 5 days and it would be better to ask the professor for a help than kicking here and there in a blind folded vision and wasting time. If it would have been a problem which I can try but somehow my mind isn't working then I might have definitely tried atleast 10 times from my side before asking you but, if I don't know the elementary techniques then how could I move further?
Hope you will. Thank you madam.
Login to add comment
Login to add comment