Note: It's Kotlin related because of the `internal...
# android
l
Note: It's Kotlin related because of the
internal
visibility modifier. Is it intended that test classes from app/src/test/java/ can access internal classes from app/src/main/java? If yes, can someone tell me why Android Studio marks those references as unresolved? The test runs without any problems! It's a fresh android project.
Android Studio Chipmunk | 2021.2.1 Canary 5
Build #AI-212.5457.46.2112.7905983, built on November 11, 2021
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 16
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.andrey4623.rainbowcsv (2.0), Statistic (4.1.7), com.github.setial (4.0.2), CheckStyle-IDEA (5.58.0), dev.polek.adbwifi (1.2.4), krasa.CpuUsageIndicator (1.14), kotest-plugin-intellij (1.1.44-IC-2021.1), izhangzhihao.rainbow.brackets (6.21)
e
yes, it's intended. probably a KTIJ bug if it doesn't work in the IDE (although a similar setup in my project works fine)
l
@ephemient when you say it works, do you mean the build runs or Android Studio does not mark the references as unresolved or both? I'm using the latest shit so I'm wondering. Could you please copy the information from the Android Studio -> Help -> About window here, I would like to file a bug