有几天我曾经成功地构建了 android。 但是从过去的 2-3 天开始,我无法构建它。它给出了一些错误,例如:
packages/apps/Calculator/src/com/android/calculator2/CalculatorDisplay.java:19: cannot access android.content.Context bad class file: android/content/Context.class(android/content:Context.class) unable to access file: corrupted zip file Please remove or make sure it appears in the correct subdirectory of the classpath. import android.content.Context; ^ make: * [out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar] Error 41
最佳答案
您是否尝试过再次下载/或重建? 它可能真的损坏了。
关于java - 构建android时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7486274/