Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created a project it is working fine on android marshmallow, but the minimum sdk i setup in the gradle file is 10 and maximum sdk 23. When I execute the project in some lower sdk than 23, it does not work.
the following is the setting.
C#
defaultConfig {
       applicationId "com.example.project"
       minSdkVersion 10
       targetSdkVersion 23
       versionCode 1
       versionName "1.0"

   }



kindly let me know where am i wrong?
the project is created in android studio

What I have tried:

I am having no idea what to try right now. If there is any jar library, which i could add to the project to resolve the same issue please let me know
Posted
Updated 9-Apr-16 17:43pm
v3
Comments
Richard MacCutchan 9-Apr-16 12:24pm    
most likely because you are using features that are not available in the lower versions. You need to modify your code so it supports the earlier versions.
Member 11402033 9-Apr-16 21:45pm    
Can U guide me with some tips regarding the same issue or give me some reference regarding the same?
Richard MacCutchan 10-Apr-16 3:20am    
I already did, you need to check your code to see what API calls you are using are not supported in earlier versions. Also check that you have the correct versions of the SDK libraries in stalled on your system.
Member 11402033 9-Apr-16 23:41pm    
Is there any jar library which can resolve the issues at it's own, by just adding it to the project?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900