|
I saw the headline and set out to try the PhysicsEffects examples on my Android phone.
I'm using: - Ubuntu 12.04 - Android NDK r8 - Target Android platform 2.3.3 (my phone runs 2.3.7) - Ant 1.8.2 - Bullet release 2.80 SP1 rev2531 (Unix line endings)
I used ndk-build to build the PfxLibrary and afterwards I built the PfxApp_1_Simple using the ndk-build command, all seemingly ok.
Per the readme I then ran 'ant compile', but this gave errors, mainly stating that the project needed updating by using "android update project". This forced me to remove the original build.xml, and I ran "android update project --target 1 -p ../PfxApp_1_Simple', after which new files were generated.
But after running "ant compile" again after this operation, it told me the Android sdk could not be located. I found out the sdk location being pointed to by the file 'local.properties' assumed it to be on a (non-existing) drive named F:, in Windows notation. After changing that to my actual android sdk location, I once again ran 'ant compile', only to be greeted by another error: Target "compile" does not exist in the project "PfxApp_1_Simple".
So then I tried to run "ant debug", which did work and generated a slew of APK files. But when I install them trough "ant debug install" or when I try to run them on the phone through Eclipse, they all crash.
Any idea on what I'm doing wrong? I added the output Eclipse generated when I tried to use it to run PfxApp_1_Simple on my phone.
| Attachments: |
log.txt [5.38 KiB]
Downloaded 44 times
|
|