ActionBarSherlock android target version is at least 13.
You have to distinguish :
* The actual target version to use with the app. In fact it's the jar
version of android library you'll link on and that will provide to you
methods, constants and resources. Keep in mind that linking android 13
for example does *NOT* means that you'll not get something compatible
with lower version. If application is properly developed and take care
about backward compatibility, it is always better to use the latest
available android sdk version. That's a very common mistake of new
developers to android that introduced this very bad rumor about the fact
it's impossible or very hard to manage android fragmentation while this
OS is very good on this point from android 1.6.
* The announced min sdk. This one is set in the manifest and is used
on the market and at installation time to know if your application can
be installed on a given platform.
* The announced target sdk. This one is also set in the manifest and
it's used to interprete default values and behaviors for your
application. (For example it may be used to activate some backward
compatibility mode for older version). If application is tested and up
to date, it's also better to use the latest version to use latest features.
So in your case, seems that you choosed android 7 (2.1) as linked jar.
This one does not contains resources for Holo theme that was introduced
in android 10 (3.0). So build fail and that's absolutely normal.
Note that the correct version of the project is under version control
(http://code.google.com/p/csipsimple/source/browse/trunk/ActionBarSherlock/project.properties
) and if you have a closer look to your svn status of actionbar project
I'm pretty sure that you (or some android sdk command you did) modified
this.
However, it's probably not your fault : android tool and eclipse both
use to overwrite this value if you don't care about.
You may also face the same problem on csipsimple project if you did the
same kind of import, so also check project.properties of CSipSimple
folder too before your build.
Regards,
R�gis
Hi,
ActionBarSherlock android target version is at least 13.
You have to distinguish :
* The actual target version to use with the app. In fact it's the jar version of android library you'll link on and that will provide to you methods, constants and resources. Keep in mind that linking android 13 for example does *NOT* means that you'll not get something compatible with lower version. If application is properly developed and take care about backward compatibility, it is always better to use the latest available android sdk version. That's a very common mistake of new developers to android that introduced this very bad rumor about the fact it's impossible or very hard to manage android fragmentation while this OS is very good on this point from android 1.6.
* The announced min sdk. This one is set in the manifest and is used on the market and at installation time to know if your application can be installed on a given platform.
* The announced target sdk. This one is also set in the manifest and it's used to interprete default values and behaviors for your application. (For example it may be used to activate some backward compatibility mode for older version). If application is tested and up to date, it's also better to use the latest version to use latest features.
So in your case, seems that you choosed android 7 (2.1) as linked jar. This one does not contains resources for Holo theme that was introduced in android 10 (3.0). So build fail and that's absolutely normal.
Note that the correct version of the project is under version control (http://code.google.com/p/csipsimple/source/browse/trunk/ActionBarSherlock/project.properties ) and if you have a closer look to your svn status of actionbar project I'm pretty sure that you (or some android sdk command you did) modified this.
However, it's probably not your fault : android tool and eclipse both use to overwrite this value if you don't care about.
You may also face the same problem on csipsimple project if you did the same kind of import, so also check project.properties of CSipSimple folder too before your build.
Regards,
Régis