Had exactly the same problem. Solved it by doing the following: Searching for and replacing com.android.support:support-v4:+ with com.android.support:support-v4:27.1.0 in the platform/android directory.
Also I had to add the following code to the platforms/android/app/build.gradle and platforms/android/build.gradle files:
configurations.all { resolutionStrategy { force 'com.android.support:support-v4:27.1.0' }}
Edited to answer “Where is this com.android.support:support-v4:+ setting ?” …
The setting will probably(in this case) be in one of your plugin’s .gradle file in the platform/android/ directory, for example in my case it was the starter-barcodescanner plugin so just go through all your plugins .gradle files :
Double check the platforms/android/build.gradle file.
Hope this helps.
Related Posts:
- Error – Android resource linking failed (AAPT2 27.0.3 Daemon #0)
- Still getting warning : Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’
- Error:(1, 0) Plugin with id ‘com.android.application’ not found
- Android Studio: “Execution failed for task ‘:app:mergeDebugResources’” if project is created on drive C:
- Using gradle to find dependency tree
- How can I force gradle to redownload dependencies?
- How to recompile with -Xlint:deprecation
- Gradle does not find tools.jar
- Android Studio Run/Debug configuration error: Module not specified
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- com.android.ide.common.process.ProcessException: Failed to execute aapt! What can I do?
- Could not find com.android.tools.build:gradle:3.0.1
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Could not find com.android.tools.build:gradle:3.0.1
- Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat
- Copy existing project with a new name in Android Studio
- How to clear gradle cache?
- Gradle error: Write access is allowed from event dispatch thread only in Android Studio
- How to download dependencies in gradle
- ‘dependencies’ cannot be applied to ‘(groovy.lang.Closure)’
- How can my Gradle build initialize class org.codehaus.groovy.classgen.Verifier?
- Cannot resolve symbol ‘AppCompatActivity’
- Cannot resolve symbol ‘AppCompatActivity’
- “Gradle Version 2.10 is required.” Error
- How to determine the version of Gradle?
- How to use navigateUp to close the application
- “unable to locate adb” using Android Studio [duplicate]
- Install an apk file from command prompt?
- Error parsing data org.json.JSONException: Value
- My users get “net::err_name_not_resolved”
- Can’t create handler inside thread that has not called Looper.prepare()
- This adb server’s $ADB_VENDOR_KEYS is not set
- E: unable to locate package pip
- Exception : AAPT2 error: check logs for details
- android image button
- What causes signal ‘SIGILL’?
- adb server is out of date. killing
- Execution failed for task ‘:app:processDebugResources’ even with latest build tools
- Set adb vendor keys
- Android – setOnClickListener vs OnClickListener vs View.OnClickListener
- How to fix: Error device not found with ADB.exe
- Why is Android Studio reporting “URI is not registered”?
- Android Studio 3.2 – Could not find com.android.tools.build:aapt2:3.2.0-4818971
- Getting error “The package appears to be corrupt” while installing apk file
- Error inflating class fragment
- What is Dalvik and dalvik-cache?
- Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
- Web server failed to start. Port 8080 was already in use. Spring Boot microservice
- Android Studio : How to uninstall APK (or execute adb command) automatically before Run or Debug?
- This Activity already has an action bar supplied by the window decor?
- Android Studio – How Can I Make an AVD With ARM Instead of HAXM?
- Sending an Intent to browser to open specific URL
- Converting a string to an integer on Android
- g++ output: file not recognized: File format not recognized
- First run of Android Studio. Unable to access Android SDK add-on list
- Java syntax explanation – getMenuInflater()
- All com.android.support libraries must use the exact same version specification
- What’s “tools:context” in Android layout files?
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- How to Get JSON Array Within JSON Object?
- Android: adb: Permission Denied
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- ndroid 8: Cleartext HTTP traffic not permitted
- Running Node.Js on Android
- emulator: incompatible HAX module version 3 requirs minimum version 4
- How do you change text to bold in Android?
- Expiring Daemon because JVM heap space is exhausted
- Android ADB doesn’t see device
- How do I get the currently displayed fragment?
- Android check internet connection
- What exactly does fitsSystemWindows do?
- What can com.sec.android.app.launcher be used for?
- How to create custom button in Android using XML Styles
- Android SDK path not specified
- Failed to connect to camera service
- How to create a file in Android?
- How to remove an app with active device admin enabled on Android?
- Android: failed to convert @drawable/picture into a drawable
- Can I underline text in an Android layout?
- Getting a “no interface expected here” when I try to subclass ServiceConnection [duplicate]
- This Activity already has an action bar supplied by the window decor
- getResources().getColor() is deprecated
- What’s the console.log() of java?
- USB Debugging option greyed out
- Get JSON Data from URL Using Android?
- Re-enable “component tree” in Android Studio
- Singleton in Android
- Android getResources().getDrawable() deprecated API 22
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- What is android:ems attribute in Edit Text? [duplicate]
- Android scale animation on view
- set background color: Android
- Retrieve featured image
- How to show custom menu items in the WordPress android app?
- How can I give access to WordPress site using an Android application ?