What you did was to build pvplayer_engine_test outside of Android, i.e., built using the native linux toolchain. Such an executable *cannot* be run on the emulator which is arm based.
To run an executable on the emulator/device, you need to compile using the provided Android toolchain. -Ravi On Jan 30, 2:11 am, "[email protected]" <[email protected]> wrote: > BTW, just a follow up. > > I tried running pvplayer_engine_test running on the host and followed > the steps according to the quick_start.txt and everything works fine. > > However, not the same behavior when running it on the target > (emulator). Here's what I did: > > 1) adb push <opencore>/engines/player/test/data/ /sdcard > 2) adb push <opencore>/build_config/opencore_dynamic/build/bin/linux/ > pvplayer_engine_test /data # this wasn't in the original text, but I > had to push the binary to the emulator since the binary is not located > in /sdcard > 3) adb shell "cd /data; ./pvplayer_engine_test -test L -source > test.mp4 -logfile -logall" # note that I cd'ed to /data since that's > where I pushed the binary > > I got the following error: > > ./pvplayer_engine_test: 1: Syntax error: "(" unexpected" > > However, running the test program on host (Ubuntu 8.04) works fine. > > rcp2278 > > On Jan 29, 12:43 pm, "[email protected]" <[email protected]> wrote: > > > Thanks! It seems to be working now. Followed the steps in the > > quick_start.txt and everything seems to be fine now. > > > rcp2278 > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
