eclipse - android sdk ( 23 ) completely broken - where is an archive of 22.6? -


--edit-- see comment missing archive

made mistake of downloading r23 of sdk , ant, cli project builds broken. still on ant/eclipse ndk....

i have read this.

i know state want unable find 22.6 version of $sdk_root/tools folder...

no [zipalign] .... gone

no [proguard] .... gone

oops. dont have backup of tools directory , can not seem find older sdk downloads on android sites ( links point r23 broken )

example stdout builds worked yesterday on 22.6

-package: [apkbuilder] current build type different previous build: forced apkbuilder run. [apkbuilder] creating speech-debug-unaligned.apk , signing debug key...  -post-package:  -do-debug:  [zipalign] running zip align on final apk...  build failed /home/rob/src/speech/build.xml:1113: following error occurred while executing line: /home/rob/src/speech/build.xml:1115: following error occurred while executing line: /home/rob/src/speech/build.xml:402: execute failed: java.io.ioexception: cannot run program "/usr/local/src/android-sdk-linux/tools/zipalign": java.io.ioexception: error=2, no such file or directory     @ java.lang.processbuilder.start(processbuilder.java:475)     @ java.lang.runtime.exec(runtime.java:610)     @ org.apache.tools.ant.taskdefs.execute$java13commandlauncher.exec(execute.java:862)     @ org.apache.tools.ant.taskdefs.execute.launch(execute.java:481) 

my sdk/tools below:

rob@ speech$ ls -l /usr/local/src/android-sdk-linux/tools total 17368 -rwxr----- 1 rob rob    3498 jun 23 13:11 android drwxr-x--- 2 rob rob    4096 jun 23 13:11 ant drwxr-x--- 3 rob rob    4096 jun 23 13:11 apps -rwxr----- 1 rob rob    3286 jun 23 13:11 ddms -rwxr----- 1 rob rob    1940 jun 23 13:11 draw9patch -rwxr----- 1 rob rob   33428 jun 23 13:11 emulator -rwxr----- 1 rob rob 2854417 jun 23 13:11 emulator64-arm -rwxr----- 1 rob rob 2884527 jun 23 13:11 emulator64-mips -rwxr----- 1 rob rob 2956240 jun 23 13:11 emulator64-x86 -rwxr----- 1 rob rob 2706541 jun 23 13:11 emulator-arm -rwxr----- 1 rob rob 2679855 jun 23 13:11 emulator-mips -rwxr----- 1 rob rob 2811534 jun 23 13:11 emulator-x86 -rwxr----- 1 rob rob    3464 jun 23 13:11 hierarchyviewer -rwxr----- 1 rob rob    1845 jun 23 13:11 jobb drwxr-x--- 8 rob rob    4096 jun 23 13:11 lib -rwxr----- 1 rob rob    2046 jun 23 13:11 lint -rwxr----- 1 rob rob   12191 jun 23 13:11 mksdcard -rwxr----- 1 rob rob    1293 jun 23 13:11 monitor -rwxr----- 1 rob rob    3176 jun 23 13:11 monkeyrunner -rw-r----- 1 rob rob  758210 jun 23 13:11 notice.txt -rwxr----- 1 rob rob    2259 jun 23 13:11 screenshot2 -rw-r----- 1 rob rob      70 jun 23 13:13 source.properties drwxr-x--- 2 rob rob    4096 jun 23 13:11 support drwxr-x--- 6 rob rob    4096 jun 23 13:11 templates -rwxr----- 1 rob rob    3219 jun 23 13:11 traceview -rwxr----- 1 rob rob    3054 jun 23 13:11 uiautomatorviewer 

i had same problem, after updating to:

  1. android sdk tools r23.0.2
  2. android sdk platform-tools 20
  3. android sdk build-tools 19.1

issue fixed. more info please @ "-build-setup" target in android build.xml(android_home\tools\ant\build.xml).

there should see setting paths zipalign tools:

    <target name="-build-setup" depends="-setup">        <!-- find location of build tools -->        <getbuildtools name="android.build.tools.dir" verbose="${verbose}" />        <property name="aidl" location="${android.build.tools.dir}/aidl${exe}" />        <property name="aapt" location="${android.build.tools.dir}/aapt${exe}" />        <property name="dx" location="${android.build.tools.dir}/dx${bat}" />        <property name="zipalign" location="${android.build.tools.dir}/zipalign${exe}" />        ...     </target> 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -