Based on this Example
Barcodereader
i am using the same technique in my app and recently i get an error in my app.
I get the same error when i try to run the Example from the thread above:
I am using the new SDK commandlinetools and new resources together with B4A 12 beta#2
Do i need to reconfigure something?
Barcodereader
i am using the same technique in my app and recently i get an error in my app.
I get the same error when i try to run the Example from the thread above:
Logger connected to: ZY227S83DD
--------- beginning of system
--------- beginning of crash
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
b4xmainpage_createdetector (java line: 198)
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:132)
at b4a.example.b4xmainpage._createdetector(b4xmainpage.java:198)
at b4a.example.b4xmainpage._b4xpage_created(b4xmainpage.java:57)
at b4a.example.b4xmainpage.callSub(b4xmainpage.java:375)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1068)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:1039)
at b4a.example.b4xpagesmanager._createpageifneeded(b4xpagesmanager.java:529)
at b4a.example.b4xpagesmanager._showpage(b4xpagesmanager.java:866)
at b4a.example.b4xpagesmanager._addpage(b4xpagesmanager.java:200)
at b4a.example.b4xpagesmanager._addpageandcreate(b4xpagesmanager.java:207)
at b4a.example.b4xpagesmanager._initialize(b4xpagesmanager.java:717)
at b4a.example.main._activity_create(main.java:366)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at b4a.example.main.afterFirstLayout(main.java:105)
at b4a.example.main.access$000(main.java:17)
at b4a.example.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: com.google.android.gms.common.GooglePlayServicesMissingManifestValueException: A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the <application> element: <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
at com.google.android.gms.common.GooglePlayServicesUtilLight.isGooglePlayServicesAvailable(com.google.android.gmslay-services-basement@@18.1.0:8)
at com.google.android.gms.common.GoogleApiAvailabilityLight.isGooglePlayServicesAvailable(com.google.android.gmslay-services-basement@@18.1.0:2)
at com.google.android.gms.dynamite.DynamiteModule.zzf(com.google.android.gmslay-services-basement@@18.1.0:6)
at com.google.android.gms.dynamite.DynamiteModule.zza(com.google.android.gmslay-services-basement@@18.1.0:8)
at com.google.android.gms.dynamite.zze.zzb(com.google.android.gmslay-services-basement@@18.1.0:1)
at com.google.android.gms.dynamite.zzk.selectModule(com.google.android.gmslay-services-basement@@18.1.0:2)
at com.google.android.gms.dynamite.DynamiteModule.load(com.google.android.gmslay-services-basement@@18.1.0:5)
at com.google.android.gms.internal.vision.zzt.zzd(com.google.android.gmslay-services-vision-common@@19.1.3:24)
at com.google.android.gms.internal.vision.zzm.<init>(com.google.android.gmslay-services-vision@@20.1.3:3)
at com.google.android.gms.vision.barcode.BarcodeDetector$Builder.build(com.google.android.gmslay-services-vision@@20.1.3:7)
... 25 more
I am using the new SDK commandlinetools and new resources together with B4A 12 beta#2
Do i need to reconfigure something?