网站里可以增加网址吗,江苏军民融合网站建设,2021今天特大军事新闻,网络设计课程设计前言前言
在Android 开发中#xff0c;有时候我们需要将android 源码导入android studio#xff0c;就要用到idegen 工具#xff0c;qcom 高通部分平台发现执行/development/tools/idegen/idegen.sh 不动
分析
通过添加log发现是由于文件遍历进入了死循环#xff1b; 可以在…前言
在Android 开发中有时候我们需要将android 源码导入android studio就要用到idegen 工具qcom 高通部分平台发现执行/development/tools/idegen/idegen.sh 不动
分析
通过添加log发现是由于文件遍历进入了死循环 可以在development/tools/idegen/src/Configuration.java 中添加log。
解决建议
private static void traverse(File directory, SetFile sourceRoots,CollectionFile jarFiles, CollectionFile excludedDirs,Excludes excludes) throws IOException {...//add if (path.startsWith(frameworks) || path.startsWith(packages) || path.startsWith(vendor) || path.startsWith(hardware)) {System.out.printf(path path \n);if (path.startsWith(vendor/qcom/opensource/wlan/qcacld-3.0)) {continue;}} else {continue;}
....