- This topic has 2 replies, 3 voices, and was last updated 9 years, 9 months ago by support-swapna.
-
AuthorPosts
-
LofiParticipantI just tried to send an email with my phone. So I googled and found that there’s a general purpose PhoneGap plugin: WebIntent. Works only for Android, but so far so good.
Here’s the documentation:
https://github.com/acen99/WebIntent/tree/50849a413d9970c21bbb78c389df6651f9cfe858
and from there I got the plugin url:
https://github.com/acen99/WebIntent.git
So I installed the plugin. That seemed to work without problems.
But building the Project without adding any code resulted in:
“<project name> – android – error. detecting Android SDK environment… using the local environment compiling Android… An error occurred while building the android project.”
Which error are we talking about? Where do I find the log? A link to the log in the message would be helpful.
Thanks a lot for the help.
(using ME2015, creating phonegap mobile app)
edit: found this in metadata .log:
!MESSAGE detecting Android SDK environment... using the local environment adding the Android platform... compiling Android... An error occurred while building the android project. !STACK 0 com.genuitec.eclipse.mobile.common.cordova.CordovaException: detecting Android SDK environment... using the local environment adding the Android platform... compiling Android... An error occurred while building the android project. at com.genuitec.eclipse.mobile.common.cordova.AbstractCordovaCLI$CLICommand.run(AbstractCordovaCLI.java:247) at com.genuitec.eclipse.mobile.common.cordova.AbstractCordovaCLI.build(AbstractCordovaCLI.java:211) at com.genuitec.eclipse.mobile.phonegap.core.build.PhonegapLocalBuildJob.run(PhonegapLocalBuildJob.java:170) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
How can I fix this?
edit 2: i tried now the plugin from here:
https://github.com/katzer/cordova-plugin-email-composer
and it worked. So I guess the problem is with the plugin. But still “an error occurred” should be improved with details about the error.
Brian FernandesModeratorLofi,
Thanks for the report and thank you for the update with the workaround.
I agree that error reporting must be improved and we’ve filed a bug to see what we can do in this area.
Will keep you posted.
support-swapnaModeratorLofi,
The error reporting is now improved with our latest MyEclipse 2015 release. Go to Help > Check for Updates and update to the latest release.
You can also download the latest installer from here : https://www.genuitec.com/products/myeclipse/download/
Let us know if you see any issues.
-
AuthorPosts