I am trying to install holoeverywhere to ADT using instructions from
https://github.com/Prototik/HoloEverywhere/wiki/Import-in-IDE#eclipse
Unfortunately this ends with:
No valid Android XML Editor Delegate found for file /HoloEverywhere
Addon
The POM for com.google.android:support-v4:jar:r13 is missing, no
dependency information available
And hundreds of other similar errors. I tried it several times from scratch, doesn't help. I suspect installation steps changed again... Is anyone able to help?
I just successfully installed HoloEverywhere on ADT, and this is what I did:
Part I
Import the project from git following this instructions (for protocol use git)
This will create four new projects in your package explorer: HoloEverywhere Addon Preferences, HoloEverywhere Addon Slider, HoloEverywhere Demo and HoloEverywhere Library. Leave open just the last one.
remove HoloEverywhere/ActionBarSherlock/actionbarsherlock/libs/android-support-v4.jar
Copy HoloEverywhere/library/libs/android-support-v4-r13.1.jar to
HoloEverywhere/ActionBarSherlock/actionbarsherlock/libs/
on Eclipse mark the Holoeverywhere Library project as Android library(is Library).
Part II
File->import->Existing Android Code into Workspace. Import "HoloEverywhere/ActionBarSherlock/actionbarsherlock/".
Now you have actionbarsherlock as a new project in your Package Explorer
On Eclipse mark this project as Android library(is Library).
On HoloEverywhere Library project Android properties add actionbarsherlock as library.
Part III
On your Android project properties add "HoloEveryWhere Library" project as library.
Part IV
Enjoy!
The project holoeverywhere developers sometimes change project instructions, locations, etc. for better adaptting to platforms like eclipse.
You may have all possible problems as other people do, so in github there are lot of fixes and answers. Here is the link:
HoloEverywhere issues
Related
I'm working on an Eclipse Android project (target SDK 18). Since I wanted to use some Material Design features from Android 5 I added the library project Design Support Library (Target SDK 23) to Eclipse and linked it to my project. This project links to another library project called Android-support-v7-appcompat.
I get the following error: "The import [...].myProject.R cannot be resolved".
Whenever I remove the support library from my project the error disappears.
Since a lot of people had the same problem before I already tried rebuilding and cleaning the project a couple of times. I read this post and added the android-support-v7-appcompat.jar to my project. I delted the support v4 jar from the support-v7 libs folder. Then I followed this guide and made sure that the \res folders didn't contain any errors. Still no success. I hope someone can help me.
I created a sample HelloWorld app on Android using Eclipse! It's not importing a java package. What could be wrong?
Try rebuilding your project. This link explains: http://izvornikod.com/Blog/tabid/82/EntryId/12/How-to-force-Eclipse-to-rebuild-generated-resource-class-R-in-Android-project.aspx
First you have to remove error from res folder its might be a reason nd then clean your project
2.Check you add android support v7 appcompat library in your project if not then first you have to add it in your project and also clear android support v7 appcompat library. if library having error then never reslove in your project.
may this info. help to you :)
I would like to add the support library for Cardview to my project (I am using Eclipse). I found this TUTORIAL on Android website. I am doing everything according to it (I've already succesfully added AppCompat library to the project this way), but I am stuck at fourth point of adding this particular library to my project. In the window in which I should see the CardView library there is nothing:
What am I doing wrong?
The Library Project you need to import in Eclipse (via Import->Existing Android Code into Workspace) is located in your Android SDK folder: Android\android-sdk\extras\android\support\v7\cardview
I am trying to add Support Library v7 to my clean android project as support library (with resources). I followed every instruction here: http://developer.android.com/tools/support-library/setup.html#download and android.support.v7.* package is not visible in my main project.
I don't see any errors in Problems tab, app compiles and runs normally but i cannot import android.support.v7 package which apparently isn't in build path in main project. I went through instruction twice in clean projects/workspace. I cleaned project, restarted Eclipse and nothing... All resources from library project are unreachable too.
Help needed!!!! Stuck for 2 weeks on this and help needed.
I've recently imported the facebook sdk for android and its projects into my workspace. It shows up errors and the problems:
Archive for required library: '/home/Documents/facebook-android-sdk-3.0.2.b/facebook/libs/._android-support-v4.jar' in project 'FacebookSDK' cannot be read or is not a valid ZIP file
And the samples get errors along the line of:
The container 'Android Dependencies' references non existing library '/home/Documents/facebook-android-sdk-3.0.2.b/facebook/bin/facebooksdk.jar'
The things I have done following the other discussions without any success are
cleaned project
set the Facebook SDK as library
looked at the build path section and added external jar consisting of facebook/libs
imported fb sdk like 20 times and into different folders.
made sure my java compiler was 1.6
HELP would be very greatly appreciated!!!!
Take the lastest version of android-support-v4.jar (in your sdk environement : sdk/extras/android/support/v4/android-support-v4.jar) and replace in your project and library project do not create conflict.
The steps to importing a library are:
Download the library
Place the library in the libs folder of the project.
Build the project
Do Not attempt to import the library using some import wizard.
I suspect either your download was corrupted, and you need to do it again, or you put the file into the wrong directly.
I think your problem is that the android.support.v4 versions are different, take the one from your project and replace the one in the Facebook sdk lib folder, it should dismiss the clash.
As per your question, I think you are not able to compile once you add the SDK to your project. Do you get an error saying unable to run as library?
If so that means you have included this as library and create your project as a library to be used further. It is a common mistake that I have seen many people do when they try to import a library to use and tick mark the checkbox is Library. This actually means you want this project to be treated as a library for future use. Just try to add the SDK and do not tick mark the checkbox and this project will run fine.
Many forums will just tell you to tick that checkbox and you will be stuck on this error for long time.
For any .jar file related issues you have to make the .jars files compatible as there hashing a problem and the two jars are not compatible with each other (a version issue).