2014-10-03 74 views
1

我在項目appcompat_v7 & google_play_services中添加了這兩個庫,但無法獲取項目編譯,原因是以下Dalvik錯誤編譯錯誤:「轉換爲Dalvik格式失敗:無法執行dex:無法將新索引74303合併爲非巨型指令」

[2014-10-03 20:04:57 - Dex Loader] Unable to execute dex: Cannot merge new index 74303 into a non-jumbo instruction! 
[2014-10-03 20:04:57 - TestProject] Conversion to Dalvik format failed: Unable to execute dex: Cannot merge new index 74303 into a non-jumbo instruction! 

任何指針?

回答

1

明白了,將dex.force.jumbo=true添加到project.properties。

見截圖 enter image description here

+2

巨型說明只支持一個版本。見例如http://stackoverflow.com/questions/21490382/does-the-android-art-runtime-have-the-same-method-limit-limitations-as-dalvik/21492160#21492160 – fadden 2014-10-03 15:29:47

相關問題