One of the biggest problems with linking to anything on the web is when the address of that file changes. Sadly, this happened recently with a file that was used by Dreamweaver CS5.5 to install the Android SDK via the Easy Install button on the Configure Application Framework dialog (Site > Mobile Applications > Configure Application Framework).
The Dreamweaver team has released instructions which you can find here: http://kb2.adobe.com/cps/904/cpsid_90408.html
Basically, you’ll need to replace the NativeAppCommon.js file located at [Dreamweaver Install Location]/Configuration/NativeAppFramework/. The entire process takes less than a minute to complete.
If you have already installed the Android Framework, you don’t “have” to do this, however you might want to go ahead and grab the updated file just in case you ever want to reinstall the framework with Dreamweaver’s Easy Install.
May 22nd, 2011 at 2:59 pm
this solution doesnt work, any directly setup Android SDK and get correct result? Certainly doesnt work…
May 22nd, 2011 at 11:08 pm
This is a major problem with Android and must be of great concern.
May 23rd, 2011 at 12:55 am
Sorry to hear it is not working for you — I followed the instructions myself (deleted my original SDK install, replaced the Javascript file, made a new folder for the SDK, let Dreamweaver download and install). Everything worked perfectly.
May 23rd, 2011 at 12:56 am
I think it is more a comment on “cloud computing”. Anytime something is stored on someone else’s computer, there is a potential for them to move it.
May 25th, 2011 at 1:11 pm
Greg, GREAT THANKS! Your Html 5 speech at Moskow today is very exctitng!!! I’m happy, especially to hold your bussines card in my hand! Thanks a lot one more!
Excuse I wrire here, there is no other place :)
May 27th, 2011 at 2:30 am
Oh! How many mistakes…
May 27th, 2011 at 2:59 pm
Now it download the Android SDK till 99% and later give me a popup box saying: The Android SDK was not downloaded because there was no internet connection. Please connect to the internet and try again.”
My PC is connect to the internet 24/7 and there was active internet at the moment dw was trying to download the file like it did get 99% of it :(
May 27th, 2011 at 3:57 pm
turn out it was just the firewall blocking it :(
September 2nd, 2011 at 7:06 am
change in NativeAppCommon.js
var g_androidSDKSourceURL_Win = “http://dl.google.com/android/android-sdk_r08-windows.zip”;
with
var g_androidSDKSourceURL_Win = “http://dl.google.com/android/android-sdk_r12-windows.zip”;
October 2nd, 2011 at 1:25 pm
I was getting a build.xml error when trying to build an android app in dreamweaver, and installing the Dreamweaver 11.5.1 update fixed it :-)
October 22nd, 2011 at 4:10 am
Sorry, I have maked the “Dreamweaver 11.5.1 update”
I ave changed the line in “NativeAppCommon.js”
but my DW not install the Android SDK,
Helpme please!!!
October 22nd, 2011 at 10:57 am
I have maked the “Dreamweaver 11.5.1 update”
but my DW not install the Android SDK,
Helpme please!
October 25th, 2011 at 8:46 am
I got same problem! I’ve installed the update, also I did like comment 09, and still not working. I have no clue whats happening.
October 27th, 2011 at 8:30 am
I have not had success either although I was at DW 11.5.1 with build 5344 on my MacBook Air. I had previously installed Android SDK 2.2 and 2.3 with the eclipse Android SDK and AVD manager. First attempt I just pointed to that build. It allowed me to configure application framework, and establish my application settings with preexisting build. However after building the app for the emulator for over an hour I assumed it hung.
I then tried to do the DW easy install but got the fatal error 90408. I made several attempts with no luck.
My next step was to upgrade to Android 4.0 thinking perhaps I was at too early of a release in my initial exercise. After a bit of work I got my eclipse environment built with Android 4.0. I then pointed my DW mobile site to the Android SDK folder, recreated my settings and then did the build and launch for Android. This seemed to be working fine with encouraging messages generated along the way (like downloading Andoid??), however I eventually got the following (looking at the buildLog.log file from ant):
Install file not specified.
‘ant install’ now requires the build target to be specified as well.
BUILD FAILED
/Users/kpschmidt/android-sdk-mac_x86/tools/ant/build.xml:1098: The following error occurred while executing this line:
/Users/kpschmidt/android-sdk-mac_x86/tools/ant/build.xml:1141: No message
I received this message occurs after ant successfully created the app and signed it
-package:
[apkbuilder] Creating dw_android_ios_phonegap-debug-unaligned.apk and signing it with a debug key…
so it seems to just be a step in the…
Installing app into Android emulator
The problem with these “easy installs” is that if something fails (like a link in the cloud changes) or an out of date ant build file, then you have no real way to debug the problem.
Any suggestions to try to get DW working with phoneGap. Until hitting this roadblock about 24 hours ago I was quite impressed with what Adobe has done with the framework…
October 30th, 2011 at 2:49 pm
Replace NativeAppCommon.js with what?
November 1st, 2011 at 10:17 am
[...] If you run into issues with the Android SDK, first make sure that you are using the latest Dreamweaver SDK following the instructions at http://blog.assortedgarbage.com/2011/05/resolving-android-sdk-failed-to-install-with-dreamweaver-cs5… [...]
November 1st, 2011 at 5:42 pm
I was able to work around the “‘ant install’ now requires the build target” by modifying the build.xml within the generated PhoneGap project, and adding logic to include the missing dependencies for a debug build. Details at the bottom of the post here: http://www.tricedesigns.com/2011/11/01/building-phonegap-applications-with-dreamweaver/
January 24th, 2012 at 8:31 pm
I’m gettin error im win xp with
log file
____________________
set ANT_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=C:\android-sdk-windows
set JAVA_HOME=C:\PROGRA~1\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\DOCUME~1\SUBRAM~1\Desktop\COMCOM~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_mobile” com.company.meridien_mobile 1.0 “C:\android-sdk-windows” 8
____________________
CaERROR: Clone failed
February 8th, 2012 at 1:35 am
I changed the platform number to the corresponding AVD level number in the NativeAppCommon.js file and it WORKED!!!!