Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PhoneGap Dreamweaver CS5.5 Android App Fail

Explorer ,
Aug 25, 2011 Aug 25, 2011

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

TOPICS
Server side applications
3.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 06, 2011 Sep 06, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2011 Oct 15, 2011

i used Cheat Engine 6.1 which is a video game 'tweak' program. But i find it speeds up the emulator so fast that i wished it was a actual device since its 90% sped up from a regular device start. i will post a vid or some pics if anyone wants to see. i guess i stumble on that one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 16, 2011 Oct 16, 2011

Sure, I am interested on how to use as an Android emulator.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 11, 2011 Nov 11, 2011
LATEST

try first of all to update phonegap to 1.0 with this guide and retry if you continue to get the error:

http://www.onyrix.com/2011/11/how-to-update-phonegap-in-adobe-dreamweaver-cs-5-5/

bye

d

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines