Dreamweaver Phonegap Android 模拟问题

发布于 2024-12-06 20:42:23 字数 3962 浏览 1 评论 0原文

我在使用 Jquery Mobile(phonegap) 模板使用 Dreamweaver 模拟器时遇到问题。具体来说,模拟器启动,但应用程序未加载,并且该应用程序也没有应用程序图标。当我构建并模拟消息“Dreamweaver 无法打开 Tour Finder,请查阅构建日志。我安装了 dreamweaver 5.5 和更新。我还安装了最新的 android sdk 和 sdk 工具。我能够模拟应用程序通过 eclipse 任何帮助都是值得赞赏的。

<DW>
____________________
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd D:\ANDROI~1\PLATFO~2
D:\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~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd D:\ANDROI~1\tools
C:\Windows\SysWOW64\cmd.exe /u /c "D:\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay     0 -no-boot-anim -avd Android_2.3.3_API_10_WVGA_480x800"
____________________
</DW>
WARNING: no splash screen was specified in app settings. using default.

<DW>
____________________
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\David\Desktop\COMEXP~1.TOU
C:\Windows\SysWOW64\cmd.exe /u /c C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
____________________
</DW>
Buildfile: C:\Users\David\Desktop\COMEXP~1.TOU\build.xml

[setup] Android SDK Tools Revision 13

[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...



-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] D:\android-sdk\tools\ant\main_rules.xml:385: warning: 'includeantruntime' was not set,    defaulting to build.sysclasspath=last; set to false for repeatable builds

[javac] Compiling 1 source file to C:\Users\David\Desktop\COMEXP~1.TOU\bin\classes



-post-compile:



-obfuscate:



-dex:

 [echo] Converting compiled files and external libraries into C:\Users\David\Desktop\COMEXP~1.TOU    \bin\classes.dex...



-package-resources:

 [echo] Packaging resources

 [aapt] Creating full resource package...

[aapt.exe] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.



-package-debug-sign:

[apkbuilder] Creating tour_finder-debug-unaligned.apk and signing it with a debug key...



debug:

 [echo] Running zip align on final apk...

 [echo] Debug Package: C:\Users\David\Desktop\COMEXP~1.TOU\bin\tour_finder-debug.apk



BUILD SUCCESSFUL

Total time: 13 seconds


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

Waiting for Android emulator to bootERROR: failed to launch Android emulator

I'm having problems using the emulator for dreamweaver using the Jquery Mobile(phonegap) template. Specifically the emulator starts but the app doesn't load and there is no app icon for the app either. When i build and emulate the message "Dreamweaver is unable to open Tour Finder, please consult the build log. I have dreamweaver 5.5 and updates installed. I have the up to date android sdk and sdk tools installed also. I am able to emulate apps through eclipse. Any help is appreciated. Here is the build log:

<DW>
____________________
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd D:\ANDROI~1\PLATFO~2
D:\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~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd D:\ANDROI~1\tools
C:\Windows\SysWOW64\cmd.exe /u /c "D:\android-sdk\tools\emulator.exe -partition-size 1024 -cpu-delay     0 -no-boot-anim -avd Android_2.3.3_API_10_WVGA_480x800"
____________________
</DW>
WARNING: no splash screen was specified in app settings. using default.

<DW>
____________________
set ANT_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1
set ANDROID_HOME=D:\android-sdk
set JAVA_HOME=C:\PROGRA~2\Adobe\ADOBED~2.5\JDK
set PATH=%JAVA_HOME%\bin;%PATH%
cd C:\Users\David\Desktop\COMEXP~1.TOU
C:\Windows\SysWOW64\cmd.exe /u /c C:\PROGRA~2\Adobe\ADOBED~2.5\CONFIG~1\NATIVE~1\APACHE~1\bin\ant.bat debug
____________________
</DW>
Buildfile: C:\Users\David\Desktop\COMEXP~1.TOU\build.xml

[setup] Android SDK Tools Revision 13

[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...



-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] D:\android-sdk\tools\ant\main_rules.xml:385: warning: 'includeantruntime' was not set,    defaulting to build.sysclasspath=last; set to false for repeatable builds

[javac] Compiling 1 source file to C:\Users\David\Desktop\COMEXP~1.TOU\bin\classes



-post-compile:



-obfuscate:



-dex:

 [echo] Converting compiled files and external libraries into C:\Users\David\Desktop\COMEXP~1.TOU    \bin\classes.dex...



-package-resources:

 [echo] Packaging resources

 [aapt] Creating full resource package...

[aapt.exe] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.



-package-debug-sign:

[apkbuilder] Creating tour_finder-debug-unaligned.apk and signing it with a debug key...



debug:

 [echo] Running zip align on final apk...

 [echo] Debug Package: C:\Users\David\Desktop\COMEXP~1.TOU\bin\tour_finder-debug.apk



BUILD SUCCESSFUL

Total time: 13 seconds


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

Waiting for Android emulator to bootERROR: failed to launch Android emulator

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

与风相奔跑 2024-12-13 20:42:23

我遇到了同样的问题。

我遇到了这个解决方案: http://forums.adobe.com/message/3997853它有效!但是,在 DW 中执行“构建和仿真”(或者只执行 2 次“构建和仿真”)之前,我必须让模拟器完全启动并运行。

I've came accross with the same problem.

I've runned into this solution: http://forums.adobe.com/message/3997853 and it works! However i have to have the emulator fully booted and running before i do "Build and Emulate" in DW (or just do 2x "Build and Emulate").

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文