I created a project, and when I run "ant install", I get the following:
install:[echo] Install file not specified.[Echo][echo] 'ant install' now requires specifying the purpose of the build.[Echo][Echo][echo] ant debug install[echo] ant install release[echo] ant tool installation[echo] This will create this package and install it.[Echo][echo] Alternatively, you can use [echo] ant installd[echo] ant installr[echo] ant installi[echo] ant installt[echo] to install only the existing package (this will not rebuild the package.)BUILD FAILED / Developer / SDKs / Android / tools / ant / build.xml: 1088:An error occurred while executing this line:/Developer/SDKs/Android/tools/ant/build.xml:1150: No messageTotal time: 0 seconds
install:[echo] Install file not specified.[Echo][echo] 'ant install' now requires specifying the purpose of the build.[Echo][Echo][echo] ant debug install[echo] ant install release[echo] ant tool installation[echo] This will create this package and install it.[Echo][echo] Alternatively, you can use [echo] ant installd[echo] ant installr[echo] ant installi[echo] ant installt[echo] to install only the existing package (this will not rebuild the package.)
BUILD FAILED / Developer / SDKs / Android / tools / ant / build.xml: 1088:An error occurred while executing this line:/Developer/SDKs/Android/tools/ant/build.xml:1150: No message
Total time: 0 seconds
Since your error indicates that you need to specify how you want your installation to be created.
If you just test using a debug build, everything will be fine.
Try using "ant debug install" instead of "ant install"
Starting with version 14 of the SDK, the install target is independent of the compilation target ... You must use, as indicated, ant debug install to build and install apug debug, etc.
install
ant debug install
** Update: **
See the SDK Tools change notes and link to the ant command for Android developers.
Source: https://habr.com/ru/post/901152/More articles:Recalculate claims for a SharePoint 2010 user while the user is still registered - claims-based-identityIs there a way to tell IntelliJ IDEA which output folder to use for the GWT compiler? - compiler-constructionHow to replace single quote (') with backslash and then single quote (\) with sed? - terminalHow to implement a self-promotion model (parent_id) in cakephp - database-designDynamically adding spring context configuration at runtime? - javaMy Python-Java interface, good design? And how to wrap JNI functions? - javaEclipse Android will not clear, do not update resources - androidReturning an object is a click of the user "Cancel" in WPF - wpfMySQL INSERT IF NOT EXIST another DELETE row - mysqlExcel Worksheet_Change event not working - excel-vbaAll Articles