88
Views
4
Comments
Solved
[Significant Change Location Plugin] Background Location
Question
significant-change-location-plugin
Mobile icon
Forge asset by Bruno Domingues
Application Type
Mobile

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

2018-08-02 14-20-10
Bruno Domingues
Solution

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

UserImage.jpg
Sathish Kumar R

Thanks It's working now

2021-12-02 20-49-40
Soni

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


2021-10-06 17-41-40
André Rodrigues

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.