我遇到了这个奇怪的问题,无法弄明白。在配置时我将Android SDK路径设置为:C:\ Program Files(x86)\ Android \ android-sdk(这是安装android-sdk的地方)并保存它。 在Select Target OS版本中:当我单击Manage AVDs时,Android下拉列表为空!(我有三个AVD,它适用于Eclipse ok,Android 2.2 API 8,Android 2.3.3 API 10和Android 4.4.2 API 19) Dream Weaver没有任何反应。虽然它们在那里,但没有显示AVD。我哪里错了?请帮我解决这个问题。
答案 0 :(得分:0)
解决了这个问题。将android-sdk移动到C:\ Android \ android-sdk所有Avds正常加载。
现在,当我尝试构建应用程序时,它不构建,而是获得此构建日志;
<DW>
____________________
set ANT_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\apache-ant
set ANDROID_HOME=C:\Android\android-sdk
set JAVA_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Android\android-sdk\platform-tools
C:\Android\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:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\apache-ant
set ANDROID_HOME=C:\Android\android-sdk
set JAVA_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Android\android-sdk\tools
C:\Windows\SysWOW64\cmd.exe /u /c "C:\Android\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay 0 -no-boot-anim -avd Froyo"
____________________
</DW>
Cloning seed app for Android
<DW>
____________________
set ANT_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\apache-ant
set ANDROID_HOME=C:\Android\android-sdk
set JAVA_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\Ranjan\Desktop\com.rmworks.pension_calculator_Android
C:\Windows\SysWOW64\cmd.exe /u /c C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\DWPhoneGap\android\scripts\droidGap.bat "C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\DWPhoneGap\android\PhoneGapApp" "Pension Calculator" com.rmworks.pension_calculator 1.0 "C:\Android\android-sdk" 15
____________________
</DW>
'
<DW>
____________________
ERROR: console error
context: Dreamweaver.exe::GetExitCodeProcess
code: 1
message: Incorrect function.
____________________
</DW>
ERROR: Clone failed
OPERATION CANCELED
<DW>
____________________
set ANT_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\Configuration\NativeAppFramework\apache-ant
set ANDROID_HOME=C:\Android\android-sdk
set JAVA_HOME=C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Android\android-sdk\platform-tools
C:\Android\android-sdk\platform-tools\adb.exe kill-server
____________________
</DW>
* server not running *
<DW>
____________________
ERROR: console error
context: Dreamweaver.exe::GetExitCodeProcess
code: 1
message: Incorrect function.`enter code here`
____________________
</DW>
我是新手,我无法发现什么是错的。请帮忙。
答案 1 :(得分:0)
Dreamweaver被病毒破坏了。不得不卸载并重新安装它。问题解决了。