hello mam , i am new to android and working on 4.0 and recently one error occur while working on java class FAILURE: Build failed with an exception. * Where: Initialization script 'C:\Users\KARTIK~1\AppData\Local\Temp\HelloWorld_main__1.gradle' line: 21 * What went wrong: A problem occurred configuring project ':app'. > Could not create task ':app:HelloWorld.main()'. > SourceSet with name 'main' not found.
You can try the ways mentioned in video or check below links - stackoverflow.com/questions/57734823/android-studio-refuses-to-run-main developer.android.com/studio/build#build-process
Problem solved. Thank you so much and god bless you. 🤝🤝
Your most welcome 🙂
Realy , Thanks for that
Glad I could help :)
Keep supporting Miss TecHack 👍
I am always facing Android resources linking failed, can you help out.
Ping me your error with screenshot on my instagram handle @misstechack. I will look into it. :)
I had this. It is because an xml code wasnt properly written. For me, it worked fine after i used a color reference instead of a #colorcode
Thanks for sharing!!
Maam please help me ...gradle build nahi hora apk ke liye usme ' '
Hey!! What error are you getting exactly? Mention your exact error. Have you checked and tried the solutions mentioned in video and in comments?
@@misstechack sir please give me your insta id..
Dm on @misstechack
@@misstechack apko msg bhejdiya
insta pr
@@misstechack sir please check the error-pic in your insta account.
Mam can you please give solution for same error in flutter with vscode
Share your error on @misstechack on insta or fb.. I will check.
hello mam , i am new to android and working on 4.0 and recently one error occur while working on java class
FAILURE: Build failed with an exception.
* Where:
Initialization script 'C:\Users\KARTIK~1\AppData\Local\Temp\HelloWorld_main__1.gradle' line: 21
* What went wrong:
A problem occurred configuring project ':app'.
> Could not create task ':app:HelloWorld.main()'.
> SourceSet with name 'main' not found.
You can try the ways mentioned in video or check below links -
stackoverflow.com/questions/57734823/android-studio-refuses-to-run-main
developer.android.com/studio/build#build-process
@@misstechack i found an article about it by adding a line of code in .idea/gradle.xml
juejin.im/post/5e65c19fe51d4527053196a0
Glad you were able to find the solution and fix it. 👍😊
@@misstechack thx👍😄
Very bad
Sorry to hear it didn't help. Let me know if you are facing any specific error, I can come up with some solutions.