Closed cunneen closed 8 years ago
For anyone else who encounters this issue: the following seems to be a workaround:
meteor remove-platform android; meteor add-platform android
;No crash, and push notifications resumed functioning. HTH.
It's an incompatibility between Google Plan Services and the Support Library they released in Android N. Figuring out a way around it.
I'm also having this problem but I don't have another machine with a less up-to-date SDK... Any other ideas on how to make this work again.
Try rc.5 - ive updated the cordova plugin again
Hello,
I just updated to rc-5 and now this error is appearing. Hope this can help to find the issue.
This happens when i run meteor build
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/Users/pmogollon/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/Users/pmogollon/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/Users/pmogollon/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/Users/pmogollon/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:va app for Android -
:android:unspecified > com.android.support:support-v13:23.3.0
> Could not find com.android.support:support-v4:23.4.0.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
https://repo1.maven.org/maven2/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/Users/pmogollon/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/Users/pmogollon/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
file:/Users/pmogollon/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.pom
file:/Users/pmogollon/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/23.4.0/support-v4-23.4.0.aar
Required by:
:android:unspecified > com.google.android.gms:play-services-gcm:8.4.0 > com.google.android.gms:play-services-base:8.4.0 > com.google.android.gms:play-services-basement:8.4.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.507 secs
=> Errors executing Cordova commands:
While building Cordova app for platform Android:
Error code 1 for command: /Applications/MAMP/htdocs/paisano/paisano-app/.meteor/local/cordova-build/platforms/android/gradlew with args:
cdvBuildDebug,-b,/Applications/MAMP/htdocs/paisano/paisano-app/.meteor/local/cordova-build/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
EDIT: I can confirm that everything work as it should on iOS, sound works without any modifications, all works nicely.
Thanks for this great package.
I updated my android SDK to the latest, and updated to rc.5, and it all seems to work well.
Thanks again for your work on this!
Running with command:
With the very latest android SDKs:
, I get the following stacktrace:
There look to be a couple of related issues on stackoverflow: