我正在尝试编译adobe Air ANE文件,但我不断收到此错误,我不确定如何解决:
[javac] /Users/feli/Desktop/Flurry Analytics/android/src/com/sticksports/nativeExtensions/flurry/FlurryEndSession.java:18: cannot access android.app.Activity
[javac] class file for android.app.Activity not found
[javac] FlurryAgent.onEndSession( context.getActivity() );
build.xml正在调用像这样的
<javac srcdir="../android/src" destdir="../android/temp/classes" includeantruntime="false">
<classpath>
<pathelement location="/Users/feli/Documents/adt-bundle-mac-x86_64-20130219/sdk/platforms/android-17/android.jar"/>
<pathelement location="../android/libs/FlashRuntimeExtensions.jar"/>
<pathelement location="../android/libs/FlurryAgent.jar"/>
</classpath>
</javac>
谢谢
答案 0 :(得分:1)
编辑: 愚蠢的错误是:路径上有一个错字“/Users/feli/Documents/adt-bundle-mac-x86_64-20130219/sdk/platforms/android-17/android.jar”一旦我修好了路径,ANT建立了项目成功。