Skip to content
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

Plugin doesn't install correctly #354

Closed
rafaelmb opened this issue Nov 23, 2018 · 2 comments
Closed

Plugin doesn't install correctly #354

rafaelmb opened this issue Nov 23, 2018 · 2 comments

Comments

@rafaelmb
Copy link

Hi, when I try to install the plugin I got no error messages but the plugin doesn't work on android. Debugging my app I got this error messages (on logcat):
11-23 11:24:03.776 6694-6770/com.example.hello W/System.err: java.lang.ClassNotFoundException: org.apache.cordova.inappbrowser.InAppBrowser
Searching around I can see that the plugin is downloaded but the .java files aren't going to \platforms\android\CordovaLib\src\org\apache\cordova folder (res images are going normal). So I've tried the same steps and the error happens on a clean cordova install. The environment is on a windows 10 machine:

cordova -v
8.1.2 (cordova-lib@8.1.1)
cordova platform ls
Installed platforms:
  android 7.1.3

Copying the 3 .java files to the folder and building again make the plugin work.

@janpio
Copy link
Member

janpio commented Nov 23, 2018

This is caused by the same bug as apache/cordova-android#574
Bugfix has been merged and we are working on a release, expect cordova-android 7.1.4 shortly.

@rafaelmb
Copy link
Author

Thank you.

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

No branches or pull requests

2 participants