Johan Schoeman Expert Licensed User Longtime User Sep 2, 2017 #1 Where can I find the .aar that has ViewCompat.setBackground in it? Seems to be a never ending search...
Where can I find the .aar that has ViewCompat.setBackground in it? Seems to be a never ending search...
DonManfred Expert Licensed User Longtime User Sep 2, 2017 #2 probably inside this files... i copied them from the google maven repos https://www.dropbox.com/s/gltxwjg13a8yiwn/libscompat.zip?dl=0 You need them just in eclipse to reference them... Insde your wrapper you should add a dependson to support-v4 Code: @DependsOn(values={"com.android.support:support-v4"})
probably inside this files... i copied them from the google maven repos https://www.dropbox.com/s/gltxwjg13a8yiwn/libscompat.zip?dl=0 You need them just in eclipse to reference them... Insde your wrapper you should add a dependson to support-v4 Code: @DependsOn(values={"com.android.support:support-v4"})
Johan Schoeman Expert Licensed User Longtime User Sep 3, 2017 #3 DonManfred said: probably inside this files... i copied them from the google maven repos https://www.dropbox.com/s/gltxwjg13a8yiwn/libscompat.zip?dl=0 You need them just in eclipse to reference them... Insde your wrapper you should add a dependson to support-v4 Code: @DependsOn(values={"com.android.support:support-v4"}) Click to expand... Have tried all of them (the jars) in your post above....still the same error. No idea what the answer is at present...
DonManfred said: probably inside this files... i copied them from the google maven repos https://www.dropbox.com/s/gltxwjg13a8yiwn/libscompat.zip?dl=0 You need them just in eclipse to reference them... Insde your wrapper you should add a dependson to support-v4 Code: @DependsOn(values={"com.android.support:support-v4"}) Click to expand... Have tried all of them (the jars) in your post above....still the same error. No idea what the answer is at present...
DonManfred Expert Licensed User Longtime User Sep 3, 2017 #4 It you are talking about https://android-arsenal.com/details/1/6142 i put all files together in eclipse. after i added support-compat-25.3.1.jar the import can be resolved. Note that i am using android.jar from api 25
It you are talking about https://android-arsenal.com/details/1/6142 i put all files together in eclipse. after i added support-compat-25.3.1.jar the import can be resolved. Note that i am using android.jar from api 25
Johan Schoeman Expert Licensed User Longtime User Sep 3, 2017 #5 DonManfred said: It you are talking about https://android-arsenal.com/details/1/6142 i put all files together in eclipse. after i added support-compat-25.3.1.jar the import can be resolved. Note that i am using android.jar from api 25 Click to expand... Yes Manfred - that is exactly the one that I am trying to compile. I do have support-compat-25.3.1.jar in my libs folder but I keep on getting this error when I try to compile the library. I am lost and confused like a chameleon in a box of Smarties.....
DonManfred said: It you are talking about https://android-arsenal.com/details/1/6142 i put all files together in eclipse. after i added support-compat-25.3.1.jar the import can be resolved. Note that i am using android.jar from api 25 Click to expand... Yes Manfred - that is exactly the one that I am trying to compile. I do have support-compat-25.3.1.jar in my libs folder but I keep on getting this error when I try to compile the library. I am lost and confused like a chameleon in a box of Smarties.....
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2017 #6 You can let the IDE create the jar from the maven artifacts. Create a new project and add this line: Code: #AdditionalJar: com.android.support:support-v4 Run the project. A jar file named Objects\bin\extra\stan.jar will be created. You can use this jar in your Eclipse project. It will include ViewCompat.SetBackground if your maven repositories are updated. Edit: this method no longer works as the compiler is more sophisticated now and doesn't need to create this jar. Last edited: Dec 9, 2019
You can let the IDE create the jar from the maven artifacts. Create a new project and add this line: Code: #AdditionalJar: com.android.support:support-v4 Run the project. A jar file named Objects\bin\extra\stan.jar will be created. You can use this jar in your Eclipse project. It will include ViewCompat.SetBackground if your maven repositories are updated. Edit: this method no longer works as the compiler is more sophisticated now and doesn't need to create this jar.
Johan Schoeman Expert Licensed User Longtime User Sep 10, 2017 #7 You are too sharp Erel! Working without having to update my maven repositories. Old dogs can be learned new tricks....
You are too sharp Erel! Working without having to update my maven repositories. Old dogs can be learned new tricks....