PhoneGap Build Settings for Android SDK

On Mac 10.6.8, Dreamweaver CS6
I want to test the PhoneGap Build Service with the default  "Hey, it's PhoneGap" index.html page. Specifically, I want to run the resulting apk inside an Android emulator. In preparation for this, I have:
1) Downloaded the Android SDK
2) Run...
android-sdk-macosx/tools/android sdk
     ... from a Terminal window
     This launches the Android SDK Manager, which I have used to download
Android 2.2 (API 8 - Froyo) and all its associated files
Android SDK Tools
Android SDK Platform-tools
Android Support Library
(I have also installed Eclipse, but I think that that is irrelevant for the current task)
4) Run...
android-sdk-macosx/tools/android avd
     ... from a Terminal window
This opens the Android Virtual Device Manager, which I have used to create a Virtual Device:
Name Froyo
Target Android 2.2 (API level 8)
Skin WVGA800
Located at /Users/<username>/.android/avd/Froyo.avd
This Dreamweaver Help page says:
Once you've installed the Android SDK, you'll need to start the Android SDK and AVD Managers, and select the Android tools you want to work with locally on your computer. Dreamweaver uses the information you select during this initial setup to populate the Android emulator settings in the PhoneGap Build Service panel. For more information on specifying these settings, see the Android documentation.
(My emphasis)
I'm guessing that I've done the parts of these instructions in italics, but I get lost when I reach the part in bold. The window that opens when I select Site > PhoneGap Build Service > PhoneGap Build Settings asks me to "provide the root paths to the [Android] sdk". None of the paths that I have provide seem to satisfy the Emulate Application button in the Build Panel.
Question: What folder should I select as the root path to the SDK?
Thanks in advance,
James

Lexogram wrote:
All that's missing is to understand how to convince Dreamweaver CS6 to perform the same steps, rather than going through a Terminal application.
I haven't installed the Android SDK on my Mac. Dealing with Xcode was painful enough for me.
However, I do have the Android SDK installed on Windows. I installed it at the top level of my C drive in C:\dw-android. All that was necessary to register it in the PhoneGap Build Settings panel was to enter C:\dw-android in the SDK location field. As long as you have the correct path to the SDK, it should be the same on a Mac.
I used the PhoneGap Build Service panel to build the app, and then clicked the Download icon. Once it had downloaded, I selected the AVD and target version of Android, as shown in the following screen shot:
After clicking Launch, it started the emulator and displayed the app. I found it necessary to make sure the AVD and target both used the same version of Android. Otherwise, it just launched the emulator, but the app didn't load.

Similar Messages

  • Xcode 3.2.6 best build settings for Mac

    Hi!
    I'm using Xcode 3.2.6 on Mountain Lion 10.8.5 to create Applescript based applications.
    They are tiny utilities that needs more complex UI Applescript can provide.
    I''m wondering what's the best build settings for applications aimed to run on Mac OS X
    - since 10.6
    - non universal binary (no PPC code)
    - 64 and 32 bit
    Thanks for your help.

    Mark,
    Now I'm confident about my buids.
    red_menace,
    Ok. That's what I was affraid about. So if I want to go further, I have to learn AppleScriptObjC.
    But the learning curve…
    I'm not a developper. Just a graphic designer.
    Don't have the time to check out this link, but maybe the solution for a smooth transiton to AppleScriptObjC is there:
    http://www.macosxautomation.com/applescript/apps/runner_vanilla.html
    Thanks both of you.

  • How to check proxy settings for android

    Hi...when i try to go to youtube in mozilla android, it won't go at all and gives me a message to check my proxy settings...I tried as I may ...could not find or know what proxy to change...see no network options like my "Windows computers"...which I have set for "no proxy" ...pity...I added a lot of cool features to firefox and can't go to youtube and some other sites too.*john

    Hey John,
    I am sorry to hear that on mobile the Firefox for Android is asking to check the proxy. Does this happen on multiple networks?
    If there is a proxy it should be listed in about:networking. Plug that into your url and see if there is a proxy listed.
    There is also a nifty add on [https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCYQFjAB&url=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Fmobile%2Faddon%2Fproxy-mobile%2F&ei=0n5JVM_AJtCmyATo34KICg&usg=AFQjCNEiZyw3XPMF0dUWJN36Lv5rJnKtKg&bvm=bv.77880786,d.aWw Mobile Proxy] that might be able to list them.

  • PhoneGap Build Extension for Dreamweaver 2014.1 is not working

    @adobeexchange
    Yeah bad news
    There is an error message which tells me that the plugin is only working with the version 2014.0
    If the source code for this extension would be available, i could update the extension for us.

    Hi Siegfried,
    Dreamweaver’s direct integration with PhoneGap Build to package mobile applications is no longer supported in all versions. Ongoing changes to PhoneGap’s APIs, security measures, and feature set have been outpacing updates to Dreamweaver, and to give you the best experience when using PhoneGap Build, you continue to package mobile applications using the Adobe PhoneGap Build service in the Cloud.
    Thanks
    Mudit

  • Phonegap Build service for jquery mobile themed page not showing on mobile

    I am trying to use jQuery mobile inside the Adobe Dreamweaver CC and then use phonegap build service to deploy the application to my phone. The issue here is that the Dreamweaver design panel is showing the jQuery Mobile UI but the application APK which is deployed over the phone does not.
    Please find below the screenshot of Dreamweaver CC with design and code panel.
    http://stackoverflow.com/questions/17334492/adobe-dreamweaver-cc-phonegap-build-service-is sue
    Find below the entire index.html code:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>jQuery Mobile Web App</title>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="jQueryAssets/jquery.ui.core.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.theme.min.css" rel="stylesheet" type="text/css">
    <link href="jQueryAssets/jquery.ui.accordion.min.css" rel="stylesheet" type="text/css">
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="jQueryAssets/jquery-ui-1.9.2.accordion.custom.min.js" type="text/javascript"></script>
    </head>
    <body>
    <div data-role="page" id="page">
        <div data-role="header">
            <h1>Page One</h1>
        </div>
        <div data-role="content">  
            <ul data-role="listview">
                <li><a href="#page2">Accenture</a></li>
                <li><a href="#page3">Digital</a></li>
                <li><a href="#page4">CASF RIA</a></li>
                <li><a href="#page5">Hybrid Applications using PhoneGap</a></li>
            </ul>      
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page2">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>ACCENTURE Page</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="selectmenu" class="select">Select Technology Areas:</label>
            <select name="selectmenu" id="selectmenu">
              <option value="option1">Digital</option>
              <option value="option2">Oracle</option>
              <option value="option3">Mobile</option>
            </select>
          </div>
          <div data-role="fieldcontain">
            <label for="slider">Value:</label>
            <input type="range" name="slider" id="slider" value="0" min="0" max="100" />
          </div>
          <div data-role="fieldcontain">
            <label for="flipswitch">Option:</label>
            <select name="flipswitch" id="flipswitch" data-role="slider">
              <option value="off">Off</option>
              <option value="on">On</option>
            </select>
          </div>
          <div data-role="collapsible-set">
            <div data-role="collapsible">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
            <div data-role="collapsible" data-collapsed="true">
              <h3>Header</h3>
              <p>Content</p>
            </div>
          </div>
        </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page3">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>DIGITAL Page</h1>
        </div>
        <div data-role="content">  
        <div id="Accordion1">
          <h3><a href="#">Section 1</a></h3>
          <div>
            <p>Content 1</p>
          </div>
          <h3><a href="#">Section 2</a></h3>
          <div>
            <p>Content 2</p>
          </div>
          <h3><a href="#">Section 3</a></h3>
          <div>
            <p>Content 3</p>
          </div>
        </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page4">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>CASF RIA</h1>
        </div>
        <div data-role="content">
          <ol data-role="listview" data-inset="true" data-split-icon="arrow-d">
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
            <li><a href="#">
              <h3>Page</h3>
              <p>Lorem ipsum</p>
              <span class="ui-li-count">1</span></a><a href="#">Default</a></li>
          </ol>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <div data-role="page" id="page5">
        <div data-role="header">
            <a href="#page"><label style="color:white; font-weight:bolder">BACK</label></a><h1>HYBRID APPLICATIONS using PhoneGap</h1>
        </div>
        <div data-role="content">
          <div data-role="fieldcontain">
            <label for="email">Email:</label>
            <input type="email" name="email" id="email" value=""  />
          </div>
    Content </div>
        <div data-role="footer">
            <h4>Page Footer</h4>
        </div>
    </div>
    <script type="text/javascript">
    $(function() {
        $( "#Accordion1" ).accordion();
    </script>
    </body>
    </html>
    This is how it looks in device:
    This is how it looks in the mobile devices:
    Could anyone please help?

    Try defining a site and then create the mobile themed page within that site and DW will copy all the assets relative to the site path and will not be as its in your current page.
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.theme-1.0.min.css" rel="stylesheet" type="text/css"/>
    <link href="file:///Macintosh%20HD/Applications/Adobe%20Dreamweaver%20CC/Configuration/Third%20Party%20Source%20Code/jquery-mobile/jquery.mobile.structure-1.0.min.css" rel="stylesheet" type="text/css"/>
    HTH
    --Bhawna

  • Phonegap Build just for suscribers?

    Hi!
    I'm testing DW CC 2014 and when I try to use Phonegap Build it takes me to the download page, where it said that is only for suscribers.
    I tryed to download it using the Creative Cloud, but nothing happened, neither error, nor message.
    Is anyhow to test it on CC 2014?
    Thanks.

    I know... but, it isn't avalaible for download...

  • DreamWeaver CS6 with PhoneGap Build  error on Android

    I was  building helloworld app on DreanWeaver CS6 via builtin PhoneGap
    all OS build fine accept Android
    Getting Application Error :  tmp/gimlet/workshop/assets/www/res/icon
    I canot find how or where this tmp directory is on my MAC or PhoneGap back end.????
    Any suggestions?
    thanks

    Are you seeing this error consistently? Can you please create a new site and try out again? Or you can login directly  to https://build.phonegap.com/ and check if the building is going fine?

  • Using local android-sdk and android-sdk-platform-tools with phonegap

    Hello,
    I've installed android-sdk, android-sdk-platform-tools and android-sdk-build-tools packages from AUR and phonegap with npm command line utility of nodejs. When I try to build android app using the command:
    $ phonegap run android
    phonegap fails to detect locally installed android SDK environment and uses remote one:
    [phonegap] detecting Android SDK environment...
    [phonegap] using the remote environment
    I tried adding paths /opt/android-sdk/tools/, /opt/android-sdk/platform-tools/ and /opt/android-sdk/build-tools to $PATH variable but still, no luck. How can I make phonegap use the local android SDK environment?
    Last edited by th0th (2013-08-10 21:06:29)

    hi, you can try run `phonegap local run android`
    if you see "ant: command not found" error, please install 'apache-ant'
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                             8 ↵
    [phonegap] adding the Android platform...
       [error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android
    [phonegap] adding the Android platform...
       [error] An error occured during creation of android sub-project. /root/.cordova/lib/android/cordova/3.0.0/bin/create: line 104: ant: command not found
    An unexpected error occurred: ant jar > /dev/null exited with 127
    Deleting project...
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  yaourt -S apache-ant
                                                                                                                                           1 ↵
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                                                                                                  1 ↵
    [phonegap] adding the Android platform...
    [phonegap] compiling Android...
    [phonegap] successfully compiled Android app
    [phonegap] trying to install app onto device
    [phonegap] no device was found
    [phonegap] trying to install app onto emulator
    [phonegap] successfully installed onto emulator
    Last edited by vkill (2013-09-04 17:48:44)

  • PhoneGap Dreamweaver CS5.5 Android App Fail

    I am attempting the to create an Android app using Dreamweaver CS 5.5 and PhoneGap. The build always fails with the following message at the end of the error log:
    -dex:
         [echo] Converting compiled files and external libraries into C:\Users\ROG\Desktop\COMCOM~1.DEV\bin\classes.dex...
        [apply] Could not create the Java virtual machine.
        [apply] Error occurred during initialization of VM
        [apply] Could not reserve enough space for object heap
    BUILD FAILED
    F:\android-sdk\tools\ant\main_rules.xml:486: The following error occurred while executing this line:
    F:\android-sdk\tools\ant\main_rules.xml:203: apply returned: 1
    Total time: 2 seconds
    I was told by Adobe that this feature was not supported and that I needed to seek help here. I am running Windows 7 64 bit. I have the 64 bit version of 6.27 JDK installed and the latest Android SDK. I have successfullt created an app using PhoneGap directly through the command line. the Android SDK also doesn't like some of the config and build files created by Dw when I try to install the application files. It will still work, it just complains. I have also made sure that the emulator is up and running before running the build command in Dw.
    Any help would be appreciated.
    Thanks

    Today I follwed David Powers tutorial about creating an app by Phonegap from DW CS5_5.
    It is in the book: Studio Techniques. De iPhone app created worked as it should in the simulator. The Android version didn't show the map it should show in the emulator.
    Because creating the Android SDK by DW failed I installed it myself. Dw tried to install an linux version of Phonegap on my Mac. (Something the DW team should look after!). After installing and following David Powers instructions it worked as descripted above.
    It takes a little time to get used to the Android SDK and besides that it behaves terribly slow.
    I cannot help you any further but I want to let you what I experienced myself up to now.

  • PhoneGap Build Dreamweaver Extension not displaying correct build state

    Starting yesterday the PhoneGap Build Dreamweaver Extension doesn't display the correct build state for Android or Symbian after clicking "Rebuild Application".  They always show as Build Queued but if you look at the build.phonegap.com site they have completed the build.  I have tried loging out of the screen and logging back in.  I have tried closing out of Dreamweaver and reopening.  Both sections display correctly until the next time you hit "Rebuild Application".

    Ok.
    I backed up PGB and deleted the folder.
    I created a new empty site and submitted it to Build.  Once I reached the Key screen asking for your iOS, Android and Blackberry keys, I clicked continue and recieved the attached error.
    I then clicked ok and it added a index.html and config.xml to the empty site.  No matter how many times I clicked OK this error would not go away.  So then I closed out of dreamweaver and reopened submitted the build again this time I made it past the Key screen but it said I had exceeded the number of Build projects I am allowed.  A Project Settings file was never created for the new empty project.
    I will send the Project Settings file for the project I am having issues with and the original PGB and the new PGB.

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

    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:
    After clicking on "Easy Install..." button:
    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,

    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\scripts\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\adobe\meridien
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\src\com\adobe\meridien\Default Activity.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\drawable-hdpi
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-mdpi
    Created directory C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\res\drawable-ldpi
    Added file C:\Users\Craig\KC Media Clients\Apps\com.adobe.meridien_Android\com.adobe.meridien\AndroidManifest.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.cfg
    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.png
    [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.png
    [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.png
    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>

  • PhoneGap Build plugin always sets debugging which breaks Windows Phone XHR

    I've traced a problem with XMLHttpRequest on PhoneGap for Windows Phone 8 to the debug setting on PhoneGap Build (turning it on causes XHR to silently fail). Unfortunately, the PhoneGap Build component for Dreamweaver always turns debugging on. It appears to take no ntoice of the ProjectSettings file that is created in the project folder (I have set "debug":false with no effect) and turning debugging off on the build.phonegap.com site also has no effect on the next build initiated by Dreamweaver.
    The Dreamweaver PhoneGap component needs to be adjusted to take notice of the ProjectSettings for debug and to update these according to the actual settings on the web site. Alternatively, expose the debug setting in the PhoneGap build panel.
    I have had to abandon DreamWeaver for Windows Phone builds altogether.

    Perre wrote:I'm used to being able to pick one or a couple of songs and then adding it a specified playlist. Is this impossible in sonata?
    It's clearly not impossible, just different than you expect. Create your playlist as you want it to appear in the Current tab (meaning don't dump every single song from your library in there, just the ones you want) and then save the playlist.
    Perre wrote:And if I try to play the m3u file created (the one with every song listed) through freevo I get a message that the directory is empty. What am I doing wrong??
    Look at save_absolute_paths_in_playlists in your mpd.conf.

  • Disappearing build settings?

    I have just been messing around with trying to get the equivalent of "NDEBUG" working in xcode. I put NDEBUG on the preprocessor line in the build settings for the release target, and now my preprocessor settings don't even show up under build settings? I must have corrupted some file. How do I get this back?

    I would think that if the server is continually powered up, the ILOM settings would remain, regardless of the battery - as I expected the one in my cubicle to do. Perhaps not. I'll check that documentation you listed - thanks.
    Update: checking on the most recent system where this happened, on 25 JAN there was a PS0 fault, but on 10 FEB the ILOM was successfully accessed. No power outages in the logs since then and the ILOM was most recently accessed today when the ILOM settings were completely re-inputted because they were missing. The sensor for the battery (I assume) indicates good voltage unless there is some other battery that is not indicated in the sensor settings. So, the ILOM shows no power outages or faults since the last time the ILOM was accessed.
    Edited by: mdinaz-2 on Jul 3, 2012 12:19 PM

  • Phonegap integration. Building for Android device

    hey all,
    i'm trying to build an apk file for android device.
    Easy with Dreamweaver yes.
    Difficulty comes when you try to add some specific functionality : for instance you may want to post some stuff on the user 's facebook wall.
    PhoneGap provides a plugin for that : https://github.com/davejohnson/phonegap-plugin-facebook-connect
    But this plugin needs some addional stuff from the android SDK. It needs some java classes, namely the facebook android sdk : https://github.com/facebook/facebook-android-sdk
    Has anybody any hint on how we could include that stuff in dreamweaver installation?
    In my opinion we need to rebuild android.jar (not tried yet) but there may be another solution to tweak Dreamweaver. Or has anybody another solution to post on facebook/twitter from a native apk coming from a jquery/phonegap project under Dreamweaver?
    thanks in advance for reactions/advices/...
    Loic

    I did that on a mac :-)
    however it was a standard eclipse project. I had to include the correct JARS (facebook+phonegap) in the library path and everything was fine quite easily. I mean there was no additional SDK to install due to OSX.
    What I remember too is this: there is no facebook app installed on the emulator. It means when you run your app on it and try to connect to facebook through phonegap, the browser will open and ask for authentication. On your device, if the FB app is installed a nice popup will open and ask for authentication and authorization (or just confirmation if you are already authenticated).
    in conclusion there's no need to buy a mac for that. Be sure to check phonegap forum and post your problem. Phonegap releases have evolved a lot and they are quite responsive.
    Loic

  • How to add a splash screen in a DwCS6 PhoneGap for Android build?

    So I have the new Dw CS6 and want to see what great things DW can do in building Android Apps. So I follow the California Trails demo on Lynda.com. Build it in DreamWeaver, package it with Phonegap and it runs. However, there are some things I'm noticing that happen with this Phonegap that do not happen when I take the SAME files and place them in my Eclipse SDK and build the application under Eclipes.
    1) There is a 5 to 9 second delay where a black screen is displayed after the app is launched and when it actually displays the index.html. How do I stop this from happening?
    2) How do you add a splach screen? In Eclipes I would add the image to the drawables folders and modify my Activity.java file but we don't have these in DW.
    3) How do I get an external URL to display within my Phonegap App? In Eclipes I make the call to the URL while in a WebView but there isn't anything like that in Dw or Phonegap.
    4) How do I attach or reference my KeyStore file in these PhoneGap builds so I can put them on Google Play?
    Maybe I'm asking too much of Dw and PhoneGap? It this release not intended to create a fully functional app or is it just suppose create a Pseudo App that in reality is a HTML5 webpage made to look like an app? I'm not judging or being critical just trying to find out how or if this Dw feature can be interated in to my workflow.

    I assume that you want to show the splash page after every session is initiated after an authentication.
    Try this:
    Protect the app pages (/app1, /app2 etc) with the following authen scheme:
    Level:1
    Form:/login.html
    Action:/dummy1
    Passthrough:no
    In the authentication success of this one, have an action:
    Authentication success URL: /some_dummy_page.html
    Now, protect this url /some_dummy_page.html with the following:
    Level:2
    Form:/splash_page.html
    Action:/dummy2
    Passthrough:no
    When you access /app1 or /app2, then the first scheme will be invoked, login.html page will come. give your login and password, on successful authen, it will (try to) go to /some_dummy_page.html. but since this one is protected, it will show the splash_page.html. Click on ok, and it will POST to the /dummy2. Because the action in both the schemes are different, the obformlogin cookie will persist.
    You will need to have the action in the splash page to point to /dummy2.
    Hope this helps. Let us know.

Maybe you are looking for

  • Can I clone one Mac and restore to another?

    My wife has a 2005 17" CD MBP running Tiger which has seen better days and will probably soon give up the ghost. As a short term solution I was thinking of making a clone of the hard drive and restoring it onto a spare 2007 15" C2D MBP that we have.

  • How do I edit an email saved as a draft?

    I saved an email while I was on my iphone to do at a later time on the computer. I can see my saved email but I do not see how to edit it so that I can finish and send it.

  • Can you help with unstable iMac 27?

    I have a 3 year old iMac 27 with i7 processor. It has been gicing problems for some time. Spotlight was indexing on each restart etc. Finder was restarting a few times each minute. (Shown by flashing desktop apps) Then it refused to startup. It stall

  • Release notes?

    iTunes newbie wonders if Release Notes are posted anywhere, or whether I'm just supposed to take it on faith that it's worth downloading 58MB every other time I use the software. Aside to ManfromOz: they locked that topic, preventing me from saying "

  • Hang occurs when trying to export a file...

    While attempting to export a numbers file to Excel If I hesitate for more than a few seconds (while locating the proper location to save it to) the AutoSave takes over... the Progress pop up window appears... and I no longer have the ability to compl