Closed BeMontelli closed 5 years ago
@BeMontelli
Hello,
I tried this command: export ORG_GRADLE_PROJECT_cdvCompileSdkVersion=android-26
, on an other system the build succeed but on mine a new error appeared:
/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/prod-purmo/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:79:35-72: AAPT: No resource found that matches the given name (at 'resource' with value '@xml/localnotification_provider_paths').
/prod-purmo/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:77: error: Error: No resource found that matches the given name (at 'resource' with value '@xml/localnotification_provider_paths').
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Same problem in docker
Hi,
I solved this problem by updating my current SdkVersion
Here is the line: export ORG_GRADLE_PROJECT_cdvCompileSdkVersion=android-26
My
cordova build android
always fail if an error maybe linked to my Android SDK Version This issue is the continuation of this issue: #1527Your Environment
Expected Behavior
I would understand why my plugin doesn't work. The plugin build should succeed and my IOS build should display notifications
Actual Behavior
An error occures while i build my android App, and on IOS nothing is triggered with my build XCode
Steps to Reproduce
Reproduce this issue; include code to reproduce, if relevant
Context
SDK Platforms installed: Android : 8.0 Android :7.1.1 Android : 7.0
SDK Tools: Android SDK Platform - Tools : 27.0.1 Android SDK Tools : 26.1.1
How can i know which version is used by Cordova ?
My code:
(onDeviceReady)
Debug logs
Thanks for your help