kusuzhu / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

BUILD.txt is probably out of date #615

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I checked out the trunk and had problems when following the instructions of 
BUILD.txt

What steps will reproduce the problem?
1. Checkout http://sipdroid.googlecode.com/svn/trunk@572
2. Run "android update project -p . -t 2"
3. Run "ant clean debug"

What is the expected output? What do you see instead?
I expect an apk, I get:

-resource-src:
     [echo] Generating R.java / Manifest.java from the resources...
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:30: error: No resource identifier found for attribute 'targetSdkVersion' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:31: error: No resource identifier found for attribute 'normalScreens' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:31: error: No resource identifier found for attribute 'smallScreens' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:31: error: No resource identifier found for attribute 'largeScreens' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:31: error: No resource identifier found for attribute 'anyDensity' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:36: error: No resource identifier found for attribute 'required' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:37: error: No resource identifier found for attribute 'required' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:38: error: No resource identifier found for attribute 'required' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:39: error: No resource identifier found for attribute 'required' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:40: error: No resource identifier found for attribute 'required' in package 'android'
     [null] /Software/nobackup/sipdroid/AndroidManifest.xml:41: error: No resource identifier found for attribute 'required' in package 'android'

What version of the product are you using? On what device/operating system?
http://sipdroid.googlecode.com/svn/trunk@572

Running "android update project -p . -t 7" and "ant clean debug" did fix this 
problem and I could import the project in Eclipse.

Original issue reported on code.google.com by mfriedenhagen on 25 Aug 2010 at 9:49

GoogleCodeExporter commented 9 years ago
I forgot to mention: I am on Mac OS X 10.6.4 using the latest Android SDK.

Original comment by mfriedenhagen on 25 Aug 2010 at 9:57

GoogleCodeExporter commented 9 years ago
I had to increase the target up to 7 because org.sipdroid.media.Bluetooth uses 
methods of the AudioManager first found in this target (startBluetoothSco and 
stopBluetoothSco).

Original comment by mfriedenhagen on 25 Aug 2010 at 10:05

GoogleCodeExporter commented 9 years ago
I got same error message.
btw, android update project -p . -t 2 
-t it should use the android list target to get which -t should use I think.
for my case, -t 1 which stands for target 7 
but I still got same error message.

startBluetoothSco obsolete, setBluetoothScoOn
another api, checkBluetoothScoAvailable can not find in API 7.
anyone fix ?

Original comment by yuxiao...@gmail.com on 7 Sep 2010 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 17 Sep 2010 at 8:08

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 14 Oct 2010 at 8:50