Android Question unwanted colored frame by textfield

bvonlaar

Member
Licensed User
Longtime User
Hello,
I have 3 editText fields in my app. By filling the fields from a selection list I have a frame around the actual field. This coloring is kept even I use another another button with another command. How can I suppress the colored frame of the edittext field?



regards,
Benedikt
 

bvonlaar

Member
Licensed User
Longtime User
The first step is to set the targetSdkVersion in the manifest file to 14+.
You are currently using Android 2 theme.

As said I have done, first in the wrong place then in the manifest editor. After this I got during compiling an error message:

Failure [INSTALL_FAILED_OLDER_SDK]

I used Android-23, then Android-24 then Android-25 still the same message. What Android level I need?

Benedikt
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Please note that erel suggested to change the targetsdk. Not the minsdk
Failure [INSTALL_FAILED_OLDER_SDK]
Failure[INSTALL_FAILED_OLDER_SDK]
Means that you're trying to install an app that has a higher minSdkVersion specified in its manifest than the device's API level

1. What is the device Api Level? Which Android version is the Device running?
2. Post your manifesttext
 
Upvote 0

bvonlaar

Member
Licensed User
Longtime User

Actual I use the emulator Target Name: Android 6.0 , Platform: 6.0, API-level: 23, CPU-ABI: Google APIs ARM (armeabi-v7a)

<uses-sdk android:minSdkVersion="14+" />

instead of "14+" it was set on "4"

Benedikt
 

Attachments

  • AndroidManifest.xml
    3.4 KB · Views: 265
Upvote 0

bvonlaar

Member
Licensed User
Longtime User
this is not the manifest-editor-text

Aditionally erel suggested to set it to 14+ (the + means or 15 or 16 or 17 or....
The + should NOT be in the number!!!

cool misunderstanding ;-), simple but powerful.

Thanks, now it runs with API-level 23 again, but the main problem with the frame is only changed to
a blue underline, even the field isn´t selected for edit.

Benedikt
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…