dicodingacademy/a165-android-expert-labs

Whitespaces in project names (modularization issue)

Closed this issue · 1 comments

Im trying to follow this tutorial : https://www.dicoding.com/academies/165/tutorials/10423

There's an issue when creating a new module :
image

Which led to this issue :
image

And the problem might because the project names contains whitespaces (MySimpleLogin (starter))

when i try to create a new project and then creating new modules, there's no issue.
any solution for this?

So, after diving into trial and error,

The problem is not with the whitespace, but the newly created build.gradle itself.
i got the solution and that is :

  1. Remove the namespace (generated by gradle) in :core
    image

  2. in your newly created module ( :core ), write this down in manifest (package attr)
    image

And that's it!
Dont forget to match the version of both module dependencies! as it might broke your app again!
Happy Coding!