Haven't found an answer to this. I'm trying to integrate an external lib into my android project. My targetSdkVersion
is 27
. The external lib's documentation mentions that it "supports" targetSdkVersion
25
. What does this mean? Can I integrate it into my app without changing my targetSdkVersion
(which I obviously dont want)? Is it backward compatible like that? I havent found any exact info on this.
Asked
Active
Viewed 41 times
0

EL TEGANI MOHAMED HAMAD GABIR
- 1,868
- 2
- 16
- 34

breakline
- 5,776
- 8
- 45
- 84
1 Answers
2
It means the external library supports only till SDK 25. You'll have to copy it to your project and manually update the SDK version in the external library, and hope it works. Till SDK 25 is actually pretty good, so you might not face any problems while compiling. If there are any problems, you'll have to go in and fix it in the code. Another solution is to raise a request to the original author, but there won't be any guarantee on when he'll do it and upload the project.

Jacob Celestine
- 1,758
- 13
- 23
-
So if its a JAR that means there is no way it will build? Or can there be only runtime problems? – breakline Aug 06 '18 at 10:05
-
Hmm, I haven't done edits on a jar file, but please do check this link out: https://stackoverflow.com/questions/29478227/how-to-edit-jar-file-in-android-studio If the renaming thing works, and you're able to get all the code, then just import it into your project. Otherwise, I guess there isn't a way. – Jacob Celestine Aug 06 '18 at 10:08
-
If you feel your question has been answered, please mark this answer as accepted and close this one. If you have some other questions, please open that as a new question :) – Jacob Celestine Aug 06 '18 at 10:14
-
Sure, I will have to wait some it seems for that but I will – breakline Aug 06 '18 at 10:15
-
Oh the 30 min thing... forgot about that! Thanks! :D – Jacob Celestine Aug 06 '18 at 10:16