Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

The plugin cannot be added to cordova-android@7+ #104

Open
ddewalle opened this issue Feb 27, 2018 · 3 comments
Open

The plugin cannot be added to cordova-android@7+ #104

ddewalle opened this issue Feb 27, 2018 · 3 comments
Labels

Comments

@ddewalle
Copy link

Hi,

Since Cordova Android 7.0.0, the Couchbase-Lite-PhoneGap-Plugin cannot be added anymore.

The explanation: https://cordova.apache.org/announcements/2017/12/04/cordova-android-7.0.0.html
--> "the locations of files have changed and have been brought in line to the structure used by Android Studio"...

So, trying to install the plugin on cordova-android@7+ will result in the following:

Failed to install 'com.couchbase.lite.phonegap': Error: Uh oh!
ENOENT: no such file or directory, open '<PROJECT_FOLDER>\platforms\android\AndroidManifest.xml'

Workaround (if we can call it that) :
remove your cordova-android@7+ and add the @6 ...

ionic cordova platform rm android
ionic cordova platform add android@6
@geraldapeoples
Copy link

Having this plugin usable with Cordova Android 7.0.0 will become quite important. Is there any plan to update it?

@AlphaCreativeDev
Copy link

Any idea on when this might be resolved?

@afousk
Copy link

afousk commented Apr 23, 2018

I'm not very familiar with the android build process, but would it be enough to increase the targetSdkVersion in the build-extras.gradle file?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants