2天后,我成功了,我已经创建了在Eclipse中导入
ShowcaseView的步骤,这可能对您有所帮助.
如何在Eclipse中使用Showcase View.
- Right click on Project Explorer
- Import -> Android -> Existing Android Code Into Workspace
- Select Extracted "ShowcaseView-master"
- Check both project "library" and "MainActivity"
- Check "Copy projects into workspace"
- Finish.
(导入后可以看到导入的2个项目,即“main”和“SampleActivity”,您可以将“main”更改为“libShowcaseView”,将“SampleActivity”更改为“ShowcaseViewDemo”,这样您就可以轻松识别.:))
>你可以在“ShowcaseViewDemo”中看到错误(别担心……),看到src /文件夹也是空白的(在“libShowcaseView”和“ShowcaseViewDemo”中):)正确???别介意.
>在“libShowcaseView”项目中创建以下包. See Example.
- com.github.amlcurran.showcaseview
- com.github.amlcurran.showcaseview.targets
并从/ java / com / github / amlcurran / showcaseview和/ java / com / github / amlcurran / showcaseview / targets分别移动所有java文件.
>在“ShowcaseViewDemo”项目中创建以下包. See Example.
- com.github.amlcurran.showcaseview.sample
- com.github.amlcurran.showcaseview.sample.animations
- com.github.amlcurran.showcaseview.sample.legacy
- com.github.amlcurran.showcaseview.sample.v14
并按上述方式移动文件(分别来自java文件夹).
>现在右键单击“libShowcaseView”项目 – > properties-> Android->下移并选中“Is Library”,然后将“actionbarsherlock”添加为Library. See Preview
>现在在ShowcaseViewDemo中添加为库. Goto属性“ShowcaseViewDemo” – > Android-> Add->选择“libShowcaseView” – > Ok …
>我认为你现在没有遇到错误.你可以跑.
您可以随时ping任何建议或帮助.
快乐的ShowcaseViewing …