tanzirul / a3e

Automatic Android App Explorer
spruce.cs.ucr.edu/a3e
Other
41 stars 22 forks source link

build failed on "build.xml" #4

Closed tingsu closed 9 years ago

tingsu commented 10 years ago

Hi, the a3e world

I am a newer to a3e.
I run into a build failure when invoking the depth-first search on an example android app. 
It seems need to customize the "build.xml", can someone give me any instructions?

The log:

BUILD FAILED /Users/tingsu/Documents/Projects/a3e/troyd/build.xml:83: Cannot find /Users/tanzirulazim/Dropbox/PhD/phd_data/tools/android_sdk/android-sdk-macosx/tools/ant/build.xml imported from /Users/tingsu/Documents/Projects/a3e/troyd/build.xml

Total time: 0 seconds Buildfile: /Users/tingsu/Documents/Projects/a3e/troyd/build.xml

BUILD FAILED /Users/tingsu/Documents/Projects/a3e/troyd/build.xml:83: Cannot find /Users/tanzirulazim/Dropbox/PhD/phd_data/tools/android_sdk/android-sdk-macosx/tools/ant/build.xml imported from /Users/tingsu/Documents/Projects/a3e/troyd/build.xml

Total time: 0 seconds shell$ adb install /Users/tingsu/Documents/Projects/a3e/bin/../troyd/bin/troyd.apk 1153 KB/s (676113 bytes in 0.572s) shell$ adb uninstall course.examples.UI.MenuExample shell$ adb install course.examples.UI.MenuExample.resigned.apk 802 KB/s (46417 bytes in 0.056s) shell$ adb shell am startservice -n umd.troyd/.Ignite -e AUT course.examples.UI.MenuExample.HelloAndroidWithMenuActivity

At last, the a3e tool hangs on the last command line. Thanks in advance!

shauvik commented 9 years ago

You need to go inside troyd folder and do this:

android update project -p .

Android will then automatically updating references to make this project buildable by ant.

tingsu commented 9 years ago

Thanks, shauvik ! It works.