Hello, everyone please I am having an issue I have the latest android studio installed I am using a Tecno mobile phone and oreo 8.1 andrid version. I can see my device in the android studio but How do I run it to be able to use it on my physical android device I have searched and I am stuck I really don’t know what to do next. Please guys I would like if someone can help me with steps. android development is new to me so i really need help. In the course just code walk through no way to tell us how to run it for new developers and what we need.
hello @Deepti_Prasad I paired anytime i try to build it throws an error
Unable to load class ‘org.gradle.initialization.BuildCompletionListener’ org.gradle.initialization.BuildCompletionListener Gradle’s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart) Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
So I don’t know why I have tried everything possible. Since we are new to this i suggest we check versions of the android studio that was used. and the dependencies and also if we can like get what needs to be changed to make it. for example I am using the latest android studio iguana. Secondly, if you can work me through the steps to make it work on my device. because when i used a demo project I was able to run the hello android on my phon but the projects are not even building. So please I need help. there’s a sense of fufilment when you get things to work and see your progress and everyone needs to understand how it works and what to do from there we can keep learning.
because your Gradle is corrupted you are not able to pair
This is what I found on stack overflow as suggestion for the issue encountered by you.
The gradle is corrupt,delete your gradle. On Intellj go to Settings; Build, Execution, Deployment then Gradle and change to a local gradle distribution and download the dependencies.
On GitHub, i found the below
See another thread on stack overflow, which might help you
basically you need to delete the cache from your systems, re-download the dependencies.
@Jamal022 hey busy buddy, kindly chip in here, learner is having issue, in case my linked response don’t help him, please guide him further.
Thank you @Deepti_Prasad everything was tried but no luck yet. please if any of the mentor can try to download the android studio iguana and the assignment so they can also see issues because I am noticing they are many things to change. For a beginner in android development the errors are many and no much help online as each case is unique.