Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't even build the branch 101 starter or complete #64

Open
HishamKsa opened this issue Oct 15, 2020 · 6 comments
Open

Can't even build the branch 101 starter or complete #64

HishamKsa opened this issue Oct 15, 2020 · 6 comments

Comments

@HishamKsa
Copy link

I cloned the repo and open it and have only option to make the module,but when i do it shows success but no option to run the code ,neither does it show my connected device.
I can't build or run the code, what step am i missing?

I tried moving manifest file to top level but that didn't work.
I tried to delete java folder since i thought it's the same app written in java, but that didn't work either.

@HishamKsa
Copy link
Author

can someone tell me how to build & run this after cloning , with 4.1 version of android studio

@HishamKsa
Copy link
Author

WhatsApp Image 2020-10-21 at 7 09 41 PM

i tried importing by right clicking on build.gradle file in kotlin shrine folder but it didn't work

@HishamKsa
Copy link
Author

bandicam 2020-10-21 19-28-55-714

so this error occurred when I tried to import from inner most build.gradle file

@HishamKsa
Copy link
Author

bandicam 2020-10-21 19-33-46-044
bandicam 2020-10-21 19-35-21-976

now i build from the shown build.gradle file but not it says success but nothing appears on mobile screen

@HishamKsa
Copy link
Author

bandicam 2020-10-21 19-47-15-737

now here's my solution to this mess, i have downloaded this file material-components-android-codelabs-101-starter.zip and extracted out kotlin folder and opened that in android studio , it had one issue that androidX needs to be enabled in gradle.properties file so i did it now the app is running , if anyone else has more insight on what i am missing please let me know , i would really appreciate it .

@t-kristiansen
Copy link

When you open the project, after cloning it from github, don't open the root folder. Navigate down to either 'kotlin' or 'java', then select 'shrine' with the green android icon, and then press OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants