-
Notifications
You must be signed in to change notification settings - Fork 404
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
junit framework not found #558
Comments
It looks like scope has changed from That means they are no longer available on the classpath. This plugin probably depends on JUnit transitively. |
I think this has been fixed in common package. Need to release new version. |
@mauron85 when you will be able to fix this with a new version? |
Have the same issue, do you have an ETA for this ? |
This one? No, it was fixed here: |
If I remember correctly this has been fixed in common module, which was just updated to latest version. |
Cool!! I will give a try, and will give you feedback! |
still present with android 8.0.0 |
Hum, did you resintall correctly your platforms ? |
Okay.. I just removed the android platform. I'll try reinstalling everything (removing node_modules and plugins). |
Yes I had the error with the ressources and fixed it with |
where exactly did you fix this? I just changed the name from ic_launcher to icon |
My current package.json looks like this : "cordova-plugin-mauron85-background-geolocation": {
"GOOGLE_PLAY_SERVICES_VERSION": "11+",
"ANDROID_SUPPORT_LIBRARY_VERSION": "26+",
"ICON": "@mipmap/ic_launcher",
"SMALL_ICON": "@mipmap/ic_launcher",
"ACCOUNT_NAME": "@string/app_name",
"ACCOUNT_LABEL": "@string/app_name",
"ACCOUNT_TYPE": "$PACKAGE_NAME.account",
"CONTENT_AUTHORITY": "$PACKAGE_NAME",
"ALWAYS_USAGE_DESCRIPTION": "",
"MOTION_USAGE_DESCRIPTION": ""
}, With the same values in config.xml. |
|
This issue is happening again with the Google Firebase updates from 17th June, forcing devices to update android platform to 8.0.0. If I update the plugin to v3.0.3, it doesn't work as expected, not fetching locations neither showing the notification in the notification bar or even logging errors or activities in the console. |
@pserna95 i have the same problem, any solution? |
No, it seems that cordova v8.0.0 does not work aproppiately with this plugin so I'm stucked here because I really need to update to that version of cordova (so that I can use Firebase plugin too that has this requirement) |
I'm currently facing the same issue. What's the cordova version that works? |
https://build.phonegap.com using given error for this plugin apk build error: how can i resolve this issue using phonegap 9 and using ionic 4 freamwork please help me |
I am facing the same issue of "package junit.framework does not exist"
I am using "cordova-plugin-mauron85-background-geolocation": "^3.0.0-alpha.50" version |
Hey guys, for anyone having this issue the fix is quite simple: jUnit is used for testing purposes, I don't know why the dependency is there. So what you have to do is open 26 - After that everything should be working as expected. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed, because it has not had recent activity. If you believe this issue shouldn't be closed, please reopen or write down a comment requesting issue reopening with explanation why you think it's important. Thank you for your contributions. |
Your Environment
cordova -v
): 8.1.2cordova platform ls
): Android 8.0.0Context
Expected Behavior
After calling
cordova android build
, the build process should be successfulActual Behavior
The error pops up when running
cordova android build
Steps to Reproduce
cordova build android
The text was updated successfully, but these errors were encountered: