在 android 应用中使用 Arcanimator
Using Arcanimator in android app
嗨,我想在一个 android 项目中使用 ArcAnimator and ArcLayout。
为此,我使用了这个依赖项
compile 'com.ogaclejapan.arclayout:library:1.0.1@aar'
compile 'com.github.asyl.animation:arcanimator:1.0.0'
但是我给出了这个错误信息
cannot resolve symbol'SupportAnimator'
cannot resolve symbol'ViewAnimationUtils'
在导入行中
import io.codetail.animation.SupportAnimator;
import io.codetail.animation.ViewAnimationUtils;
这很奇怪,因为我没有在这行给出这个错误
import io.codetail.animation.arcanimator.ArcAnimator;
import io.codetail.animation.arcanimator.Side;
在同一个图书馆。
谁能帮我解决这个问题?
您必须使用其他依赖项才能使用 Support Animator 说 https://github.com/kedzie/Support_v4_NineOldAndroids. Support Animator is not there in the package of the library that you have used. It’s not showing inside the package you have used, you can check at https://github.com/asyl/ArcAnimator/tree/master/animator/src/main/java/io/codetail/animation/arcanimator。
您还可以借助 https://github.com/ozodrukh/CircularReveal/releases 中提供的一些示例。
嗨,我想在一个 android 项目中使用 ArcAnimator and ArcLayout。
为此,我使用了这个依赖项
compile 'com.ogaclejapan.arclayout:library:1.0.1@aar'
compile 'com.github.asyl.animation:arcanimator:1.0.0'
但是我给出了这个错误信息
cannot resolve symbol'SupportAnimator'
cannot resolve symbol'ViewAnimationUtils'
在导入行中
import io.codetail.animation.SupportAnimator;
import io.codetail.animation.ViewAnimationUtils;
这很奇怪,因为我没有在这行给出这个错误
import io.codetail.animation.arcanimator.ArcAnimator;
import io.codetail.animation.arcanimator.Side;
在同一个图书馆。
谁能帮我解决这个问题?
您必须使用其他依赖项才能使用 Support Animator 说 https://github.com/kedzie/Support_v4_NineOldAndroids. Support Animator is not there in the package of the library that you have used. It’s not showing inside the package you have used, you can check at https://github.com/asyl/ArcAnimator/tree/master/animator/src/main/java/io/codetail/animation/arcanimator。
您还可以借助 https://github.com/ozodrukh/CircularReveal/releases 中提供的一些示例。