google-developer-training / kotlin-bootcamp

Report issues with the Kotlin Bootcamp for Programmers codelab
7 stars 2 forks source link

Kotlin Bootcamp issue: Recommended package name has conflict with existing package #78

Open SamClose opened 4 years ago

SamClose commented 4 years ago

Describe the problem Following along with the whole guide results in the message "A package with name 'example' already exists" in Section 6 Part 2

In which step of the codelab can this issue be found? Section 6 Part 2 Step 1 https://codelabs.developers.google.com/codelabs/kotlin-bootcamp-sams/#1

Steps to reproduce?

  1. Follow along with the Kotling Bootcamp for Programmers, completing all steps in IDEA -NOTE: The relevant part of this is to create a package named example.myapp
  2. Upon reaching https://codelabs.developers.google.com/codelabs/kotlin-bootcamp-sams/#1 step 1, attempt to create a new package named example.
    Result: IDEA displays the message A package with name 'example' already exists highlighted in red and prevents the user from moving forward with that name.

Versions IntelliJ IDEA 2020.2.1 (Community Edition) Build #IC-202.6948.69, built on August 24, 2020 Runtime version: 11.0.8+10-b944.31 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8

Additional information A workaround is simple enough by giving the package a different name, but it would be nice to suggest an alternative to example so that in the future users don't run into this minor roadblock

codelab: kotlin-bootcamp