Recently I want to use the GitHub project, that is: https://github.com/keyboardsurfer/Crouton. Fashion replaces toast.
In fact, I have encountered many problems. Let's talk about them one by one.
Correct library errors.
- First, import the library folder to eclipse. There are many errors.
- Right-click the library project and select Properities. On the android tab, make sure thatThe project build target must be in API 14 or later. Select the is library below.
Then I created a new demo for testing. This demo requires the following important changes.
- Right-clickDemoProject, select Properities-> JAVA
Build path-> libraries-> Add libraries-> Android classpath container-> select library.
- Don't forget to import Crouton.
Import de. keyboardsurfer. Android. widget. Crouton. Crouton; import de. keyboardsurfer. Android. widget. Crouton. style;