From: devone <de...@ea...> - 2011-09-01 22:54:00
|
Hi everyone, while I can successfully compile and run demos, I cannot compile a migrated project. The problem is that the ant task "compile" doesn't find the sdk.dir. This is the response: macpro$ ant run Buildfile: /Users/macpro/Documents/workspace/Myapp/build.xml -xmlvm-init: -xmlvm-init-target: -xmlvm-requirement: run: BUILD FAILED /Users/macpro/Documents/workspace/Myapp/nbproject/xmlvm.xml:60: The following error occurred while executing this line: /Users/macpro/Documents/workspace/Myapp/nbproject/build-Android.xml:7: Property 'sdk.dir' should properly be defined in 'local.properties' file. Please define the location of the Android SDK in order to compile the Android project. Compilation will abort now. Following the content of local.property # The location of the AndroidSDK. # Since this file is included in all Android demo projects, it is advised # to use an absolute path, or else the demo projects will not be properly # configured. # sdk.dir=${user.home}/android-sdk-mac_x86 xmlvm.install=${user.home}/xmlvm Same result if the property is set to /Users/macpro/android-sdk-mac_x86 Can someone help me? Thanks in advance Devone |