an sdk target must be specified处理

本文介绍在Eclipse中配置Android开发环境时遇到的Jar包冲突问题及解决方法。指出在同一项目中不应同时配置多个Android版本的jar包,提供了解决步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

错误原因,在eclipse中配置了多个Android的jar包,如当配置到下图部分的时候,只应该有一个jar包,下图的配置是正确的,如果Android2.1下面还有其他包则出错,
解决方法:如果出现了多个Android版本,到\android-sdk_r05-windows\android-sdk-windows\platforms目录以及\android-sdk_r05-windows\android-sdk-windows\add-ons目录下将其他jar包剪切移到别的文件夹中,

此后再新建工程则不会出现相关错误,这是由于Google对相关Android的jar包的下载是使用自己的专用下载工具,如果设定不完整会下载多个Android版本,在eclipse配置时才导致冲突
petalinux-config --get-hw-description=./project-spec/hw-description --silentconfig --force getopt: unrecognized option '--force' Configures the project or the specified component with menuconfig. Usage: petalinux-config [options] {--component <COMPONENT> |--get-hw-description[=SRC]} Options: -h, --help show function usage -p, --project <PROJECT> path to PetaLinux SDK project. default is the working project --silentconfig takes the default configuration and skips the GUI. -c, --component <COMPONENT> Specify the component If no component is specified, it will do top level project configuration . If you specify a component,it will configure it with menuconfig and saves user's config fragments in meta-user. E.g. -c rootfs, -c busybox --get-hw-description [SRC] get hardware description. if [SRC] is specified, look in that location for an Vivado export to SDK directory. Otherwise, this MUST be run from WITHIN the vivado export to SDK directory. --defconfig [DEFCONFIG_TARGET] defconfig the specified component. It applies to kernel and u-boot. -v, --verbose verbose mode Note: There is no validation for configurable components. User can provide any component, bitbake will throw error for invalid components. Sync hardware description: Sync hardware description from Vivado export to PetaLinux BSP project: $ cd <Vivado_Export_to_SDK_Directory> $ petalinux-config --get-hw-description It will sync up the XSA file from <Vivado_Export_to_SDK_Directory> to project-spec/hw-description/ directory. Sync hardware description inside PetaLinux project but outside Vivado export to SDK directory: $ petalinux-config --get-hw-description=<Vivado_Export_to_SDK_Directory> If more than one XSA files in <Vivado_Export_to_SDK_Directory> specify the exact file path using $ petalinux-config --get-hw-description <Vivado_Export_to_SDK_Directory>/system.xsa Configure PetaLinux project: Configure subsystem level configuration: $ petalinux-config Configure kernel: $ petalinux-config -c kernel Configure rootfs: $ petalinux-config -c rootfs Defconfig kconfig kernel with xilinx_zynq_base_trd_defconfig: $ petalinux-config -c kernel --defconfig xilinx_zynq_base_trd_defconfig这个打印信息是正确的吗
最新发布
03-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值