[jbosstools-issues] [JBoss JIRA] (JBIDE-14544) Cannot run Cordova project on Android Emulator/Device
f317687428 f317687428 (JIRA)
issues at jboss.org
Fri Mar 6 03:25:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-14544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046888#comment-13046888 ]
f317687428 f317687428 commented on JBIDE-14544:
-----------------------------------------------
i face the almost same issue when i run the hello app on Android emulator, my environment is ADT 23.0.4, API 21, JBOSS 8.0.0.2, can anyone help to check the reason?
....
[aapt] Generating resource IDs...
[aapt] C:\Users\zongbo.fan\.cordova\lib\android\cordova\3.6.4\framework\bin\AndroidManifest.xml:22: error: No resource identifier found for attribute 'targetSdkVersion' in package 'android'
BUILD FAILED
C:\Projects\sdk24\tools\ant\build.xml:653: The following error occurred while executing this line:
C:\Projects\sdk24\tools\ant\build.xml:698: null returned: 1
btw, it works when i run the same app from command line
> 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
> Labels: respin-a
> Fix For: 4.1.1.Beta1
>
> 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 was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list