Skip navigation
Currently Being Moderated

Easy Install Android SDK via Dreamweaver CS5.5 Configure Application Framework

May 14, 2011 11:56 AM

I have been trying to download Android SDK using Configure Application Framework from Site >> Mobile Applications but get the following error message everytime I try:

5-14-2011 11-52-00 AM.png

After clicking on "Easy Install..." button:

5-14-2011 11-52-20 AM.png

According to several tutorials available in Adobe's development network, this should be as easy as clicking on the button. I wonder what could be the issue on my end. Could you help please?

 

Thank you,

 
Replies
  • Currently Being Moderated
    May 14, 2011 2:45 PM   in reply to Fawad Rashidi

    Does a progress bar appear before it fails? If not then it could be a permissions error. The easy install will attempt to download the files into a temp folder in your "D:\SDKs\" folder then copy them into the android-sdk-windows folder. If could be it can't create the temp folder there. If you have the "D:\SDKs" window open when you click easy install, you might see these folders created and then deleted. If that happens then I'd look at your network connection and firewall as maybe it couldn't download them.

     

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2011 2:53 PM   in reply to ChrisBank

    Same problem exists on the Mac side.  So if it's not creating permissions it is on both platforms.  Tried moving to different folders, checking permissions after a bad install and the read/write privileges are there.

     
    |
    Mark as:
  • Currently Being Moderated
    May 14, 2011 4:12 PM   in reply to Fawad Rashidi

    While the Easy Install buttons appears to have promise, I found it easier to just get the installer from Google and then pointed DW to that folder and it recognized Google in a second.

     

     

    http://developer.android.com/sdk/index.html

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2011 10:21 AM   in reply to Fawad Rashidi

    It looks like one of the zip files that ez install is downloading from the google site is corrupted. We're looking into the issue to see if there is anything we can do on our side. Also, if your app crashes in the emulator, you may want to try using an older version of the SDK. There was a bug in the emulator in the latest version of the SDK as we were getting ready to release, which is why ez install tries to download a specific version that we know worked when we shipped.

     

    Here's a quick blog on the emulator issue:

     

    http://tetontech.wordpress.com/2011/01/15/android-emulator-defect-caus es-app-crash/

     

    There will also likely be a tech note once we have a better solution for this.

     

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2011 8:54 PM   in reply to Fawad Rashidi

    The emulator is launched on the command line. If you open up the targets folder where you application is getting built, there should be a file named buildlog.log in there. If you open that file then it could have more information. Near the bottom of the file there should be a section showing how the command is getting launched. If you see something in there that looks suspicuous or an actual error is getting logged then post it here. You can can also test the command that's getting run on the command line. Everything between the <DW>--- ---</DW> can get copied and pasted line by line into a command prompt and run (I think you can also copy & paste the whole section into a .bat file and run it too).

     

    Hope that helps,


    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    May 19, 2011 12:17 PM   in reply to Fawad Rashidi

    Thank you all for your patience while we investigated the issue.

     

     

    If you have not resolved the issue (e.g. by manually installing the Android SDK), then see this document for instructions to get this fixed:

     

    http://kb2.adobe.com/cps/904/cpsid_90408.html

     
    |
    Mark as:
  • Currently Being Moderated
    May 24, 2011 2:07 PM   in reply to Chris Bank - ReflowDev

    Hi

     

    First I would like to thank you for your help. I had the "failed to install" problem and now it is fixed.

     

    I have another problem and still can't build and emulate.

     

    Soooo :

    - Android SDK is installed correctly

    - Emulator works (I can launch it without a problem)

    - When I do a build I have the following error :

     

     

    CaERROR: Cannot copy phonegap files. Terminating.java.io.FileNotFoundException: com.mycompany.testapp\src\com\mycompany\testapp\DefaultActivity.java (The system cannot find the path specified)

     

    ERROR: Clone failed
    OPERATION CANCELED

     

    Any idea why it fails ?

     

    Help me, Obi Wan Kenobi, you're my only hope

     
    |
    Mark as:
  • Currently Being Moderated
    May 27, 2011 8:18 AM   in reply to Fawad Rashidi

    I'm getting the same "cannot copy phonegap files" error listed above, so any suggestions to fix this would be appreciated.  I'm running XP and installed the Android SDK myself from Google rather than using the easy install which failed for me.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 12:25 AM   in reply to Lts95

    Hello everybody.

     

    I've got the same error "CdERROR: Cannot copy phonegap files. Terminating.java.io.FileNotFoundException" blabla...

    I check my easy install and refresh it in a new folder.

    I change the nativeappframework.js and it's the same issue.

    The android emulator works fine but i can't test my build.

    Anybody have an idea?

    Thank' a lot for help.

     

    Eric

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2011 6:34 PM   in reply to Fawad Rashidi

    Hi Guys,

    Everything seems to be working for me till build and emulate. It loads the phone emulator but my app dose not appear. I have loaded the meridian tutorial and his ones works. The difference i noticed was when the screen says building for android it cuts off my one then and there. When I use the meridian app it says "installing app into android emulator". Im using the template that came with DW5.5 so i suppose there is a loose bit of code in there somewhere.

     

    Any suggestions anyone? In the meantime Im gonna pull Meridian apart and see whats so special in it.

     

    Im using Win 7 64x with the android sdk installed on my C root.

     

    Thanks,

    Enda

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2011 4:15 PM   in reply to Fawad Rashidi

    I have followed all the instructions for the test application that adobe supplied and i cant get it to run the emulator below is my log file what is wrong and why wont it run.

     


    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe devices
    ____________________
    </DW>
    * daemon not running. starting it now on port 5037 *

     

    * daemon started successfully *

     

    List of devices attached

     

     

     

    Launching the Android emulator
    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\tools
    C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
    ____________________
    </DW>
    Cloning seed app for Android
    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\DWPHON~1\android\scrip ts\droidGap.bat "C:\Program Files\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp " "Meridien" com.adobe.meridien 1.0 "C:\Users\android-sdk" 8
    ____________________
    </DW>

     

    CaCreated project directory: C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\ad obe\meridien

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\ad obe\meridien\DefaultActivity.java

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\bin

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\libs

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\values \strings.xml

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\layout \main.xml

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawab le-hdpi

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawab le-mdpi

     

    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawab le-ldpi

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\AndroidMan ifest.xml

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\build.xml

     

    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\proguard.c fg

     

    CLONE SUCCESSFUL

     


    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
    ____________________
    </DW>
    Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml

     

        [setup] Android SDK Tools Revision 12

     

        [setup] Project Target: Google APIs

     

        [setup] Vendor: Google Inc.

     

        [setup] Platform Version: 2.2

     

        [setup] API level: 8

     

        [setup]

     

        [setup] ------------------

     

        [setup] Resolving library dependencies:

     

        [setup] No library dependencies.

     

        [setup]

     

        [setup] ------------------

     

        [setup]

     

        [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (2) is lower than the project target API level (8)

     

        [setup]

     

        [setup] Importing rules file: tools\ant\main_rules.xml

     

     

     

    -debug-obfuscation-check:

     

     

     

    -set-debug-mode:

     

     

     

    -compile-tested-if-test:

     

     

     

    -pre-build:

     

     

     

    -dirs:

     

         [echo] Creating output directories if needed...

     

        [mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\gen

     

        [mkdir] Created dir: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes

     

     

     

    -aidl:

     

         [echo] Compiling aidl files into Java classes...

     

     

     

    -renderscript:

     

         [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...

     

     

     

    -resource-src:

     

         [echo] Generating R.java / Manifest.java from the resources...

     

     

     

    -pre-compile:

     

     

     

    compile:

     

        [javac] C:\Users\android-sdk\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

     

        [javac] Compiling 2 source files to C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes

     

     

     

    -post-compile:

     

     

     

    -obfuscate:

     

     

     

    -dex:

     

         [echo] Converting compiled files and external libraries into C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\bin\classes.dex...

     

     

     

    -package-resources:

     

         [echo] Packaging resources

     

         [aapt] Creating full resource package...

     

    [aapt.exe]     (skipping index file 'C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\assets\www\img\Thumbs.db')

     

    [aapt.exe] libpng error: Not a PNG file

     

    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-hdpi\splash.pn g

     

    [aapt.exe] libpng error: Not a PNG file

     

    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-ldpi\splash.pn g

     

    [aapt.exe] libpng error: Not a PNG file

     

    [aapt.exe] ERROR: Failure processing PNG image C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\res\drawable-mdpi\splash.pn g

     

     

     

    BUILD FAILED

     

    C:\Users\android-sdk\tools\ant\main_rules.xml:510: null returned: 1

     

     

     

    Total time: 12 seconds

     

    OPERATION CANCELED
    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe kill-server
    ____________________
    </DW>

     

    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe devices
    ____________________
    </DW>
    * daemon not running. starting it now on port 5037 *

     

    * daemon started successfully *

     

    List of devices attached

     

     

     

    Launching the Android emulator
    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\tools
    C:\windows\system32\cmd.exe /u /c "C:\Users\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd DW_AVD"
    ____________________
    </DW>

     

    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER
    C:\windows\system32\cmd.exe /u /c C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
    ____________________
    </DW>
    Buildfile: C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml

     

        [setup] Android SDK Tools Revision 12

     

     

     

    BUILD FAILED

     

    C:\Users\Craig\KCMEDI~1\Apps\COMADO~1.MER\build.xml:77: Unable to resolve target 'Google Inc.:Google APIs:8'

     

     

     

    Total time: 0 seconds

     

    OPERATION CANCELED
    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\Users\android-sdk
    set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\Users\ANDROI~1\PLATFO~2
    C:\Users\android-sdk\platform-tools\adb.exe kill-server
    ____________________
    </DW>

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 22, 2011 5:50 PM   in reply to Fawad Rashidi

    hi

     

    I have been having the same problems too and still cant get anywhere with it. almost a t the point of throwing out the baby with the water ....

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 8, 2011 8:50 AM   in reply to Geoff Lord

    Hi folks

     

    First of all: Great idea to integrate PhoneGap directly in DW.

     

    However, I have the same problems as the guys in the two posts before mine.

     

    The end of the log-file looks like this:

     

    <DW>
    ____________________
    set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
    set ANDROID_HOME=C:\android-sdk
    set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
    set PATH=%JAVA_HOME%\bin;%PATH%
    cd C:\ANDROI~2\PLATFO~2
    C:\android-sdk\platform-tools\adb.exe kill-server
    ____________________
    </DW>

     

    The build and all the stuff before is ok! So partially good news. The only thing which does not work seems to be launching the emulator.

     

    Any ideas on how to solve this? Help would be very much appreciated.

    Thanks, Albert

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 24, 2011 3:33 AM   in reply to Carey Burgess

    Hi Carey,

     

    same problem here:

    I did install the Dreamweaver update that's supposed to fix the easy install and rebooted but I still get the error.

    The error shows up so fast that I had to do a screen-recording to get it:

    dw_update01.png

    dw_update02.png

    Hope this helps finding out what's going on.

     

    Will try installing manually to get this running until Friday (need it for the Adobe Tech Summit 2011)

     

    Cheers,

     

    Mike

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2011 11:01 AM   in reply to Mike_Edel

    Hi, Mike.

     

    Installing 11.5.1 does fix the issue we were having back in May; however, there seems to be a new issue which is causing the same failure of Easy Install.

    See this post for a workaround: http://forums.adobe.com/message/3989733#3989733

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 31, 2011 8:39 AM   in reply to Carey Burgess

    Hi Carey,

     

    thanks for the hint - that did work and the build process is working fine.

     

    Now I'm only having problems getting the result to run in the emulator (the messagebox after the build says the run has completed successfully but I never see/saw anything in the emulator)

    Emulating the SDK example projects works fine so it doesn't seem to be a broken emulator.

     

    Cheers,

     

    Mike

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 9, 2011 7:43 PM   in reply to Mike_Edel

    Hi Mike - I am having the same problem.  This helped out some people, but not me: http://forums.adobe.com/message/4009927#4009927

     

    edit: got it to work - see link.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 10, 2011 2:03 AM   in reply to cymbals

    @cymbals:

    thanks a bunch - that fixed the build + emulate problems for me (it did build before but never ran in the emulator)

    I'ts a bit of a hassle to fix this for every project but I hope the Dreamweaver team can provide a general fix in a future update.

     

    @"Adobe" regarding the "Easy Install": If every change to the different download sites breaks this it doesn't seem to make that much sense to me after all. And I guess you can't even check for all dependencies with that function.

    In my case I was missing the JDK in any case (the Android SDK notified me of that) so the whole process wouldn't have worked anyway.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 26, 2011 10:02 PM   in reply to Enda_99

    “It loads the phone emulator but my app dose not appear.” me too。how to Solve it

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points