OpenCV Manager package was not found! Try to install it?
notheorem opened this issue · 6 comments
Thanks for the great work you've done.
And I met some problem with it :
After build & run app on device, "OpenCV Manager package was not found! Try to install it?" persists - even though I've installed "OpenCV Manager" from app store.
I think there's some mistake or I missed some thing?
Could you please give some advice ?
I'll follow this project in future, hope to make some thing with map data
yes you should install the opencv first
public static boolean initOpenCV(String Version, final Context AppContext,
final LoaderCallbackInterface Callback)
{
AsyncServiceHelper helper = new AsyncServiceHelper(Version, AppContext, Callback);
Intent intent = new Intent("org.opencv.engine.BIND");
intent.setPackage("org.opencv.engine");
if (AppContext.bindService(intent, helper.mServiceConnection, Context.BIND_AUTO_CREATE)) {
return true;
}
// if (AppContext.bindService(new Intent("org.opencv.engine.BIND"),
// helper.mServiceConnection, Context.BIND_AUTO_CREATE))
// {
// return true;
// }
for fixing the java.lang.IllegalArgumentException: Service Intent must be explicit: Intent
I've made a wrong package name
so is it working now?
Yes it works
@notheorem
What should be the package name?