Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

error after run command "ant setup-libs" #57

Open
hnyashiro opened this issue May 2, 2017 · 4 comments
Open

error after run command "ant setup-libs" #57

hnyashiro opened this issue May 2, 2017 · 4 comments

Comments

@hnyashiro
Copy link

D:\XMPP\jitsi-android-master\jitsi-android-master>ant setup-libs
Buildfile: D:\XMPP\jitsi-android-master\jitsi-android-master\build.xml

define-jarjar:

create-asset-dex:
[getbuildtools] Using latest Build Tools: 18.1.0
[delete] Deleting directory D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[copy] Copying 20 files to D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\protocol-sip.jar
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\smacklib.jar
[jarjar] Building jar: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs\protocol-jabber.jar
[dex] input: D:\XMPP\jitsi-android-master\jitsi-android-master\bin\asset-libs
[dex] Converting compiled files and external libraries into D:\XMPP\jitsi-android-master\jitsi-android-master\bin\jitsi_bundles_dex_dir\classes.dex...
[dx] 'E:\Program' 不是内部或外部命令,也不是可运行的程序
[dx] 或批处理文件。

BUILD FAILED
D:\XMPP\jitsi-android-master\jitsi-android-master\build.xml:152: null returned: 1

Total time: 2 seconds

D:\XMPP\jitsi-android-master\jitsi-android-master>

@hnyashiro
Copy link
Author

D:\XMPP\jitsi-android-master>ant setup-libs
Buildfile: D:\XMPP\jitsi-android-master\build.xml

BUILD FAILED
Target "setup-libs" does not exist in the project "LauncherActivity".

Total time: 0 seconds

@saghul
Copy link
Member

saghul commented May 3, 2017

Please note this project has been unmaintained for a while: https://github.com/jitsi/jitsi-android#unmaintained

@diegobill
Copy link

@hnyashiro , Did you have this problem?

$ ant setup-libs -Dsdk.dir=$ANDROID_HOME
Buildfile: /home/felix/workspace/jitsi-android-459below/build.xml

BUILD FAILED
/home/felix/workspace/jitsi-android-459below/build.xml:49: Cannot find /home/felix/Android/Sdk/tools/ant/build.xml imported from /home/felix/workspace/jitsi-android-459below/build.xml

Total time: 0 seconds

I think this is the problem processing/processing-android#307

What sdk version do you using?

@uniqueid001
Copy link

https://stackoverflow.com/a/42921645/1172714

You are correct: Google removed the ant build system from Android SDK 25.3.0. You either need to use an older Android SDK which still includes the ant scripts, or you need to update jitsi-android's build to use Gradle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants