我想喲做multiBuild與Android的工作室,但我發現了一個錯誤,當我添加的applicationID「***」productFlavors應用程序ID與Android註釋
在我的build.gradle我添加productFlavors
productFlavors {
music {
}
sport {
applicationId "com.trueorfalse.ouam.truefalse.sport"
versionName "1.0-free"
buildConfigField "boolean", "PAID_VERSION", "false"
}
}
我得到這個錯誤:
Error:(14, 55) error: cannot find symbol class HomeFragment_
Error:(15, 60) error: cannot find symbol class QuestionFragments_
Error:(27, 5) error: cannot find symbol class HomeFragment_
Error:(14, 55) error: cannot find symbol class HomeFragment_
Error:(15, 60) error: cannot find symbol class QuestionFragments_
Error:Execution failed for task ':app:compileSportDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
是像Android這樣的註釋也不行,爲什麼?
如果我刪除的applicationID任何幫助將不勝感激