[jbosstools-issues] [JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Tue Jun 4 03:46:55 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779066#comment-12779066 ] 

Vlado Pakan edited comment on JBIDE-14544 at 6/4/13 3:44 AM:
-------------------------------------------------------------

On MS Widnows 7 32 bit this error dialog is displayed.

!runasandroidemulatorwin7_32.png!

Tested with latest Aerogear plugin version installed from staging site mentioned in Gorkem comment.

No error messages in error log appeared after project was run on Android emulator.

There is this error in error log after JBT with Mobile Hybrid project in workspace is started:

{noformat}
eclipse.buildId=4.3.0.I20130502-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86 -debug

Error
Tue Jun 04 07:44:13 PDT 2013
Failed to load properties file for project 'cordova'

Plugin: com.android.ide.eclipse.adt
{noformat}

I renamed file android.bat to android and then I got another message saying android is not proper win32 application
                
      was (Author: vpakan):
    On MS Widnows 7 32 bit this error dialog is displayed.

!runasandroidemulatorwin7_32.png!

Tested with latest Aerogear plugin version installed from staging site mentioned in Gorkem comment.

No error messages in error log.
                  
> Cannot run Cordova project on Android Emulator/Device
> -----------------------------------------------------
>
>                 Key: JBIDE-14544
>                 URL: https://issues.jboss.org/browse/JBIDE-14544
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: aerogear-hybrid
>    Affects Versions: 4.1.0.Beta1
>         Environment: Fedora 17 32bit
> Android 4.1.2
>            Reporter: Stefan Bunciak
>            Assignee: Gorkem Ercan
>            Priority: Blocker
>              Labels: respin-a
>             Fix For: 4.1.0.Beta2
>
>         Attachments: runasandroidemulatorwin7_32.png, Screen Shot 2013-06-03 at 10.50.52 AM.png
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> {code}
> java.io.IOException: No such file or directory
> 	at java.io.UnixFileSystem.createFileExclusively(Native Method)
> 	at java.io.File.createNewFile(File.java:883)
> 	at org.jboss.tools.aerogear.hybrid.core.util.FileUtils.fileCopy(FileUtils.java:105)
> 	at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidProjectGenerator.generateNativeFiles(AndroidProjectGenerator.java:99)
> 	at org.jboss.tools.aerogear.hybrid.core.platform.AbstractPlatformProjectGenerator.generateNow(AbstractPlatformProjectGenerator.java:68)
> 	at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidLaunchDelegate.buildForLaunch(AndroidLaunchDelegate.java:68)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:706)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
> 	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list