gpt4 book ai didi

android - sipdroid 构建 eclipse

转载 作者:搜寻专家 更新时间:2023-11-01 08:16:48 25 4
gpt4 key购买 nike

我正在尝试在eclipse下构建sipdroid,我已经下载了来自网站上找到的 svn 的来源,我遵循了在 build.txt 文件中找到的说明。在第二步中说执行 ant 调试 ant 脚本失败这是控制台的输出:

[maxsap@localhost sipdroid-read-only]$ ant debug

Buildfile: build.xml [setup] Android SDK Tools Revision 6 [setup] Project Target: Google APIs [setup] Vendor: Google Inc. [setup] Platform Version: 1.5 [setup] API level: 3 [setup] Importing rules file: platforms/android-3/ant/ ant_rules_r2.xml -compile-tested-if-test: -dirs: [echo] Creating output directories if needed... -resource-src: [echo] Generating R.java / Manifest.java from the resources... [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:26: error: No resource identifier found for attribute 'installLocation' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:31: error: No resource identifier found for attribute 'targetSdkVersion' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:32: error: No resource identifier found for attribute 'normalScreens' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:32: error: No resource identifier found for attribute 'smallScreens' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:32: error: No resource identifier found for attribute 'largeScreens' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:32: error: No resource identifier found for attribute 'anyDensity' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:37: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:38: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:39: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:40: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:41: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:42: error: No resource identifier found for attribute 'required' in package 'android' [null] /home/maxsap/Documents/progrs/maxsapSipDroid/sipdroid-read- only/AndroidManifest.xml:43: error: No resource identifier found for attribute 'required' in package 'android' BUILD FAILED /home/maxsap/Documents/progrs/android/android-sdk-linux_86/platforms/ android-3/ant/ant_rules_r2.xml:220: null returned: 1 note that when I do ant, the script successfully completes. but then when I import the project in eclipse doing file->import- existing project into workspace

该项目包含错误(似乎 R.java 类不是当前的)。

有什么建议吗?我已经在 sipdroid 的讨论组发了好几天了,但是运气不好,我没有得到任何回复。

最佳答案

嘿,我有类似的问题,通过更改项目的目标得到解决。也许早期的目标不支持某些东西?

我在 Eclipse 的 Project explorer 中右键单击该项目 -> Properties-> Android -> 然后勾选相应的复选框以选择稍后的目标。

关于android - sipdroid 构建 eclipse ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3683570/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com