Enumerate Devices Plugin Ionic android build error

Hi,

As we have setup the openvidu-call-ionic app but we are unable to build the android apk. As we are getting the "error: package android.support.annotation does not exist
import android.support.annotation.RequiresApi; "

We found the similar thread here ( Ionic android build error ). After removing the cordova-plugin-android-enumeratedevices build successfully but we are unable to get the media device (cam/mic ) .

Please let me know how we can implement this plugin to our openvidu-call-ionic app ?

Hi Sahil,

Before you run “Ionic Cordova run android” build the project with “Ionic Cordova build android”. I did not remove the plugin.

doing the same. But getting the same issue. I am using the MAC with NPM v12.16.1 … it can be the issue ?

I don’t think the problem lies in the NPM version. When I faced this issue I downloaded the project again from the GitHub and on running “ionic Cordova run android” I used to get same error but when I run “ionic Cordova build android” I didn’t get any error.

great. But my issue is same . event after downloading it 5-6 times :disappointed:

Okay, I will try with new project and I will let you if I get the working solution.

Thanks for you support . :innocent: