What in the world are you doing?  An application that is built against 1.6
will definitely run on 1.5, as long as you are careful about how you use 1.6
APIs and set your minSdkVersion to 3.

Getting link errors is something much deeper -- do you have native code in
your app?  If so, is it actually linking against libui.so??  Or is there
some other private native API you are using?  My first guess would
definitely be that you are using some native APIs that exist on 1.6 but not
1.5.

On Mon, Nov 30, 2009 at 9:07 PM, Brian Rak <[email protected]> wrote:

> Hi there. I too am trying to make use of the <supports-screens>
> manifest directive to support both newer and older phones, but I seem
> to be hitting a catch-22.
>
> In order to use <supports-screens>, you must build with the 1.6 SDK or
> higher. However, the output of such a build will not install on my
> Android 1.5 developer device. The output I get when I try to install
> it is:
>
> bionic/linker/linker.c:1126| ERROR:  4830 cannot locate '(null)'...
> bionic/linker/linker.c:1641| ERROR: failed to link libui.so
> bionic/linker/linker.c:1581| ERROR:  4830 could not load 'libui.so'
> bionic/linker/linker.c:1641| ERROR: failed to link
> libandroid_runtime.so
> bionic/linker/linker.c:1581| ERROR:  4830 could not load
> 'libandroid_runtime.so'
> bionic/linker/linker.c:1641| ERROR: failed to link app_process
> bionic/linker/linker.c:1741| ERROR: CANNOT LINK EXECUTABLE
> 'app_process'
>
> How do I create a single app that uses <supports-screens> that will
> install on earlier devices?
>
> Thanks in advance!
> Brian
>
> On Oct 30, 5:34 pm, Lance Nanek <[email protected]> wrote:
> > The build target can be set separately from the android:minSdkVersion
> > attribute. Increasing the build target would allow you to use the
> > supports-screens element in your manifest without that error.
> >
> > It can be set in Eclipse by right clicking on the project -> choosing
> > Properties -> choosing Android -> choosing an option under the Project
> > Built Target heading.
> >
> > Increasing the android:minSdkVersion attribute would prevent people
> > with older versions of Android from using your application. It is
> > useful for that if you are going to use a new method without checking
> > for it by reflection first or other changes that break the app in
> > older versions.
> >
> > On Oct 30, 7:58 pm, mscwd01 <[email protected]> wrote:
> >
> >
> >
> > > I have had several emails from people with HTC Tattoo devices who say
> > > they cannot find my app in the Market.
> >
> > > After reading this page (http://d.android.com/guide/practices/
> > > screens_support.html) I believe I have to add the <supports-screens>
> > > tag to my manifest file. However, when I try to do this I am
> > > confronted with "Error no resource identifier found for attriute
> > > support-screens in package 'android'" messages. What does one have to
> > > do to update their manifest to tell the market an app supports all
> > > screen sizes?
> >
> > > Furthermore, if I need to change the android:minSdkVersion from "3" to
> > > something higher or add the android:targetSdkVersion tag, will this
> > > prevent people with older versions of Android from using my
> > > application?
> >
> > > Thanks- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to