cocoscreator鏋勫缓鐨刟ndroid宸ョ▼鎶ラ敊

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cocoscreator鏋勫缓鐨刟ndroid宸ョ▼鎶ラ敊相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/erro' title='erro'>erro   娣诲姞   var   debug   release   xxx   灏辨槸   ase   variant   

cocoscreator鏋勫缓鐨勫畨鍗撻」鐩墦鍖呮姤閿欙細
Error:The module 鈥榣ibcocos2dx鈥?is an android project without build variants, and cannot be built. Please fix the module鈥檚 configuration in the build.gradle file and sync the project again.
Error:The module 鈥榵xx鈥?is an Android project without build variants, and cannot be built. Please fix the module鈥檚 configuration in the build.gradle file and sync the project again.

鎴戠殑鐜閮芥槸ok鐨勶紝java鐜瑁呬簡锛宯dk閰嶇疆浜嗭紝android sdk涔熼厤缃簡锛屼笉鐭ラ亾杩欎釜鎶ラ敊浠€涔堝師鍥犮€?/p>

缃戜笂鎵句簡涓€鍦堬紝鍩烘湰涓婇兘鏄gradle鐗堟湰涓嶅锛屾垨鑰呮病鏈変笅杞戒笅鏉ワ紝鎴栬€呮槸鎵嬪姩娣诲姞debug/release configuration銆傜収鐫€缃戜笂鐨勬柟娉曢兘璇曚簡涓€閬嶏紝渚濈劧鎶ラ敊銆?/p>

鏈€鍚庯紝鍗氫富鍙戠幇杩欎釜鏄痯roject structure鐨勯敊璇紝灏卞湪project structure闈㈡澘閲岄潰鍘绘壘鍘熷洜锛屾灉鐒跺彂鐜癗DK娌℃湁閰嶇疆銆傜偣鍑讳笅杞斤紝瀹屾垚涔嬪悗寮€濮嬭嚜鍔ㄥ悓姝ワ紝涓€鍒囧畬浜嬩箣鍚庝笘鐣屾竻鍑€浜嗭紝涓嶆姤閿欎簡銆?/p>

鎵€浠ュ氨鏄疦DK鐨勯攨锛屾垜鍦╟ocoscreator閲岄潰閰嶇疆浜哊DK鐨勶紝鏃㈢劧鏃犵敤涓轰粈涔堣鎴戦厤缃€?/p>

以上是关于cocoscreator鏋勫缓鐨刟ndroid宸ョ▼鎶ラ敊的主要内容,如果未能解决你的问题,请参考以下文章

Linux鍔ㄦ€佸簱鑷姩鏋勫缓Makefile

CRM鍏崇郴琛ㄧ殑鏋勫缓

瀹夊崜_鏋勫缓棣栦釜搴旂敤

鍩轰簬Haproxy鏋勫缓璐熻浇鍧囪 闆嗙兢

浣跨敤buildpack-deps 鏋勫缓鑷繁鐨勫叆瀹瑰櫒闀滃儚

NodeJS4-8闈欐€佽祫婧愭湇鍔″櫒瀹炴垬_鏋勫缓cli宸ュ叿