Issue
I am not sure when this problem actually started. But today when i tried to create a project with following settings it gives error
My IDE is Eclipse with ADT Plugin
min sdk 8 , target SDK 19 , Compile-with 19 sdk tools 23.0.5 sdk platform tools 21 sdk build tools 21.1
the project was created , but it shows a lot of errors when i change the the target and compile-with to 20 all errors are gone. ( I also need to delete the support-v4 library that is added to projects automatically as it is a different version than the one in the appcompat-v7 )
Any help is fixing this mess would be really helpful.
So far i tried updating the sdk tools using using sdk manager , it only made things worse , so i went back to the older version .
So Now i have everything updated in my sdk manager, even the system-images. I noticed that when i try to create a new project , even though the sdk manager shows i have 5.0.1, i can only create projects upto API-21 4.x L Preview, is this normal or related to my issue.
Solution
Tested on my environment
min sdk 8, target sdk 19, compile with 19, sdk tool 24.0.2, platform tool 21, build tool 21.1.2
After delete the duplicated android-support-v4.jar, every works fine. The project can get compiled and run without any problem.
Did you update your appcompat-v7 to the latest version? In my settings
Android support repository 10, Android support library 21.0.3
Answered By - alijandro
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.