0
加入糖ORM依賴於搖籃腳本程序文件gradle這個錯誤,而加白糖ORM 1.4扶養
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.github.satyan:sugar:1.4'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.google.android.gms:play-services-auth:8.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.android.support:design:23.1.1'
}
搖籃遵守我的項目,但一旦我試圖在一個物理設備上運行它(使用Android工作室)我後得到這個錯誤:
錯誤:您的應用程序有更多的方法引用,可以適應一個單一的dex文件。 見https://developer.android.com/tools/building/multidex.html
現在有錯誤,如果我試圖編譯和糖ORM 1.3
運行的應用程序有庫過於龐大的1.4版本,它不再適合單個DEX?