zhuchen1109 / android_anim_engine

一个动画引擎库,可以实现android原生动画实现不了的效果
34 stars 14 forks source link

貌似有些编译不过 #1

Open daimajia opened 10 years ago

daimajia commented 10 years ago

编译方法是:

android update project -p . ant debug

报出错误如下

[javac] /Users/daimajia/Development/Demos/android_anim_engine/src/com/common/anim/demo/AnimDemoActivity.java:3: 错误: 找不到符号
    [javac] import com.zc.common.anim.CGLView;
    [javac]                          ^
    [javac]   符号:   类 CGLView
    [javac]   位置: 程序包 com.zc.common.anim
    [javac] /Users/daimajia/Development/Demos/android_anim_engine/src/com/common/anim/demo/AnimDemoActivity.java:4: 错误: 找不到符号
    [javac] import com.zc.common.anim.CScene;
    [javac]                          ^
    [javac]   符号:   类 CScene
    [javac]   位置: 程序包 com.zc.common.anim
    [javac] /Users/daimajia/Development/Demos/android_anim_engine/src/com/common/anim/demo/AnimDemoActivity.java:5: 错误: 找不到符号
    [javac] import com.zc.common.anim.Director;
    [javac]                          ^
    [javac]   符号:   类 Director
    [javac]   位置: 程序包 com.zc.common.anim
    [javac] /Users/daimajia/Development/Demos/android_anim_engine/src/com/common/anim/demo/AnimDemoActivity.java:15: 错误: 找不到符号
    [javac]     private CGLView mCglView;
    [javac]             ^
zhuchen1109 commented 10 years ago

property name="source.dir" value="src:src_anim_core" property name="source.absolute.dir" location="${source.dir}" 在你的脚本加上这二句应该就可以了

daimajia commented 10 years ago

效果很赞,就是太卡了... Nexus5上也只有20FPS

zhuchen1109 commented 10 years ago

demo里把FPS固定最高20了