導入第三方架包到新的模塊,出現如下編譯錯誤
找了很多解決辦法都沒解決,比如;
https://stackoverflow.com/questions/55209281/nativescript-execution-failed-for-task-error-while-merging-dex-archives
https://developer.android.com/studio/build/multidex
https://www.hellojava.com/a/69381.html
等都無濟於事,最終發現是新庫中的類與其他模塊中的庫存在類名相同的問題,最終找到解決問題的辦法是:WinRAR jar包解壓縮,去掉重複的class,重新壓縮生成新的jar包再編譯。