I am facing the following error when I try to compile the published app to install the apk on a device.
Error generating Test - Mobile (Android): There was an issue generating the app. Gradle now requires you to declare dependencies using "implementation" or "api" instead of "compile". The dependency being incorrectly declared is "com.github.tony19:logback-android:1.1.1-9". Check your plugin configurations and try again.
Thanks
Sathish R
Hello Satish,
What is the MABS version you are using to compile and generate the Build?
The current version of the plugin is prepare to be compiled in MABS 7.2. In a few weeks will be release a new version compatible with MABS 8.0.
If you are using MABS 8.0 to compile the build right now, please use MABS 7.2 until we release a new version.
Best Regards,
Bruno Domingues
Thanks It's working now
Hi @Bruno Domingues ,
I have a similar issue, which specifically occurs on Android alone.
Error: There was an issue generating the app. Gradle now requires you to declare dependencies using "implementation" or "api" instead of "compile". The dependency that is incorrectly declared is "{name=barcodescanner-release-2.1.5, ext=aar}". Please check your plugin configurations and try again.
My current MABS version is 9.0. How can I fix this issue? because MABS 7.2 is obsolete and 8.0 in deprecated state
Hi Soni
If you take a look at the error message, it mentions that it is related to a different plugin: "barcodescanner".
You should go into the source code of that plugin and make the changes mentioned in MABS release notes.
Have a look at this link: MABS Release Notes