Android Studio中的android pre dex错误 [英] android pre dex errors in Android Studio
问题描述
最近,我尝试打开一个在Android Studio中开发的项目,然后尝试对其进行重建,这样一来,我就收到了全部加载的Android Pre Dex错误,而我完全摆脱了这些错误。尝试了很多东西,例如更改Android API级别,清洁,更改jdk版本..均不起作用。
任何专家都可以启发我什么是
I recently try to open up a project developed sometime ago into Android Studio and try to rebuild it and I get whole load Android Pre Dex errors which I am totally stuck how I get rid of them. Tried a lot of stuff such as changing Android API level, cleaning, change jdk version.. all doesn't work.
Any experts out there can enlighten me what is the likely cause of these errors.?
android pre dex errors screenshot
i already solved it it happen because you didnt setting the default java in android studio 2.3.3 or android studio 3.0 beta 6
- go to file > project structure > SDK location
- change the JDK Location to C:\Program Files\Java\jdk1.8.0_131
这篇关于Android Studio中的android pre dex错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!