erisu commented on issue #756: URL: https://github.com/apache/cordova-plugin-camera/issues/756#issuecomment-897503615
There is no issue with the recent commits. I can build successfully with the master branch of this plugin and Cordova-Android 10.x. I also can build with the third-party plugin you are mentioning. As I have said, the issue is that you are using most likely an older version of the Android platform which is not supported with the master branch of this plugin. When you try to use an unsupported version, the plugin will not be installed and lead to these imported errors. Your two options are: A. Upgrade your Platform ``` cordova platform rm android cordova platform add android@latest ``` This will install the latest Cordova-Android 10.0.1 platform which the master branch of this plugin will work for. B. Downgrade the Camera plugin ``` cordova plugin rm cordova-plugin-camera cordova plugin add [email protected] ``` Stop using the master branch of this plugin and use the last stable release which supports Cordova-Android <= 9.x. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
