when I add braintree extension to my codenameone project and send android build to codenameone I got build error with these error log:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'NLApplication'.
Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find com.android.support:cardview-v7:26.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
https://jcenter.bintray.com/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/cardview-v7-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/cardview-v7.jar
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/cardview-v7/26.0.0/cardview-v7-26.0.0.jar
Required by:
:NLApplication:unspecified > com.braintreepayments.api:drop-in:3.1.0
Could not find com.android.support:design:26.0.0.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/design/26.0.0/design-26.0.0.pom
https://jcenter.bintray.com/com/android/support/design/26.0.0/design-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/design-26.0.0.jar
file:/tmp/build2388050053529696565xxx/NLApplication/libs/design.jar
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/design/26.0.0/design-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/android/m2repository/com/android/support/design/26.0.0/design-26.0.0.jar
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/design/26.0.0/design-26.0.0.pom
file:/home/ec2-user/android-sdk/extras/google/m2repository/com/android/support/design/26.0.0/design-26.0.0.jar
Required by:
:NLApplication:unspecified > com.braintreepayments.api:drop-in:3.1.0 > com.braintreepayments:card-form:3.1.0
It seems that Braintree pushed out a 3.1 update with an odd new dependency that fails. I've restricted gradle to use 3.0 and will push out an updated cn1lib. This should appear as an update in your extension manager later today. However, if you have the cn1lib already installed you will need to first delete the build hint android.gradleDep then do a refresh cn1libs.
Related
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: MissingPluginException(No implementation found for method openEditor on channel video_editor_sdk)
My project in this error .
Use This Dependency : video_editor_sdk: ^2.6.0
Please fast This Error Solution .. StackOverflow Community
This plugin is only supported on Android or iOS. If you're testing on another platform it'll throw the MissingPluginException.
Always check PLATFORM in the package info on https://pub.dev. The image below is from video_editor_sdk package that says only Android or iOS are supported.
I've used zbarscanner lib in cn1 and it worked fine. I have recently updated the app and has the following bug that cause app crash. The error occured in nougat nokia 5 device. I checked the previous version of the app which works fine.
02-08 16:24:58.792 592-592/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.capitaleyenepal.lenovo, PID: 592
java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.capitaleyenepal.lenovo-2/lib/arm/libiconv.so: has text relocations
at java.lang.Runtime.loadLibrary0(Runtime.java:989)
at java.lang.System.loadLibrary(System.java:1562)
at com.dm.zbar.android.scanner.ZBarScannerActivity.<clinit>(ZBarScannerActivity.java:28)
at java.lang.Class.newInstance(Native Method)
at android.app.Instrumentation.newActivity(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2558)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2727)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1478)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
This seems to be a problem with recent updates of Android and the little monkey QR code scanner. The solution is to get a newly compiled version of the library that fixes that issue and integrate it into the cn1lib. I think you should open an issue on that project.
I know it's a late reply but as I have come to the same issue I am posting confirmation that the issue can be solved.
In summary, for me using the ZBar library through QRScanner from the QRScanner.cn1lib library was working fine and then stopped working, with the same error that I could see from the android logs as fatal level error (libiconv.so: has text relocations).
The following has been done (I am using the latest vs of CodenameOne):
Remove build hint android.xapplication (containing the ZBarScannerActivity)
Remove cn1-codescan.cn1lib and QRScanner.cn1lib, refresh project lib (not entirely sure that this was necessary, but anyway the stubs file was newer on the repos)
Download latest cn1-codescan.cn1lib and QRScanner.cn1lib, refresh project lib
Download .so compiled files from the above link
Manual copy each couple of files into the respective architecture
folders, within the ZBarScannerLibrary.aar
Codenameone build for android
It is now working again.
Thanks Shai for your advice by email re. the build hint.
I installed the dotnetnuke Blog module and am getting an error when I try to manage it:
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Unknown server tag 'dnn:DNNGrid'.
---> System.Web.HttpParseException: Unknown server tag 'dnn:DNNGrid'.
I looked on their site but couldn't find much of anything.
You likely need to upgraded to the latest DNN8 specific release of the Blog module.
https://github.com/DNN-Connect/DNN-Blog/releases
https://github.com/DNN-Connect/DNN-Blog/releases/tag/06.03.00
DNN8 had breaking changes, that required some modules to be recompiled.
When I try to run my app on the emulator in Smartface App Studio, I get an error. It so interesting, i tried something to fix it and googled to find a solution lots of times. But i got nothing.
Checking Android SDK Configuration.Searching for Devices...Device found: Faea HY509SGenerating Exporting Packages for Android profile:"Default"Pages, JavaScripts files are preparingProject resources are preparingDatasets are preparingInstallation packages are creatingInstalling Emulator...Application could not install toError Message : pkg: /sdcard/SmartfaceEmulator.apkFailure [INSTALLFAILEDCONTAINER_ERROR]
Same issue again? Please refer to Troubleshooting document!Sorry, an error occured during launching! Please try to launch from your device.
The problem is about Manifest configuration.
I guess you changed some part of it.
There is a manifest entry like android:installLocation
it should be auto like;
android:installLocation="auto"
Smartface.io Team
I just installed GXT SDK 2.6 and created a new google web project.
added the following jars to the lib folder and to the build path
gxt-3.1.1.jar
gxt-theme-neptune.jar
but when i run my page on the browser i get the following error pls help.
[ERROR] [ia] - Errors in 'jar:file:/C:/Anant%20Choubey/Eclipse%20Workspace/GXT%20-%20IA%20-%2003Oct2014/IA/lib/gxt-theme-neptune.jar!/com/sencha/gxt/theme/neptune/client/base/Css3ThemeAppearance.java'
[ERROR] [ia] - Line 58: The method moreIcon() of type Css3ThemeAppearance must override or implement a supertype method
I have made no other changes elsewhere.
I think you have old version of theme plugin. Download new gxt-theme-neptune.jar-3.1.1 and try again.
Download link of gxt-theme-neptune.jar-3.1.1...