Looks like you are building against Android 1.5 (API level 3), whereas
the project assumes 1.6+ (API 4 and later), perhaps even 2.2 (judging by
installLocation).
-- Kostya
23.09.2010 17:24, maxsap пишет:
Hello I am trying to build sipdroid under eclipse,I have downloaded
the source from the svn found on the site and I followed the
instructions found on the build.txt file.
In the second step saying to execute ant debug the ant script fails
this is the output of the console:
[max...@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
The project contains errors (seems like the R.java class isn't
present) and also there are errors in the Android manifest xml file
saying that some attributes in the xml are wrong but they aren't e.g
says that android:targetSdkVersion attribute is wrong.I have posted
this question on the official groups but no luck so far, this is the
original post http://groups.google.com/group/s...
any suggestions?
thanks in advanced maxsap
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en