之前会提示一些模块无法安装,在相应的mk里面注释掉。
之后,再make sdk的时候,
这个,我直接手动建立的了这个文件
development/build/sdk.atree:247: couldn't locate source file: framework/layoutlib-tests.jar
development/build/sdk.atree:248: couldn't locate source file: system/app/ConnectivityTest.apk
development/build/sdk.atree:249: couldn't locate source file: system/app/GpsLocationTest.apk
sdk/build/tools.atree:47: couldn't locate source file: usr/share/pc-bios/bios.bin
sdk/build/tools.atree:48: couldn't locate source file: usr/share/pc-bios/vgabios-cirrus.bin
sdk/build/tools.atree:160: couldn't locate source file: framework/annotations.jar
sdk/build/tools.atree:178: couldn't locate source file: framework/ddmlib-tests.jar
sdk/build/tools.atree:179: couldn't locate source file: framework/ninepatch-tests.jar
sdk/build/tools.atree:180: couldn't locate source file: framework/common-tests.jar
sdk/build/tools.atree:182: couldn't locate source file: framework/sdkuilib-tests.jar
sdk/build/tools.linux.atree:26: couldn't locate source file: bin/monitor
sdk/build/tools.linux.atree:27: couldn't locate source file: eclipse/monitor-linux.gtk.x86/monitor
sdk/build/tools.linux.atree:28: couldn't locate source file: eclipse/monitor-linux.gtk.x86_64/monitor
这些找不见的,也可以注释掉,也看到网上有人说,把名字改成xxx-tests.jar的...
搞不懂咯,为毛官网的代码编译还有问题呢...真是
在编译Android官方SDK时遇到错误,提示无法找到特定的源文件如framework/layoutlib-tests.jar等。尝试过注释掉相应模块但问题依旧。手动创建文件并未解决问题。网上建议将缺少的文件名改为xxx-tests.jar,但疑问为何官方代码存在这样的问题。
5203

被折叠的 条评论
为什么被折叠?



