I am trying to use a web server (written in php) to create an android project (Apache server. The PHP script just calls proc_open to run "/ vol1 / android_sdk / android-sdk-linux / tools / android update project --target 4 --name Theme2 --path / vol1 / tmp / BuildTest "
android is running, but it returned "android: cannot find sdkmanager.jar"
I tried to work around this by setting: CLASSPATH = $ ANDROID_SDK_HOME / tools / Library in the environment, but this did not change the result.
Can anybody help?
Thanks.
source share