Questions tagged [target-sdk]

An integer designating the API Level that the application targets. This attribute informs the system that you have tested against the target version and the system should not enable any compatibility behaviors to maintain your app's forward-compatibility with the target version.

Useful Links

74 questions
0
votes
1 answer

My target SDK version is 26 but when I upload my apk on playstore, app supports only SDK ranging 16 to 19

My projects Gradle file looks like this as given below. android { compileSdkVersion 26 buildToolsVersion "25.0.3" defaultConfig { applicationId "com.abc.myappspackagename" minSdkVersion 16 targetSdkVersion 26 versionCode 8 …
0
votes
2 answers

Android targetSdkVersion behavior

I am confused about the requirement/behavior of targetSdkVersion. As far as I understood, setting the target SDK to a particular version indicates that behavior of the application (UI) is ensured up-to that particular version. In my application, I…
Mohamed Samsudeen
  • 1,046
  • 1
  • 8
  • 20
0
votes
1 answer

Android Studio - where is targetsdk number taken from?

I have a project that has the following target configs in gradle file: compileSdkVersion 'Google Inc.:Google APIs:23' buildToolsVersion '21.1.2' defaultConfig { applicationId "com.claro.pe.miclaro" minSdkVersion 11 targetSdkVersion 23 …
htafoya
  • 18,261
  • 11
  • 80
  • 104
0
votes
1 answer

Why my android TCP client app wont work on other phones??

I am using an android phone with an android version 4.1.1. .IT WORKS PROPERLY. I can transmit string data from this phone to my VB application in my PC via TCP/IP. However if I use my other phone, with an android version 4.4.4 kitkat .. I can still…
0
votes
3 answers

I Want To Make A Super Simple Android App, But

I just want to make a really basic android app - I'm wanting to rewrite this app: https://play.google.com/store/apps/details?id=com.backyardapps.canadianincometaxcalculator I wrote the app, originally, in Eclipse, under SDK 9. I now want to rewrite…
Nalorin
  • 95
  • 1
  • 9
0
votes
1 answer

Why #ifndef MyPTK is executing when I changed target from MyPTK to MyPTK copy

I have two targets MyPTK and MyPTK copy, the MyPTK copy is a target which I have duplicated from MyPTK #ifndef MyPTK [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(resetLogoutTimer) name:UITouchPhaseBegan…
Nasir
  • 1,617
  • 2
  • 19
  • 34
0
votes
1 answer

Doesn't appear Android 5 in Eclipse's TargetSdk

I have downloaded the last Android Api 21 using Sdk Manager, and I have deinstalled the L Preview. This is the sdk's situation : But when I go to open a new project in Eclipse, the last Android 5 doesn't appear in the options : In the Eclipse's…
aeroxr1
  • 1,014
  • 1
  • 14
  • 36
0
votes
1 answer

Why to specify targetsdkversion and why it has to be always have latestsdk value?

I have seen lots and lots of question on targetsdk version in android. but not pretty clear about the explanation. i think its bit tricky compared to minsdk and maxsdk version. i had gone through developer.android.com and read about uses sdk tag,…
RockandRoll
  • 409
  • 5
  • 23
0
votes
1 answer

android:track attibute for Switch doesn't work

Example: link android:track="@drawable/switch_bg" Eclipse outputs: error: No resource identifier found for attribute 'track' in package 'android' Manifest: This…
Forme
  • 301
  • 3
  • 16
-1
votes
1 answer

Is it safe (what could go wrong?) to falsely provide higher Android target SDK API version for app (in case I have no higher compile SDK)?

I am using Delphi 10.4 (but my question is general enough to be relevant to any development environment - including ADS Jetpack Compose, React Native, etc.) which comes with installed Android SDK 29/NDK 21. From the one side, there is no way to ask…
TomR
  • 2,696
  • 6
  • 34
  • 87
-1
votes
1 answer

Android min api level

I have 2 questions. If I compiled my app with targetSDKVersion 23 but tested it on an emulator running api level 19, will I be sure that it runs on a device with api level 19? When I set minSDKVersion to an API level and use something that is not…
-1
votes
3 answers

What should be the Target SDK when publishing an Android app?

I have been working on an Android project from past one year in Eclipse with API level set to 4.2 (target SDK 17). Now I want to publish it in the Play Store. Should I change the target SDK (manifest file) to the latest (i.e. 4.4) since my app works…
Sunil kumar
  • 317
  • 1
  • 9
  • 19
-2
votes
2 answers

Problems with accessing camera with targetSdkVersion 25?

I have an app that uses camera it works fine when I compile it with targetSdkVersion 23, but when I try to use version 25 I get this error: android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/IMG_1093948364.jpg exposed beyond app …
SIMMORSAL
  • 1,402
  • 1
  • 16
  • 32
-3
votes
2 answers

How to change project build target in Android Gradle project

I have project which needs to be ported in Gradle build, I have done most of work but not able to change the target SDK for the build, since my application is heavily dependent on third party SDK. It is present in addons directory of SDK…
Akhil Jain
  • 13,872
  • 15
  • 57
  • 93
1 2 3 4
5