What does the orange triangle in the target column

2019-03-17 05:54发布

问题:

When I launch my Android app with Eclipse, the usual window "Android Device Chooser" appears. I can here choose on which device I want to run my app.

In the target column appears next to my target an orange triangle with an exclamation mark (kind of 'warning') (see the image below)

Does somebody know what it means ?

回答1:

According to this mailing list thread, that just means you're utilising an optional library and Eclipse can't be sure it's installed on the device. Eclipse knows you're using a compatible version of the API, it's just not sure about the optional extension you're using. So you should be fine, as long as the app works on the phone.



回答2:

I have the same exclamation point next to my target but the code complile and run OK. In my opinion the warning appears because the device target has a different API version than project one. In my case the Android project is build with 2.3.3. but my Samsung device has installed 2.3.4



回答3:

just you need to change the target SDK version from "Google API to Android" from sdk window as attached screens shot.



回答4:

This problem might be a result of wrong project properties/dependencies, as desribed in another question on the same subject: https://stackoverflow.com/a/22953719/997940