Using holoeverywhere

独自空忆成欢 提交于 2019-12-10 11:54:52

问题


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?


回答1:


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!



回答2:


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



来源:https://stackoverflow.com/questions/16885019/using-holoeverywhere

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!