Tag Archives: Edge computing

Execution failed for task ‘:app:processDebugMainManifest‘.> Manifest merger failed : Apps targeting

If the following error occurs:

Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

This following method can solve the problems above:

Add the following codes in app->manifests->AndroidManifest.xml:
android:exported="true"


Source:
java – Android Studio error: “Manifest merger failed: Apps targeting Android 12” – Stack Overflow

(-2:Unspecified error) could not find a writer for the specified extension in function‘cv::imwrite_

The following error occurred while running the imwrite function

error: (-2:Unspecified error) could not find a writer for the specified extension in function 'cv::imwrite_'

What’s the reason for this

cv.imwrite(**'skeleton',**skeleton)

No suffixes, JPG, PNG, etc… Change it to the following

cv.imwrite('skeleton.jpg',skeleton)