-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meteor build android: "No Java files found which extend CordovaActivity." #7375
Comments
I will leave this open for the time-being. It seems to be a common bug outside of Meteor though, so I'm not sure if it's directly Meteor related or if it's Cordova related. Any input from those more familiar with the issue would be greatly appreciated. |
@abernix my package
I have spent around 20h o track this down and it seems that my first assumptions that this is related to two different version of https://github.com/wojtkowiak/meteor-desktop/blob/v0.2.3/plugins/bundler/bundler.js#L299 Unfortunately in my case I ended with a workaround, because I could not afford two other options which would be: not use |
There have been many new Meteor releases (including cordova and other related mobile dependency updates) since this issue was created. Please try things out with Meteor 1.6 and post back if this issue is still happening. Thanks! |
This issue has not disappeared ...I still get the issue and only way to remove it is by clearing cordova-build. it always fails with
|
I'm having the same issue with When I check the file : After inspecting the logs, one line seems weird to me, and may point to the cause : Note: When the build starts, the file |
I tracked down to I put a return before these lines : return;
var destFile = path.join(locations.root, 'src', androidPkgName.replace(/\./g, '/'), path.basename(java_files[0]));
shell.mkdir('-p', path.dirname(destFile));
shell.sed(/package [\w\.]*;/, 'package ' + androidPkgName + ';', java_files[0]).to(destFile);
events.emit('verbose', 'Wrote out Android package name "' + androidPkgName + '" to ' + destFile); And the build passed ... Edit : shell.sed(/package [\w\.]*;/, 'package ' + androidPkgName + ';', java_files[0]).to(destFile); |
#7145 Meteor build android: "No Java files found which extend CordovaActivity."
This was was closed as there was a work around. It is not critical issue but would be nice to have a fix. I wanted to reopen this as it is still occurring. I hope I have some pointer for recreating the issue.
Android build fails sometimes while building on both Mac or Linux. The problem has surfaced after moving to 1.3. I have now moved to Meteor 1.3.4.1 but it has not gone.
I have observed the following:-
.meteor/local/cordova-build
and rerun the build process.This is irritating as build process takes time. This error has started with moving to Meteor 1.3 ( even moving to Meteor 1.3.4.1 did not remove this error).
my error dump is shown below.
I do not have a solution just a work around. Any fix or suggestion would be great.
The text was updated successfully, but these errors were encountered: