1)在“性能”中添加“isDownloadMap ”。
2) //#if isDownloadMap == "true"
DataInputStream dis = null;try {
dis = new DataInputStream(((FileConnection) (Connector.open(path))).openInputStream());
} catch (Exception e) {
e.printStackTrace();
}
//#else
//# DataInputStream dis = new DataInputStream(this.getClass().getResourceAsStream(str + path));
//#endif