如题所述
代ç å·¥ç¨éé¢æä¸åªæ件é½æ¯æ¶åå°å个profileçå®çï¼åå«æ¯ï¼featureoption.javaãcommon/ProjectConfig.mkãproduct/ProjectConfig.mk.
å®ä»¬ä¹é´æ¯ä»ä¹å ³ç³»å¢ï¼å¦ä½æ¥çå½åå·¥ç¨åªäºprofileæ¯æå¼çï¼
[SOLUTION]
common/ProjectConfig.mkåproduct/ProjectConfig.mkï¼æ¯ç¨æ¥æ§å¶profile å®çæå¼åå ³éçï¼å¨ç¼è¯æ¶ï¼ç³»ç»ä¼å æ¥çproduct/ProjectConfig.mkçå®ç¶æï¼å¹¶è®¾ä¸ºè¯¥å¤å®ä¹çå®ç¶æï¼è¥æ¤æ件没æ该å®ï¼åå»æ¥æ¾common/ProjectConfig.mkãç¼è¯ä¹åçç»æå°åå¨featureoption.javaä¸ã
举ä¾è¯´æmt6589 productä¸MTK_BT_PROFILE_PRXMï¼
è¥å¨alps\mediatek\config\mt6589ä¸ï¼MTK_BT_PROFILE_PRXM=yesï¼å¨common/ProjectConfig.mkä¸ï¼MTK_BT_PROFILE_PRXM=noï¼åMTK_BT_PROFILE_PRXMæ¯æå¼çï¼featureoption.javaä¸ä¼æï¼MTK_BT_PROFILE_PRXM=yesã
è¥å¨alps\mediatek\config\mt6589ä¸ï¼æ²¡æMTK_BT_PROFILE_PRXMï¼å¨common/ProjectConfig.mkä¸ï¼MTK_BT_PROFILE_PRXM=noï¼åMTK_BT_PROFILE_PRXMæ¯å ³éçï¼featureoption.javaä¸ä¼æï¼MTK_BT_PROFILE_PRXM=noã
ä¸åªæ件çè·¯å¾åå«ä¸ºï¼
alps\mediatek\config\common\ProjectConfig.mk
alps\mediatek\config\mt6589\ProjectConfig.mk
alps\mediatek\source\frameworks\featureoption\java\com\mediatek\featureoption\featureoption.java
JBä¸ï¼alps\mediatek\frameworks\common\src\com\mediatek\common\FeatureOption\featureoption.java
KKï¼alps\out\target\product\[project]\obj\JAVA_LIBRARIES\mediatek-common_intermediates\FeatureOption.java
å®ä»¬ä¹é´æ¯ä»ä¹å ³ç³»å¢ï¼å¦ä½æ¥çå½åå·¥ç¨åªäºprofileæ¯æå¼çï¼
[SOLUTION]
common/ProjectConfig.mkåproduct/ProjectConfig.mkï¼æ¯ç¨æ¥æ§å¶profile å®çæå¼åå ³éçï¼å¨ç¼è¯æ¶ï¼ç³»ç»ä¼å æ¥çproduct/ProjectConfig.mkçå®ç¶æï¼å¹¶è®¾ä¸ºè¯¥å¤å®ä¹çå®ç¶æï¼è¥æ¤æ件没æ该å®ï¼åå»æ¥æ¾common/ProjectConfig.mkãç¼è¯ä¹åçç»æå°åå¨featureoption.javaä¸ã
举ä¾è¯´æmt6589 productä¸MTK_BT_PROFILE_PRXMï¼
è¥å¨alps\mediatek\config\mt6589ä¸ï¼MTK_BT_PROFILE_PRXM=yesï¼å¨common/ProjectConfig.mkä¸ï¼MTK_BT_PROFILE_PRXM=noï¼åMTK_BT_PROFILE_PRXMæ¯æå¼çï¼featureoption.javaä¸ä¼æï¼MTK_BT_PROFILE_PRXM=yesã
è¥å¨alps\mediatek\config\mt6589ä¸ï¼æ²¡æMTK_BT_PROFILE_PRXMï¼å¨common/ProjectConfig.mkä¸ï¼MTK_BT_PROFILE_PRXM=noï¼åMTK_BT_PROFILE_PRXMæ¯å ³éçï¼featureoption.javaä¸ä¼æï¼MTK_BT_PROFILE_PRXM=noã
ä¸åªæ件çè·¯å¾åå«ä¸ºï¼
alps\mediatek\config\common\ProjectConfig.mk
alps\mediatek\config\mt6589\ProjectConfig.mk
alps\mediatek\source\frameworks\featureoption\java\com\mediatek\featureoption\featureoption.java
JBä¸ï¼alps\mediatek\frameworks\common\src\com\mediatek\common\FeatureOption\featureoption.java
KKï¼alps\out\target\product\[project]\obj\JAVA_LIBRARIES\mediatek-common_intermediates\FeatureOption.java
温馨提示:答案为网友推荐,仅供参考