Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fail #19

Open
taufpate opened this issue Mar 17, 2019 · 4 comments
Open

build fail #19

taufpate opened this issue Mar 17, 2019 · 4 comments

Comments

@taufpate
Copy link

Doesn't build, see logs:

`
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
+-----------------------------------------------------------------
| cordova-android-support-gradle-release: 27.+
+-----------------------------------------------------------------
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_c6ebw0kvkzaz6tslj5w5mfm3f.run(/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/build.gradle:155)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:checkDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:prepareLintJar
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:platformAttrExtractor
:CordovaLib:processDebugManifest
:CordovaLib:javaPreCompileDebug
:CordovaLib:processDebugJavaRes NO-SOURCE
:app:preBuild UP-TO-DATE
:app:preDebugBuild
:app:compileDebugAidl
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileDebugRenderscript
:app:checkDebugManifest
:app:generateDebugBuildConfig
:app:prepareLintJar
:app:generateDebugResValues
:app:generateDebugResources
:app:processDebugGoogleServices
Parsing json file: /Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/google-services.json
:app:mergeDebugResources
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
:app:createDebugCompatibleScreenManifests
:app:processDebugManifest
:app:splitsDiscoveryTaskDebug
:app:processDebugResources
:app:generateDebugSources
:app:javaPreCompileDebug
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/CDVAndroidScanner.java:72: error: cannot access zza
Barcode barcode = data.getParcelableExtra(BarcodeCaptureActivity.BarcodeObject);
^
class file for com.google.android.gms.common.internal.safeparcel.zza not found
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/SecondaryActivity.java:108: error: incompatible types: inference variable T has incompatible upper bounds Barcode,Parcelable
Barcode barcode = data.getParcelableExtra(BarcodeCaptureActivity.BarcodeObject);
^
where T is a type-variable:
T extends Parcelable declared in method getParcelableExtra(String)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/SecondaryActivity.java:109: error: no suitable method found for putExtra(String,Barcode)
d.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/BarcodeCaptureActivity.java:516: error: no suitable method found for putExtra(String,Barcode)
data.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/BarcodeCaptureActivity.java:523: error: no suitable method found for putExtra(String,Barcode)
data.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 8s
28 actionable tasks: 28 executed
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/CDVAndroidScanner.java:72: error: cannot access zza
Barcode barcode = data.getParcelableExtra(BarcodeCaptureActivity.BarcodeObject);
^
class file for com.google.android.gms.common.internal.safeparcel.zza not found
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/SecondaryActivity.java:108: error: incompatible types: inference variable T has incompatible upper bounds Barcode,Parcelable
Barcode barcode = data.getParcelableExtra(BarcodeCaptureActivity.BarcodeObject);
^
where T is a type-variable:
T extends Parcelable declared in method getParcelableExtra(String)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/SecondaryActivity.java:109: error: no suitable method found for putExtra(String,Barcode)
d.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/BarcodeCaptureActivity.java:516: error: no suitable method found for putExtra(String,Barcode)
data.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
/Users/taufpate/Dropbox/Desarrollos/AFS/appVMS/platforms/android/app/src/main/java/com/dealrinc/gmvScanner/BarcodeCaptureActivity.java:523: error: no suitable method found for putExtra(String,Barcode)
data.putExtra(BarcodeObject, barcode);
^
method Intent.putExtra(String,boolean) is not applicable
(argument mismatch; Barcode cannot be converted to boolean)
method Intent.putExtra(String,byte) is not applicable
(argument mismatch; Barcode cannot be converted to byte)
method Intent.putExtra(String,char) is not applicable
(argument mismatch; Barcode cannot be converted to char)
method Intent.putExtra(String,short) is not applicable
(argument mismatch; Barcode cannot be converted to short)
method Intent.putExtra(String,int) is not applicable
(argument mismatch; Barcode cannot be converted to int)
method Intent.putExtra(String,long) is not applicable
(argument mismatch; Barcode cannot be converted to long)
method Intent.putExtra(String,float) is not applicable
(argument mismatch; Barcode cannot be converted to float)
method Intent.putExtra(String,double) is not applicable
(argument mismatch; Barcode cannot be converted to double)
method Intent.putExtra(String,String) is not applicable
(argument mismatch; Barcode cannot be converted to String)
method Intent.putExtra(String,CharSequence) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence)
method Intent.putExtra(String,Parcelable) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable)
method Intent.putExtra(String,Parcelable[]) is not applicable
(argument mismatch; Barcode cannot be converted to Parcelable[])
method Intent.putExtra(String,Serializable) is not applicable
(argument mismatch; Barcode cannot be converted to Serializable)
method Intent.putExtra(String,boolean[]) is not applicable
(argument mismatch; Barcode cannot be converted to boolean[])
method Intent.putExtra(String,byte[]) is not applicable
(argument mismatch; Barcode cannot be converted to byte[])
method Intent.putExtra(String,short[]) is not applicable
(argument mismatch; Barcode cannot be converted to short[])
method Intent.putExtra(String,char[]) is not applicable
(argument mismatch; Barcode cannot be converted to char[])
method Intent.putExtra(String,int[]) is not applicable
(argument mismatch; Barcode cannot be converted to int[])
method Intent.putExtra(String,long[]) is not applicable
(argument mismatch; Barcode cannot be converted to long[])
method Intent.putExtra(String,float[]) is not applicable
(argument mismatch; Barcode cannot be converted to float[])
method Intent.putExtra(String,double[]) is not applicable
(argument mismatch; Barcode cannot be converted to double[])
method Intent.putExtra(String,String[]) is not applicable
(argument mismatch; Barcode cannot be converted to String[])
method Intent.putExtra(String,CharSequence[]) is not applicable
(argument mismatch; Barcode cannot be converted to CharSequence[])
method Intent.putExtra(String,Bundle) is not applicable
(argument mismatch; Barcode cannot be converted to Bundle)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 8s
[ERROR] An error occurred while running subprocess cordova.

    cordova build android exited with exit code 1.
    
    Re-running this command with the --verbose flag may provide more information.`
@grahn195
Copy link

grahn195 commented Apr 4, 2019

can someone please fix that?
I have the same problem :-(

@mdcyou
Copy link

mdcyou commented May 21, 2019

Same problem.
vs:toolsetVersion7.1.0</vs:toolsetVersion>

@danzero
Copy link

danzero commented Oct 3, 2019

Hi, I'm having this same problem. Has anyone found a solution or workaround? I seem to have no issues building the sample.

@itconsulting-live
Copy link

itconsulting-live commented Feb 18, 2020

RESOLVED.
Step 1. Remove plugin from your project.
Step 2. Download original plugin to your computer and edit plugin.xml file:
Replace this:
framework src="com.google.android.gms:play-services-vision:11.0.1"
with this:
framework src="com.google.android.gms:play-services-vision:17.0.2"

Step 3. Add fixed plugin back to your project:
cordova plugin add /your/local/path/cordova-gmv-barcode-scanner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants